BI Publisher Schedular:CSV output filename - attachment.out
Hi
is it possible to change the filename when bursting thru e-mail.
the file always shows up as attachment.out.
if it possible can you please tell me how it can be done.
Hi,
This is can be resolved by applying "patch-9026236"
Thank you.
Similar Messages
-
Csv output filename &item.
hello,
i have a report and enabled csv output.the filename-help say:Specify a name for the export file. If no name is specified, the region name is used followed by the extension .csv.
ok,filename is not specified,and my region-name is
Kundenrechnung Nr. &P35_X_RECHNR.
P35_X_RECHNR is an hidden item and works fine in regionsname,as example regionsname looks like Kundenrechnung Nr. 719
but when i downlaod the file,the filename is Kundenrechnung Nr. &P35_X_RECHNR..CSV
how can i use my hidden item in csv filename ?
[email protected]Hi Christian,
in your case there is a timing problem: The substitution for the region title is part of the region rendering process as is the filename. There is no double-substitution at that point. Imagine the current state to be filename:=NVL(substitute(filename), region_title) where region_title has the value that is handed to the rendering process.
We reference a hidden page item as filename directly, e.g. "&PX_FILENAME..csv"
The item value is calculated by a page process that is executed "On Submit - After Computations and Validations", and that works fine. You could try to set the filename to be "Kundenrechnung Nr. &P35_X_RECHNR..CSV" since P35_X_RECHNR should contain the appropriate value at that time.
-Udo -
Use a flexible Filename in REPORT CSV OUTPUT
-> ReportAttributes -> csv-output -> filename
I tried to use &item. and :Item but it seems the FILENAME of the csv-output is fixed. But I would like to give a name depending from context. Any ideas ?Marc,
Sure. The region is a PL/SQL function body returning a SQL query :
declare q varchar2(256);
begin
q := 'select * from ' || v('CURRASSVIEW');
if v('CURRASSSLXID') IS NOT NULL THEN
q := q || ' WHERE INSTR(' || '''' || v('CURRASSSLXID') || '''' || ', SLXID ) > 0';
end if;
return q;
end;
Where CURRASSVIEW is an app item that is the name of a VIEW object behind the scenes. Various view objects have been created to peek into a data wharehousing scheme. Unfortunately, I can't go into great detail....my company would freak if I posted actual data (pharmaceutical). However, I have tracked it down to the following scenario :
One of the columns that comes through is a VARCHAR2(2). The excel-spoolling is fine while this column is empty, and when the report in Excel reaches a row with a value in this column, it dies. The values are all of length 1, so I'm not sure where else to look.
Sorry for lack of details...any hints you could give as to where to continue research would be appreciated.
Matt -
How to Generate CSV Output from JD Edwards BI Publisher
Hi All,
I have a report "Critical Date Report" - R15611 in JD Edwards 8.11. This report has to be generated as CSV output from BI Publisher which is embedded to JDE.
The purpose we want use BI Publisher is to move some of the data displaying to different place in the page(ex: Move the company address from top left corner to Bottom right corner).
In order to achieve this
1.We created blank rtf template and upload to XML repository using P95600 application
2.Create report definition using P95620 application
3.Here I see the available output types as PDF,RTF,HTML,EXCEL,POWERPOINT and XML,ETEXT(GRAYED OUT)
Which output type we can use for CSV ?
4.Execute the report definition of the critical date report from P95620 to get the XML source
5.This XML source will be loaded into the blank rtf template
6.From this point no idea how to design the rtf template in order to get the CSV output.
7.We did design and output type as excel - but the result data is not in good formatting and alignment*(Headers and footers are repeating).*
If any one has worked on similar type of requirement,let us know how to do or send a sample XML source,rtf template and how the CSV output will be. Or any document link present in Oracle site will be helpful. Please let me know if you need more details.
Thanks in Advance.
VijayHi Vijay,
For CSV output, you need an E-text template (not RTF) that's why its grayed out! You can use Excel as output type and have (No headers and footers) , then you can open the file in Excel and store it as CSV. Does not always display correctly though.
Why are you compelled to use BI publisher? you can use the JDE standard csv output report, (as is used by most EDI systems) of course this may involve a bit of customization if you wants the fields arranged differently.
-Domnic -
Im having trouble with one of the reports im working on. Im allowing the user to select from 3 output formats (PDF, CSV, and Data). If i select the PDF it works perfectly (using an RTF template), and if i select DATA it also works fine and returns XML output. But if i select CSV then it comes back empty. No errors... No messages... Nothing...
I have another report that seems to work fine, including the CSV output. This is why it seems baffling to me. The difference between those 2 reports is that the working one uses a SQL query for its data while the one that doesnt work is using a template. Since the template only contains a single query, i did take it out and tried it as a SQL Query but had the same results (blank page).
Im at a loss for things to try. Without any feedback from Publisher, i have no idea where to go. I know that there is data available because several rows are returned with the PDF and Data outputs.
Any suggestions and/or ideas are definitely welcome.
Thanks
--Brett
PS: in case anyone is interested, here's my data template:
<dataTemplate name="CurrCompany" description="Current Company List" dataSourceRef="iub_datasource">
<!-- CVS Version $Revision: 1.4 $ -->
<parameters>
<parameter name="P_CODE" dataType="character"/>
<parameter name="P_IND_TYPE" dataType="character"/>
<parameter name="P_STATUS" dataType="character"/>
<parameter name="P_ORDER_BY" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="Q_COMPANY">
<![CDATA[
select distinct TRIM(cinfo.fname || ' ' || cinfo.lname) contact_name,
co.companyname company_name,
co2.companyname dba_name,
ci.address1,
ci.address2,
ci.address3,
ci.city,
sc.name state_full_name,
sc.code state_abbreviated,
ci.zipcode,
ty.name company_type
from company co,
company co2,
company_relationshiptype crt,
relationshiptype rst,
company_IndustryType cit,
industryType it,
companyStatus cs,
companyInfo ci,
Company_Companycodetype cct,
Companycodetype ty,
company_contact cc,
Contacttype ct,
Contact con,
contactInfo cinfo,
statecode sc
where co.companystatusid = cs.companystatusid
and cs.name = NVL(:P_STATUS, cs.name)
and co.companyid = ci.companyid
and ci.statecodeid = sc.statecodeid (+)
and co.companyid = cit.companyid (+)
and cit.industrytypeid = it.industrytypeid (+)
and instr( NVL(:P_IND_TYPE, it.description ), it.description ) > 0
and co.companyid = cct.companyid
and cct.companycodetypeid = ty.companycodetypeid
and instr( NVL(:P_CODE,ty.name), ty.name ) > 0
and co.Companyid = cc.companyid
and cc.contacttypeid = ct.contacttypeid
and UPPER(ct.name) = 'REGULATORY'
and cc.contactid = con.contactid
and con.contactid = cinfo.contactid
and co.companyid = crt.companyid (+)
and crt.relationshiptypeid = rst.relationshiptypeid (+)
and rst.name (+)= 'Doing Business As'
and crt.relatedcompanyid = co2.companyid (+)
order by UPPER(DECODE( :P_ORDER_BY, 'Name', company_name || zipcode, 'Type', company_type || company_name, 'Zipcode', zipcode || City || company_name ))
]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_COMPANY" source="Q_COMPANY">
<element name="contact_name" value="contact_name"/>
<element name="company_name" value="company_name"/>
<element name="dba_name" value="dba_name"/>
<element name="address1" value="address1"/>
<element name="address2" value="address2"/>
<element name="address3" value="address3"/>
<element name="city" value="city"/>
<element name="state_full_name" value="state_full_name"/>
<element name="state_abbreviated" value="state_abbreviated"/>
<element name="zipcode" value="zipcode"/>
<element name="company_type" value="company_type"/>
</group>
</dataStructure>
</dataTemplate>Yes, you wont get the csv,
CSV is supported only if the xml is having rowset/row tags.
Since you have your own tags G_COMPANY, as the groupings, you wont get the csv from BIP.
So, use the query directly in BIP , it will automatically add the rowset/row tag, and csv generated is supported for that.
even in data template it is supported if you put rowset and row tags as the group names.
or
you have to write the e-text template with each field separated by the comma , or desired separator. -
PDF Printer stopped prompting for output filename
I use the Adobe Acrobat PDF Printer to create PDFs from a variety of applications. My version of Acrobat Pro is 10.1.6. The printer is configured to prompt me for the output filename, but never does. It used to work, but I can't figure out what has changed. I have done a repair of Acrobat, and even went so far to uninstall and reinstall.
Turns out to be an OS problem. I cannot print to my HP printer either! (And this is after rebooting.) Oh well. Off to the Mac forums for assistance. Thanks anyway for those of you who looked at this.
-
when i am trying look at the csv outpt even if i am not giving the table header row in the template design it is taking some other header rows and displaying it in the output i need just the data in the csv output
how to solve this issue
Can you give me any idea how to proceed on this issue.
Thank you
Have a Nice Day.If some could specify solution for this, it will be great help for me.
I ll give an example:
if the data model contains 5 columns and if I design template with 2 columns with some aggregation function included .Then if I try to view the same report in csv format, it displays all the 5 columns from the data model without considering the template. But when I try to view the same report in different format (excel, html, pdf, etc) it is displaying as it is uploaded in the bi publisher. So I request someone to give solution for the same
And i want add one more question to this post
when the bi publisher report viewed in a csv format, it includes the column header as well. I want to remove these header from the csv output.
Edited by: user12511280 on Sep 12, 2011 10:08 PM -
Scheduled Excel/CSV output with 65k rows
Hi Experts,
I just wanted to confirm if in 3.1, can the scheduled excel/csv output handle >65 rows. From what we've read, it is possible and we assumed that's thru manual run. However, we aren't too sure if it is the same when scheduled.
Kind Regards,
MarkHi,
When the Webi excel output is > 65K rows, the 1st tab contains the 1st 65K rows and the rest goes to 2nd tab and forth and each tab has maximum 65K rows.
However, there is a limitation on the total number of tabs can be created in a excel file during this conversion. You will find out when you get there.
Hope this helps,
Jin-Chong -
Hi
we want to restrict some of the columns in the csv output is there any way to do it other than using extext templates.
Thanks in Advance,
Have a Nice dayThanks for your reply .
But i am having some idea will it can be implemented.
as you said it will depend on the datamodel .
Consider i am having 2 datasets in my datamodel for my report to get the pdf,html,excel.
so i want to add one more data set in the same data model with llimited number of columns in the select query and i want to use that dataset in the datamodel in the report generation when i choose the csv ouput.
Is it possible i am using bi publisher 11g.
So if it is possbile i can restrict my output in csv format too.
This is my idea i dont know whether it is possible or not. -
Classic Report CSV output failed to parse SQL query
Hi,
I'm trying to get a CSV output from a classic report. I'm generating the report based on a PL/SQL block that will return an SQL query. But when i download the CSV excel just gives me a:
failed to parse SQL query:
ORA-00936: Missing expression
and shows me the query that the application is trying to parse. I'm also using bind variables (page items) in the PL/SQL block that is returning me the SQL query. I think that the reason that it fails to parse the query is that the query that is shown in excel has no bind variable values.
Anyone got any ideas?Hi Arif,
run your page in debug mode and check out the SQL statement which is actually executed for the report. That might help to diagnose what is going wrong.
If you wish you can also post the report SQL statement which is getting executed.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX Plug-Ins: http://apex.oracle.com/plugins
Twitter: http://www.twitter.com/patrickwolf -
Creating a CSV output of just the rows of data.
Dear All,
I am trying to create a CSV output from SQL*Plus using the following method... All I need is the pure data, and nothing else.
set verify off
set feedback off
set termout off
set heading off
set echo off
spool <filename>
<my sql statement>
spool <off>
The problem is that the SQL statement is displayed in the output file.
Does anyone know how to switch this off, before I spool the file, or can I spool the file immediately after execution. I.e. Build this into the SQL statement (somehow)???
Thanks
David.If you want to handle 100% the output file you can use the package UTL_FILE but the file is going to be store in the server.
UTL_FILE
With the UTL_FILE package, your PL/SQL programs can read and write operating system text files. UTL_FILE provides a restricted version of operating system stream file I/O.
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/u_file.htm#ARPLS069
Joel Pérez
http://otn.oracle.com/experts -
Getting Output filename and extension same as the incoming filename and extension
I need to create a SFTP send port where I should get the output file name and extension same as that of the incoming filename
I had set the filename in the send port as "%SourceFileName%" but this did not work.
I have also assigned the input filename (without extension) in a variable in orchestartion. Is there any way i could get the output filename and extension same as that of the incoming message?
Any help would be much appreciatedHi,
The %SourceFileName% macro maps to the context property BTS.ReceiveFileName that travels with your message in the context. So in order for this macro to work in a send port the message that is going out needs to have this BTS.ReceiveFileName property on
the context. You probably creating a new message in your orchestration and sending that out. The new message does not have the property on its context which makes it fail. Use a message assignment shape in your orchestration to set the context property for
the message going out:
MyMessage(BTS.ReceiveFileName) = OrigMessage(BTS.ReceiveFileName);
Then %SourceFileName% macro will work at send port.
Rachit
Please mark as answer or vote as helpful if my reply does -
Hi Experts,
Is it possible to customize CSV output files via XSL? When I specify ContentType=text/csv in a request, MII appears to ignore the StyleSheet parameter. Is this expected behavior?
Specifically, my issue is that I'm trying to customize the CSV output so that null string data appears as blanks, not "---".
Thanks in advance.All,
When you put that content type on the end, MII knows to look for IllumRowsetCSV.xsl and applies it. This is done behind the scenes, however you can access the system stylesheets and modify them to get the desired result. Then you can apply them as a transform to a query or a transaction.
http://<server>:<port>/XMII/Stylesheets/IllumRowsetCSV.xsl
Hint: Anytime you want to play with stylesheets, you can open a query > Transformation > Load, and see what predefined XSL files that are out there. Just save (using above format) and modify and you save the time of creating one from scratch
Regards,
Kevin -
Csv output has database column names instead of aliases as in template
Hi,
I'm trying to publish a csv report to an ftp server in a specific format and layout. The column names need to be customized. I've modified the alias name both in the data model and in the rtf layout template. But the csv still contains the data base names as in column0, column 1, etc. Does anyone know how to fix this? The html or rtf format displays the correct column names but not the csv.
output sent:
Column 0 Jane
Column 1 Doe
Column2 Female
desired output:
Name Jane
Last Name Doe
MF Female
Edited by: user556100 on Apr 30, 2013 2:25 AM
Edited by: user556100 on Apr 30, 2013 2:25 AMAs far as i know CSV output will not consider any template formatting. it will basically give output of all the columns used in select statement of SQL in comma separated format.
It is the default behavior of CSV output in bi publisher
Guru's Correct me if i am wrong -
CSV Output for Classic Reports 100 columns.
Hi,
After hours of research and several attempts, I still haven't been able to figure out a way to export a report in CSV format. I can't use an Interactive Report as the view I am displaying on the report is larger than 100 columns. Although all the columns are displayed on the report,the CSV Output link doesn't export all the columns. Can anyone help me out? I would really appreciate it.
Thanks a lot.
Werot.Were we looking at the same page? That page shows an ORACLE PACKAGE that you can modify if need be to get what you want. It's NOT a plugin with wrapped code..
(You need to look for this line in the blob: The source code for the package: as_xlsx)
Thank you,
Tony Miller
LuvMuffin Software
Maybe you are looking for
-
New DVD Drive reads some DVD's not all, why?
Hi, I recently replaced my old dvd/cd drive in my notebook pavillion 2945se. It seems to work well except it only reads some store bought dvd's. It can read Star Trek: voyager, dc movies, disney, star wars discs, and most other store bought dvds
-
Hi, In portal when I search for a user it is displaying two users for given ID. But In LDAP, one user have the status deleted. How can it is displaying two users for a single id, as of my knowled LDAP shd take unique ids. Help me to resolve this .. T
-
can SDN provide me guidance to make a file to IDOC scenario, specially the settings at the XI and at the receiver SAP R/3 side..... i m new to XI so, setting details are important,
-
When I execute my applet, it gives me this error: Exception in thread "main" java.lang.NoSuchMethodError: main However when it runs in the appletviewer fine. Heres the code: import java.applet.Applet; import java.awt.*; import javax.swing.*; public c
-
Boot Camp partition not listed in Windows XP setup menu
My macbook hard drive is 230 GB, and I made the Windows partition to be 100GB in Boot camp assistant. When I ran Windows XP Setup, my boot camp partition was not listed in the menu, just my entire hard drive. The setup disk I am using is Windows XP H