FRM-41219 Cannot find report invalid ID [message #195746] |
Mon, 02 October 2006 02:02 |
Hine
Messages: 16 Registered: October 2006
|
Junior Member |
|
|
I'm using the FIND_REPORT_OBJECT for Oracle reports.
I can' t find mistake for error
FRM-41219 Cannot find report invalid ID.
....
tmpRepID:=find_report_object('tofsy.rdf');
SET_REPORT_OBJECT_PROPERTY(tmpRepID,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(tmpRepID,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(tmpRepID,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(tmpRepID,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(tmpRepID,REPORT_SERVER,tmpReport_Server);
SET_REPORT_OBJECT_PROPERTY(tmpRepID,REPORT_OTHER,'paramform=NO NalogID='||nvl(tmpNalogID,0));
tmpRep:= RUN_REPORT_OBJECT(tmpRepID);
tmpREP_status:= REPORT_OBJECT_STATUS(tmpRep);
WHILE tmpREP_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
tmpREP_status:= report_object_status(tmpRep);
END LOOP;
IF (tmpREP_status = 'FINISHED') THEN
WEB.SHOW_DOCUMENT('http://'||trim(tmpReport_URL)
||'/reports/rwservlet/getjobid'|| substr(tmpRep,instr(tmpRep,'_',-1)+1)
||'?server='||substr(tmpRep,1,instr(tmpRep,'_')-1)
,'_blank');
ELSE
...
Regards!
Hine
|
|
|