473,408 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

trying to move from reports generated in CGI mode to reports generated in Servlet mode

This is on 9iAS R1 patch15:

We are calling all out reports from forms.

We already have a number of forms that call reports that are using the
reports servlet. All the reports come out in pdf format. Basical there are a
number of set_report_object_property calls then a run_report_object call.
Additionally in the env file set by forms_web_cfg file we have a var of
FORMS60_REPFORMAT=pdf

We have been using the CGI report server to generate tab delimited files one
could bring into Excel. I'm having problems getting a different file other
than a pdf to be generated. I'm I stuck due to the FORMS60_REPFORMAT=pdf
var? How can I override this for a tab delimited file?

I think my problem is with the REPORT_DESTYPE

here is part of the code from the form (which does not work):
IF P_FOR_EXCEL = 'Y' THEN -- Generate Excel Sheet
l_rep_obj_id := find_report_object ( 'QMSREP' );

set_report_object_property(l_rep_obj_id, REPORT_DESTYPE, FILE);
set_report_object_property(l_rep_obj_id, REPORT_DESNAME, user ||
to_char(sysdate,'DDMMYYYYHH24MISS') || '.xls' );

set_report_object_property(l_rep_obj_id, REPORT_DESFORMAT, 'DELIMITED' );
set_report_object_property(l_rep_obj_id, REPORT_OTHER, ' DELIMITER=tab' || '
DELIMITED_HDR=no');

set_report_object_property(l_rep_obj_id, REPORT_EXECUTION_MODE, RUNTIME );
set_report_object_property(l_rep_obj_id, REPORT_COMM_MODE, SYNCHRONOUS );
set_report_object_property(l_rep_obj_id, REPORT_FILENAME, l_report_name );

-- qms$forms_errors.push ( 'Call_Report: Client/Server: Report and display
in Excel' );
l_rep_id := RUN_REPORT_OBJECT(l_rep_obj_id, l_par_list_id);

ELSE -- Generate PDF Report
l_rep_obj_id := find_report_object ( 'QMSREP' );

set_report_object_property(l_rep_obj_id, REPORT_EXECUTION_MODE, RUNTIME );
set_report_object_property(l_rep_obj_id, REPORT_COMM_MODE, SYNCHRONOUS );
set_report_object_property(l_rep_obj_id, REPORT_FILENAME, l_report_name );
set_report_object_property(l_rep_obj_id, REPORT_DESTYPE, PREVIEW);

l_rep_id := RUN_REPORT_OBJECT(l_rep_obj_id, l_par_list_id);
END IF;
My question is what do I need to do to generate tab delimited files using
the reports servlet without breaking the pdf's or changing the forms_web.cfg
file?
Thanks very much

Jul 19 '05 #1
0 2386

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: michael newport | last post by:
Dear Oracle lovers, I am trying to do create a report servlet in 9ias. From the dos prompt I type the command :- rwserver -install repmecomsacc2 I see :- ora9iasReports in Windows...
0
by: munish | last post by:
I'm using .net crystal reports export the reports to the html format. When in debug mode and viewing the html file through my WEb Application the following exception is thrown when I try to using...
1
by: dave | last post by:
When i hit a button in the web page, the servlet will run and should post some dynamic data into the new window (using Java Script), The new generated window will contain the info generated from...
0
by: Brian Fulford | last post by:
I have a report generation page that chooses which report to load and manipulate in the code behind. I am setting TextBox values and suppressing sections and whatnot. The code works fin when I...
1
by: badwal | last post by:
One of the requirements of our ASP.NET 2.0 web application (developed with visual studio 2005) is to create reports in form of excel spreadsheets with data coming from Sql Server 2005 database. ...
0
by: cwho.work | last post by:
Hi! We are using apache ibatis with our MySQL 5.0 database (using innodb tables), in our web application running on Tomcat 5. Recently we started getting a number of errors relating to...
0
by: sandydon | last post by:
when am trying this in xsl page <xsl:variable name="myArray"><item>item1</item><item>item2</item></xsl:variable> <xsl:value-of select="$myArray/item"/> i got the following error HTTP...
0
by: Oxmard | last post by:
This is on 9iAS R1 patch15: We are calling all out reports from forms. We already have a number of forms that call reports that are using the reports servlet. All the reports come out in pdf...
5
by: sayeo87 | last post by:
Hi, I am quite new to JSP so please forgive me if I ask really simple things... I am trying to run system commands on the server and display the output on a webpage. This is what I've got: <%@...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.