View Single Post
  #8 (permalink)  
Old June 6th, 2008, 16:07
sprabhakar sprabhakar is offline
Junior Member
 
Join Date: Dec 2006
Posts: 17
Thanks: 1
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
sprabhakar is on a distinguished road
Send a message via AIM to sprabhakar
Smile Re: Issue Running Report in OTM - too much data

Hi CS,
Just to make one thing clear - OTM does not restrict you generating a report in CSV/XLS format. When you submit a scheduled report request, OTM hardcodes the DESFORMAT variable to PDF and hence the report output from OTM is always PDF. This can be modified without any issues. you have to follow the below steps to generate a scheduled report in XSL/CSV format

1. In the after parameter form trigger, modify the below line

:P_FILE := TRANSLATE(TRANSLATE(:P_DOMAIN||'_'||:P_REPORT_GID, '.','_'),' ','_')||:P_RPT_JOB||ws_date||'.'||ESFORMAT;

as

:P_FILE := 'XXX.XLS'; ( or any name as you wish)

2. Design the report to produce an XSL/CSV output and schedule the report.

3. Once the scheduled report completes, look for the report XXX.XLS in the rptapache/htdocs folder,

4. Pickup the file and send it out using the custom script.

Please get back to me if you have further questions.

Regards,
Prabhakar
__________________
MavenWire

www.MavenWire.com
Reply With Quote