Running report from database package
Hi,
I have a database package and it gets soem details and submits the report using SRW. It has submitted successfully. But the report is not outputed but there is file with extension eps. Can the package pass the user variables??
The package code follows:-
PROCEDURE p_submit_copy_invoices(
par_organization_id1 IN system_users.organization_id%TYPE,
par_batch_no1 IN ds_invoice_headers.batch_no%TYPE,
par_invoice_date IN ds_invoice_headers.creation_date%type,
par_user_code IN system_users.user_code%TYPE,
par_err_msg OUT VARCHAR2) IS
replist SRW_PARAMLIST;
repindent SRW.job_ident;
repstatus SRW.STATUS_RECORD;
par_customer_code_from ds_invoice_headers.customer_code%type;
par_organization_id number;
par_batch_no number;
CURSOR GET_CUST_CODE IS
SELECT DISTINCT dih.CUSTOMER_CODE,dih.batch_no,NO_OF_INVOICE_COPIES
FROM DS_INVOICE_HEADERS DIH, DS_CUSTOMER_SITES DCS
WHERE dih.ORGANIZATION_ID = par_organization_id1
AND TRANSACTION_TYPE = 'IN'
AND TRUNC(dih.CREATION_DATE) = par_invoice_date --'16-SEP-04' --TO_DATE(:DUAL.INVOICE_DATE)
and DIH.ORGANIZATION_ID = dcs.ORGANIZATION_ID
AND DIH.CUSTOMER_CODE= DCS.CUSTOMER_CODE
AND dih.CUSTOMER_SITE_CODE = DCS.CUSTOMER_SITE_CODE
AND NO_OF_INVOICE_COPIES > 0;
BEGIN
dbms_output.put_line('before');
FOR CURR_REC IN GET_CUST_CODE
LOOP
--v_user_params := ' par_organization_id1 ='||:GLOBAL.organization_id
-- || ' par_customer_code_from ='||CURR_REC.customer_code
-- || ' par_batch_no = '||CURR_REC.batch_no;
dbms_output.put_line('inside loop -'||curr_rec.customer_code);
replist := SRW_PARAMLIST(SRW_PARAMETER('',''));
srw.start_debugging;
SRW.ADD_PARAMETER(replist,'GATEWAY','http://seikoapps.seiko.com.au:7777/reports/rwservlet');
SRW.ADD_PARAMETER(replist,'REPORT','/u02/app/dis/dev/reports/rdf/dsinvprt.rdf');
SRW.ADD_PARAMETER(replist,'SERVER','repseikoapps2');
SRW.ADD_PARAMETER(replist,'USERID','dis/[email protected]');
SRW.ADD_PARAMETER(replist,'DESTYPE','FILE');
--SRW.ADD_PARAMETER(replist,'DESNAME','itgenicom');
dbms_output.put_line(' before desformat ');
--SRW.ADD_PARAMETER(replist,'DESFORMAT'.'lst');
SRW.ADD_PARAMETER(replist,'DESTINATION','/u02/app/dis/dev/reports/rep/dsinvprt.pdf');
SRW.ADD_PARAMETER(replist,'BLANKPAGES','no');
SRW.ADD_PARAMETER(replist,'COPIES',CURR_REC.NO_OF_INVOICE_COPIES);
--SRW.ADD_PARAMTER(mplist,DESTINATION,
dbms_output.put_line(' before MODE');
SRW.ADD_PARAMETER(replist,'MODE','Bitmap');
SRW.ADD_PARAMETER(replist,'ORIENTATION','Landscape');
SRW.ADD_PARAMETER(replist,'PARAMFORM','no');
dbms_output.put_line(' user defined variable ');
SRW.ADD_PARAMETER(replist,par_organization_id,par_organization_id1);
SRW.ADD_PARAMETER(replist,par_customer_code_from,CURR_REC.customer_code);
SRW.ADD_PARAMETER(replist,par_batch_no,CURR_REC.batch_no);
dbms_output.put_line(' before runrepoert ');
repindent := srw.run_report(replist);
repstatus := SRW.REPORT_STATUS(repindent);
dbms_output.put_line(' status of the report - '||repstatus.statuscode);
--srw.stop_debugging;
END LOOP;
END p_submit_copy_invoices;
I have turned the dubugging on :-
* WELCOME TO EVENT-BASED-REPORTING API *
* API-Version : 9i *
* (C) Oracle Corporation, 2000 - 2002 *
* Debugging turned ON **************************
*** Length of Paramlist : 1
OK : Parameter added : GATEWAY=http://seikoapps.seiko.com.au:7777/reports/rwservlet
*** Length of Paramlist : 2
OK : Parameter added : REPORT=/u02/app/dis/dev/reports/rdf/dsinvprt.rdf
*** Length of Paramlist : 3
OK : Parameter added : SERVER=repseikoapps2
*** Length of Paramlist : 4
OK : Parameter added : USERID=dis/[email protected]
*** Length of Paramlist : 5
OK : Parameter added : DESTYPE=FILE
before desformat
*** Length of Paramlist : 6
OK : Parameter added : DESTINATION=/u02/app/dis/dev/reports/rep/dsinvprt.pdf
*** Length of Paramlist : 7
OK : Parameter added : BLANKPAGES=no
*** Length of Paramlist : 8
OK : Parameter added : COPIES=1
before MODE
*** Length of Paramlist : 9
OK : Parameter added : MODE=Bitmap
*** Length of Paramlist : 10
OK : Parameter added : ORIENTATION=Landscape
*** Length of Paramlist : 11
OK : Parameter added : PARAMFORM=no
user defined variable
*** Length of Paramlist : 12
OK : Parameter added : =129
*** Length of Paramlist : 13
OK : Parameter added : =250000D
*** Length of Paramlist : 14
OK : Parameter added : =100104
before runrepoert
Starting run_report: building url
*** Building URL (RUN_REPORT)
OK : URL built : http://seikoapps.seiko.com.au:7777/reports/rwservlet?REPORT=%2Fu02%2Fapp%2Fdis%2Fdev%2Freports%2Frdf%2Fdsinvprt%2Erdf&SERVER=repseikoapps2&USERID=dis%2Fseikodis%40dis%2Eseiko%2Ecom%2Eau&DESTYPE=FILE&DESTINATION=%2Fu02%2Fapp%2Fdis%2Fdev%2
*** Submitting HTTP Request
*** using URL :http://seikoapps.seiko.com.au:7777/reports/rwservlet?REPORT=%2Fu02%2Fapp%2Fdis%2Fdev%2Freports%2Frdf%2Fdsinvprt%2Erdf&SERVER=repseikoapps2&USERID=dis%2Fseikodis%40dis%2Eseiko%2Ecom%2Eau&DESTYPE=FILE&DESTINATION=%2Fu02%2Fapp%2Fdis%2Fdev%2Fr
OK : Request submitted - Return stream : <?xml version = '1.0' encoding = 'ISO-8859-1' standalone = 'yes'?>
<serverQueues>
<job id="842" queueType="past">
<name>/u02/app/dis/dev/reports/rdf/dsinvprt.rdf</name>
<type>report</type>
<st
OK : Request submitted - Length of stream : 678
*** XML-Parsed - Following Structure discovered :
*** Checking elements!
serverQueues ()
*** Checking attributes!
job ()
*** Checking attributes!
__id = 842
__queueType = past
name (/u02/app/dis/dev/reports/rdf/dsinvprt.rdf)
*** Checking attributes!
type (report)
*** Checking attributes!
status (Finished successfully)
*** Checking attributes!
__code = 4
owner (RWUser)
*** Checking attributes!
server (repseikoapps2)
*** Checking attributes!
destination ()
*** Checking attributes!
desType (FILE)
*** Checking attributes!
desFormat (unknown)
*** Checking attributes!
file (71106787.eps)
*** Checking attributes!
timingInfo ()
*** Checking attributes!
queued (1/10/2004 15:02:18)
*** Checking attributes!
started (1/10/2004 15:02:18)
*** Checking attributes!
finished (1/10/2004 15:02:18)
*** Checking attributes!
*** Finished Parsing XML
Getting value for element: job
*** Requesting value for Attribute job.id [842]
Getting value for element: server
*** Requesting value for TAG server [repseikoapps2]
Getting value for element: job
*** Requesting value for Attribute job.type []
Getting value for element: job
*** Requesting value for Attribute job.queueType [past]
Getting value for element: name
*** Requesting value for TAG name [u02/app/dis/dev/reports/rdf/dsinvprt.rdf]
Getting value for element: status
*** Requesting value for Attribute status.code [4]
Getting value for element: status
*** Requesting value for TAG status [Finished successfully]
Getting value for element: owner
*** Requesting value for TAG owner [RWUser]
Getting value for element: desType
*** Requesting value for TAG desType [FILE]
Getting value for element: desName
*** Requesting value for TAG file [71106787.eps]
Getting value for element: queued
*** Requesting value for TAG queued [1/10/2004 15:02:18]
Getting value for element: started
*** Requesting value for TAG started [1/10/2004 15:02:18]
Getting value for element: finished
*** Requesting value for TAG finished [1/10/2004 15:02:18]
Getting value for element: parentJob
*** RUN REPORT BY URL - Processing finished
JobID : 842
StatusCode : 4
StatusText : Finished successfully
================================================
TimeStamp : 10/01/04 02:22 PM
================================================
*** Length of Paramlist : 1
OK : Parameter added : GATEWAY=http://seikoapps.seiko.com.au:7777/reports/rwservlet
*** Length of Paramlist : 2
OK : Parameter added : SERVER=repseikoapps2
*** Length of Paramlist : 3
OK : Parameter added : JOBID=842
*** Length of Paramlist : 4
OK : Parameter added : AUTHID=
*** Building URL (showjobid)
Added jobid to URL
Added Server to URL
Added statusformat to URL
OK : URL built : http://seikoapps.seiko.com.au:7777/reports/rwservlet/showjobid842?Server=repseikoapps2&statusformat=xml
*** Submitting HTTP Request
*** using URL :http://seikoapps.seiko.com.au:7777/reports/rwservlet/showjobid842?Server=repseikoapps2&statusformat=xml
OK : Request submitted - Return stream : <?xml version = '1.0' encoding = 'ISO-8859-1' standalone = 'yes'?>
<serverQueues>
<job id="842" queueType="past">
<name>/u02/app/dis/dev/reports/rdf/dsinvprt.rdf</name>
<type>report</type>
<st
OK : Request submitted - Length of stream : 678
*** XML-Parsed - Following Structure discovered :
*** Checking elements!
serverQueues ()
*** Checking attributes!
job ()
*** Checking attributes!
__id = 842
__queueType = past
name (/u02/app/dis/dev/reports/rdf/dsinvprt.rdf)
*** Checking attributes!
type (report)
*** Checking attributes!
status (Finished successfully)
*** Checking attributes!
__code = 4
owner (RWUser)
*** Checking attributes!
server (repseikoapps2)
*** Checking attributes!
destination ()
*** Checking attributes!
desType (FILE)
*** Checking attributes!
desFormat (unknown)
*** Checking attributes!
file (71106787.eps)
*** Checking attributes!
timingInfo ()
*** Checking attributes!
queued (1/10/2004 15:02:18)
*** Checking attributes!
started (1/10/2004 15:02:18)
*** Checking attributes!
finished (1/10/2004 15:02:18)
*** Checking attributes!
Getting value for element: job
*** Requesting value for Attribute job.id [842]
Getting value for element: server
*** Requesting value for TAG server [repseikoapps2]
Getting value for element: job
*** Requesting value for Attribute job.type []
Getting value for element: job
*** Requesting value for Attribute job.queueType [past]
Getting value for element: name
*** Requesting value for TAG name [u02/app/dis/dev/reports/rdf/dsinvprt.rdf]
Getting value for element: status
*** Requesting value for Attribute status.code [4]
Getting value for element: status
*** Requesting value for TAG status [Finished successfully]
Getting value for element: owner
*** Requesting value for TAG owner [RWUser]
Getting value for element: desType
*** Requesting value for TAG desType [FILE]
Getting value for element: desName
*** Requesting value for TAG file [71106787.eps]
Getting value for element: queued
*** Requesting value for TAG queued [1/10/2004 15:02:18]
Getting value for element: started
*** Requesting value for TAG started [1/10/2004 15:02:18]
Getting value for element: finished
*** Requesting value for TAG finished [1/10/2004 15:02:18]
Getting value for element: parentJob
*** JOB STATUS - Processing finished
JobID : 842
StatusCode : 4
StatusText : Finished successfully
=============================================
TimeStamp : 10/01/04 02:22 PM
=============================================
Can any one help me why the file is not created.
Thanks
Bain
The file is created, but as an eps file (post script printer file). That is because you have not specified a desformat (e.g. PDF).
Similar Messages
-
Is there any way to run a report from database?
Is there any way to run a report from database using trigger?
A report needs to be printed out when a new row is inserted into a table.If you are using the Reports Server it is possible to start a report from a trigger by using the UTL_HTTP package (in the sys schema) to call the report URL. This should work with DESTINATION=PRINTER.
Hope this helps. -
hi,
I am having problems in running report from form.
I am using oracle 9i on windows 2000 server and no 9iAS at the moment. On client side, i have windows xp and 9iDS installed. I want to run report from forms in 9iDS testing environment.
my forms are running ok but now i need to run report. so what i have done is that i have created a report object in form and following are enteries present in it at the moment.
Name REPORT7
FileName D:\Projects\IBMR\forms\soil_water_quality_data.rdf
Execution Mode Batch
Communication Mode Synchronous
Destination Type Cache
Report Server 9irep
and in when_button_pressed trigger
DECLARE
Report_Id REPORT_OBJECT;
Report_Job_Id VARCHAR2(20);
Report_Status VARCHAR2(80);
Report_Svr VARCHAR2(20);
BEGIN
Report_Id := FIND_REPORT_OBJECT('REPORT7');
Report_Svr := '9irep';
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_FILENAME, '\projects\ibmr\forms\soil_water_quality_data.rdf');
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_OTHER, 'paramform=no');
Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
WHILE Report_Status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
END LOOP;
IF Report_Status = 'FINISHED' then
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(Report_job_id,instr(Report_Job_Id,'_',-1)+1)||'?'||'server=9irep','_blank');
else
message ('report server failed with error message '||report_status);
END IF;
END;
i have installed report server with following command
rwserver -install 9irep
i have changed entry in rwservlet.properties like
SINGLESIGNON=NO and i have removed the following entire block of 9irep.conf, which i have read from some documentation
<!--security id="rwSec" class="oracle.reports.server.RWSecurity">
<property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
</security-->
i get the following error message when i run my form
frm-41214 Unable to run report
and then next message is
frm-41217 unable to get report job status
i debugged the report id and it is
9irep_0
returned by Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
When I checked the Report Queue Manager
it is showing status like
(9irep)Terminated with error
and detail it shows is
Unable to connect to the specified database.
Now I am wondering what to do next.
any suggestions???????Hello,
From your description, it seems like the report is faling due to a database authentication problem. When you run your report from Forms, Forms internally passes the its database connection information to Reports automatically. So ensure that you are connected to a valid database in Forms, before the report is called.
Please verify whether a simple report which does not require a database connection, for example, a report containing only a boilerplate text object, is running correctly. Also, in the trigger code that you have specified, you should add the following:
SET_REPORT_OBJECT_PROPERTY(Report_Id, REPORT_DESTYPE, CACHE);
so that the report output gets generated to the server cache, and can be retrieved using rwservlet/getjobid.
Thanks,
The Oracle Reports Team. -
Run Report from Oracle Forms9i
Hi how are u all.......i am shahzad and i have little problem....i am working on developer 6i with oracle 9i database..........now i upgrade into developer 9i.....now the problem is that when i call the report from form then error is generated that is like'you cannot use reun run_product here use run_report_object'
Any one plz tell me how to run report from forms 9i also how to pass parameter too...means check the parameter from forms and give me the reports
guys its urgent
Thanks in advance :)
Thanks youfot this u have to use standard code as follows
parameter list is as it was in 6i
v_report_id := FIND_REPORT_OBJECT('report name');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,file);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'dflt');
Set_Report_Object_Property(v_report_id,REPORT_OTHER,'ENVID="NFA"');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESNAME,ls_file_path||'\'||to_char(sysdate,'dd')||
-- to_char(sysdate,'mm')||to_char(sysdate,'yyyy')||'.doc');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER, 'paramform=no');
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,reportserver);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESNAME,OUTFILE);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER, reportserver);
SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER, 'paramform=no');
vc_report_job_id:=RUN_REPORT_OBJECT(v_report_id,pl_id);
v_jobID := substr(vc_report_job_id,length(reportserver)+2,length(vc_report_job_id));
if vc_report_job_id is not null then
vc_rep_status := REPORT_OBJECT_STATUS(vc_report_job_id);
while vc_rep_status in ('RUNNING', 'OPENING_REPORT','ENQUEUED') LOOP
vc_rep_status := report_object_status( vc_report_job_id);
end loop;
IF vc_rep_status<>'FINISHED' THEN
message ('Report failed with error message '|| vc_rep_status);
END IF;
end if; -
hi all,
i have tried to run report from forms using below codig(got from online help)
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(20);
v_host varchar2(100):= 'localhost';
v_port varchar2(10);
v_parameter_string varchar2(4000);
v_username varchar2(50);
v_password varchar2(50);
v_database varchar2(50);
BEGIN
repid := find_report_object('REPORT27');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
if rep_status = 'FINISHED' then
message('Report Completed');
copy_report_object_output(v_rep,'E:/Rep/local1.pdf');
-- host('MOZILLA E:/Rep/local.pdf');
-- WEB.SHOW_DOCUMENT('http://192.168.0.160:1521/reports/rwservlet/getjobid'||
-- substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
else
message('Error when running report.');
end if;
-- Get the full domain name of the server from the formsweb.cfg
tool_env.getvar('SERVER_URL',v_host);
-- Get the username/password and database from the .env file
tool_env.getvar('APPLICATION_USERNAME',v_username);
tool_env.getvar('APPLICATION_PASSWORD',v_password);
tool_env.getvar('APPLICATION_DATABASE',v_database);
-- If it is localhost then we are running on windows and need to use the windows port, otherwise we
-- are on AIX and need to use the AIX port
IF v_host = 'localhost' THEN
v_port := '8889';
ELSE
v_port := '8889';
END IF;
-- Now build the parameter string for running the report
v_parameter_string := 'server=repserver';
v_parameter_string := v_parameter_string||'&report= E:\AGE_NoELIGIBLEReport.rdf';
v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||v_password||'@'||v_database;
v_parameter_string := v_parameter_string||'&execution_mode=batch';
v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
v_parameter_string := v_parameter_string||'&destype=cache';
v_parameter_string := v_parameter_string||'&desformat=pdf';
-- Now run the report
web.show_document('http://'||v_host||':'||v_port||'/reports/rwservlet?'||v_parameter_string,'_blank');
END;
REP-110: Unable to open file ' AGE_NoELIGIBLEReport.rdf'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file ' AGE_NoELIGIBLEReport.rdf'.
but i hav report in e:\ then why its getting?Hi,
I suggest you not to use the "E:\" directory letter, but the REPORTS_PATH instead.
<p>
from the Online Help
</p>
<p>
On Windows, edit environment variables through the Registry Editor (Start > Run > Regedit).
</p>
<p>
On UNIX, edit environment variables by revising and running the shell script that defines the initial default values (reports.sh). If you do this, be sure to keep a backup of the original, unaltered reports.sh file.
</p>
<p>
Regards
JeanYves
</p> -
Running reports from forms on the web
On forms and reports 6i we used the following code to run reports from forms.
We need to do the same on 9i forms and reports, we are running into problems.
Any help will be appreciated.
PROCEDURE web (inFileName VARCHAR2,
inRecordGroup RECORDGROUP) IS
outVirtualPath VARCHAR2(200) := '/forms90/f90servlet?p_url=/reports/rwservlet?'; outServer VARCHAR2(200) := 'server=rep_ora-app-4';
outReport VARCHAR2(200) := 'report='||inFileName;
outUserid VARCHAR2(200) :=
'userid='||GET_APPLICATION_PROPERTY(USERNAME)||'/'||GET_APPLICATION_PROPERTY(PAS
SWORD)||'@'||GET_APPLICATION_PROPERTY(CONNECT_STRING);
outDesType VARCHAR2(200) := 'DESTYPE=CACHE';
outDesFormat VARCHAR2(200) := 'DESFORMAT=PDF'; outUser VARCHAR2(2000);
outCount INTEGER;
error we are getting.
FRM-42017:Module name must be specified.S Hatch (guest) wrote:
: I'm thinking that you're going to have to install the Reports
: cartridge, create an entry in the keymap with any parameters
and
: call your report via the url.
: Dessislava Gantcheva (guest) wrote:
: : How do I call a report from a form on the web?
: : I have installed Windows NT Server 4.0 with SP 5, OAS4.0.7
EE
: : with patch 1, Developer 6.0 with patch 1. Developer server
and
: : forms server work fine in a non-cartridge implementation,
but
: I
: : cannot run a report within a form. I just have no any info
how
: : to do this.
I have entries in my keymap file and I can call my reports via
the url, but I cannot run a report WITHIN a form. I mean to call
a report by clicking on a button of a form on the web. The
RUN_PRODUCT built-in does not work (at leas it seems like this)
If any one has expiriense with it, please, give me a hint.
Thanks
null -
How can we run reports from the front enf of iProcurement...
Hi Guys,
I need to create a link to run reports from the front end in iProcurement webpage instead of using apps SRS to run the report...
help needed...
thanks
amanHi Tapashray,
That was a great help. Thank you so much. A few more clarifications needed sir..
I refered to a previous link and came to know about a prcedure he followed for a report. So is it the same way that is to be done... I pasted a descr what he said in the thread. In ur solution, you said, have a link bean. what do u mean by that. After i go thru all the steps what this guy told.
It would be of gr8 help if you kindly look in to this for one more minute sir..
thanks
Creating a new report in 11.5.9
Re: Creating a new report in 11.5.9
Posted: Mar 11, 2005 7:12 PM in response to: dhergert Reply
Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
1-Write JSP (should be written just how Oracle writes theirs)
2-Creat function for the new JSP page as System Administrator responsibility
3-Use Sys Admin to add the function to a menu somewhere
4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
6-Drill down into that regions attributes
7-Add a your newly created attribute to this region -
hi i have a apple imac 27 2009 and i have purchased mountain lion but near the end it says An error occurred while running scripts from the package “mzps6175750011235388779.pkg”
can you please advise me what should i do to fix thisSome ideas.
https://discussions.apple.com/message/20034600#20034600 -
FRM-92101 error while running report from form
HI All,
I am getting the form error FRM-92101 while running report from form menu.My code is given below:
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
BEGIN
repid := FIND_REPORT_OBJECT('REPORT47');
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://192.168.0.21:8889/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
ELSE
message('Error when running report');
END IF;
Clear_message;
END;
Clear_message;
--Arifhi Arif
Please see this note on MOS/Metalink for some common causes of this error:
Known Causes of FRM-92101 Error In Forms [ID 604633.1]
thanks,
AMN -
I want to run report from FORM
I want to run report from FORM. The report will save in PDF format then OPEN automatically in PDF
Every PDF file should have a unique file name.
I am using Form 6i and Reports 6iDECLARE
vParamList PARAMLIST;
BEGIN
vParamList:=GET_PARAMETER_LIST('MyRep');
IF NOT ID_NULL(vParamList) THEN
DESTROY_PARAMETER_LIST(vParamList);
END IF;
vParamList:=CREATE_PARAMETER_LIST('MyRep');
SET_REPORT_OBJECT_PROPERTY('report_path\emp_rep_def',REPORT_DESFORMAT,'PDF');
RUN_PRODUCT(REPORTS,'report_path\emp_rep_def',ASYNCHRONOUS,RUNTIME,FILESYSTEM,vParamList,NULL);
END; -
When run report from form(6i) on the web,error FRM-921000
While I was trying to run report from form (6i)on the web,it will give me this error
message FRM-921000 and hang.
But when I try to call form using form,I do
not have the problem.
May I know ehat is the cause?
Anybody encounter this before?
Thanks
nullI am running Forms 6i on the web and attempting to call me report via RUN_REPORT_OBJECT. I am getting the same error as Jenny FRM-92100. I need to pass a parameter list so I don't think I can use WEB.SHOW_DOCUMENT. Any ideas???
Thanks,
Jenny N.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Joseph Schwertner ([email protected]):
Dear Jenny,
I am running reports from Forms 6i on the WEB. I did not encounter your problem. Nevertheless I would like to share the following with you.
RUN_PRODUCT doesn't work for calling reports ON THE WEB. Instead using RUN_PRODUCT do the following:
1. Install Oracle Reports Server
2. For WEB calls of reports use WEB.SHOW_DOCUMENT
3. Learn how to pass parameters to the reports. It is a litlle bit strange, but it is explaint excellent in the documentation to the Reports Server.
I hope this will help you.
Joseph Schwertner
<HR></BLOCKQUOTE>
null -
OAS in Unix: URL not found when run report from Form???? please help
Hi,
We have succesfully install OAS with Form Server and Report Server in
Unix. We able to run Form and Report direct from browser. But we having
problem to run Report from direct Form within the browser. The message from
the browser was 'The requested URL was not found'. We use run_product to run
report from form. Below is the statement:-
Run_Product(REPORTS, 'A10001', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
NULL);
Does anyone have an idea??
Thanks in advance.
nullplease check env. variables
1. FORMS60_MAPPING
2. FORMS60_OUTOUT
FORMS60_MAPPING should point to vartual directory on your forms webserver
FORMS60_OUTPUT should point to physical
directory path of vartual directory
FORMS60_MAPPING
regards
Darshan
[email protected]
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by leong([email protected]):
Hi,
We have succesfully install OAS with Form Server and Report Server in
Unix. We able to run Form and Report direct from browser. But we having
problem to run Report from direct Form within the browser. The message from
the browser was 'The requested URL was not found'. We use run_product to run
report from form. Below is the statement:-
Run_Product(REPORTS, 'A10001', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,
NULL);
Does anyone have an idea??
Thanks in advance.
<HR></BLOCKQUOTE>
null -
Hi! I have problems downloading and installing OS X Yosemite.
While downloading this message pops up:
An error occurred while running scripts from the package \U201cwct8079783343594854923.pkg\U201d.
and in /var/log/install.log i can see:
MacBook-Pro installd[1086]: PackageKit: Install Failed: PKG: pre-install scripts for "com.apple.pkg.InstallMacOSX"\nError Domain=PKInstallErrorDomain Code=112 UserInfo=0x100193c00 "An error occurred while running scripts from the package “wct8079783343594854923.pkg”." {\n NSFilePath = preinstall;\n NSLocalizedDescription = "An error occurred while running scripts from the package \U201cwct8079783343594854923.pkg\U201d.";\n NSURL = "#InstallMacOSX.pkg -- file://localhost/Users/username/Library/Application%20Support/AppStore/91504108 2/wct8079783343594854923.pkg#Distribution";\n PKInstallPackageIdentifier = "com.apple.pkg.InstallMacOSX";\n}
does anyone have an idea about this?
thank you very muchMucked up installation. If the installer app is still in /Applications, delete it and start over.
27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.2), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2 -
An error occurred while running scripts from the package "ztb343812063996219254.pkg
i tried to upgrade my os lion 10.7.5 to os x yosemite on my macbook pro and in the middele of downloading I'm getting this notice: an error occurred while running scripts from the package "ztb343812063996219254.pkg
help me please…..
i think i have problem with the app store cause sometimes I'm getting more errors like error no 13 or 100
what should i do? -
Unable to run report from forms developer.
hi....
i m not very much in developer 9i.from last 2 month i m doing developer 9i.I m desiging and running
report from report builder.but i m not able to run that report from forms developer.Can anyone help to solve my problem?is there any particular extension i have to follow or any configuration(Application server) i have to made change?What code i have to write to run a report from forms?Hi frank...
Thanx for ur reply...
Actually what i did,i created a report and save that report with .rdf extension.I set reports_path(In Registry) property to the particular folder where i put all of my reports.In forms developer i add the report as report object from that folder.i set the following few lines in a button click event
--=============================================
declare
rep_id report_object;
v_rep varchar2(30);
begin
rep_id :=find_report_object('report4');
v_rep :=run_report_object(rep_id);
end;
--=============================================
when i click the button it is showing a error "You didnot specify the report name".This is all about from me what i did to run a report from forms.So should i do to run report?
Maybe you are looking for
-
Dvd studio pro: plays back sound witout image
I just burned a small project following all prescribed settings for compressing and mastering (these have worked in the past), the dvd will playback fine on my computer but when played back on home dvd system only the audio is present. thanks for any
-
Hi Gurus, FI department when wants to buy an asset, they directly raise an invoice, But the purchase order is created by MM through ME21N. What kind of purchase order should i be creating, What input parameters should i be giving in the PO.
-
Error installing 11.1.2 on redhat 5 --Oracle HTTP server -- -failed
when i am installing 11.1.2 on RHEL 5 ,i see that Oracle HTTP server installtion failed. I am not understanding what could be the reaosn .? Else is there a way to avaoid the Oracle HTTP server and go for apche HTTP server. Help needed
-
Very strange. I'm encountering all sorts of buggy behavior with regard to font styling, even in the most elementary forms. For example, if I hit command-B to turn on bold (Rich Text is set in preferences for messages), or if I select this from the St
-
MBAir (October 2012)--Startup Disk is Full. 95GB of "Other."
While not huge space eaters, I also don't know what Audio/Movies/Photos I have taking up space. I keep all of those files on an external (which is currently not hooked up). I use Dropbox but only have about 3.5 GB of files there. Any ideas how to A.)