call web report from oracle form 6i [message #354769] |
Tue, 21 October 2008 03:17 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
joelleghazal
Messages: 3 Registered: October 2008
|
Junior Member |
|
|
I am trying to run web report from oracle forms 6i
i have created a form with a "dummy" report that has as configuration a report "test.rdf", cache, HTML and report server name as it appears in oracle AS "repaspb".
i used the following code in my form:
DECLARE
v_url varchar2(200);
v_url2 varchar2(2000);
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
BEGIN
repid := find_report_object('DUMMY');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('http://reportserver)_IP:Port/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1),'_blank');
ELSE
message('Error when running report');
END IF;
END;
when running the script i am getting the following error:
FRM-41213: unable to connect to the report server repaspb.
i ping to the server and it is requesting
i have try the report on the web and it is working
how could i fix this problem?
Thank you,
Joelle Ghazal
|
|
|
|
|
|
|
Re: call web report from oracle form 6i [message #356206 is a reply to message #355479] |
Wed, 29 October 2008 23:56 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Working from memory: I believe that there is a system table that contains the list of report server jobs. Use the 'manager' on the Application Server or Database Server to see all the tasks that have been run. When you have the list of reports on your screen, use a tool like TOAD to display the recently executed database queries. This query will tell you the table/view that contains the list of reports. Use this information to build your own query to determine the last report run by this user.
David
|
|
|