Run report from EBS with Discoverer running on a separate server
Hi.
Usually, when I define a report as a form function, it can be accessed using an URL.
In my current project, Discoverer (10g) is running on a separate application server (but using the same database). Is there any way of specifying a function in E-Business Suite to open a report from an external server?
Actually, the URL is to a form function, which in turn will open the report. This URL is just pasted into a jsp in iStore.
If there's another and maybe better solution, I'd really like to know.
I think the ideal solution would be a jsp querying the database and displaying all Discoverer reports assigned to a specific responsibility, then linking directly to the report in viewer, but I don't think this is doable without extensive work.
Similar Messages
-
Numbers are not formatted when run report from EBS
I am opening a new thread to solve my problem of formatting the number in xml report
I dont understand i format the field number in rtf template and the number is displayed correctly when i preview it in pdf.
The situation is like this :
1. i have a field which calculate the sum for every page.
i am using this code to calculte the sum for every page
*<?if:(position()>=$start) and (position()<($start+$lpp))?>*
*<?xdoxslt:set_variable($_XDOCTX,’var’,xdoxslt:get_variable($_XDOCTX,var’)+translate(CF_amount,',',''))?>*
*<?end if?>*
and i diplay this field in this way
*<? format-number: xdoxslt:get_variable($_XDOCTX,’var'); '999G999D99' ?>*
When i preview it from word this sum is displayed correctly : 444,444.34
But when i run this report from ebs the sum amount is displayed like this 444,44434 wich means that the dot is nt displayed .
Can anyone tell me what am doing wrong or how can i resolve this problem ?
Thanks in advance
REgardsHi,
Check your previous thread , i responded there ;)
Regards,
Colectionaru -
FRM-41214 unable to run report from forms with parameters
Hi all,
I am unable to run a report from forms if I pass parameters. Report is running fine in reports builder and in url if I access the report straightly.
I used set_report_object_property to pass the parameters.
Any clues to solve this problem?
PriyaHi Jeneesh,
Code is below:
myreport1 :=find_report_object('MYREP');
reportdata := Get_Parameter_List('reportsdata');
IF NOT Id_Null(reportdata) THEN
Destroy_Parameter_List( reportdata );
END IF;
reportdata := Create_Parameter_List('reportsdata');
Add_Parameter(reportdata, 'account_number', TEXT_PARAMETER, :parameter.account_number);
/* Setting the properties into Report Object */
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_DESTYPE, CACHE);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_DESFORMAT, 'htmlcss');
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_SERVER,vc_reportserver);
SET_REPORT_OBJECT_PROPERTY(myreport1, REPORT_FILENAME, 'C:\priya\forms\EmcySummary.jsp');
SET_REPORT_OBJECT_PROPERTY(myreport1,REPORT_OTHER,'account_number='|| :parameter.account_number);
/* Value of v_rep identifies the report that is currently running either locally or on a remote report server */
vrep := RUN_REPORT_OBJECT(myreport1,reportdata);
/* Checking for Report Server is started or not, if not throw an exception else proceed */
if vrep = vrep||'_0'then
raise form_trigger_failure;
end if;
vjob_id := substr(vrep,length(vc_reportserver)+2,length(vrep));
vrep_status := REPORT_OBJECT_STATUS(vrep);
/* Checking the status of the report */
WHILE vrep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
vrep_status := report_object_status(vrep);
END LOOP;
/* When the report status is successful then report is generated in Web */
IF vrep_status = 'FINISHED' THEN
-- COPY_REPORT_OBJECT_OUTPUT(vrep,v_tempstorage);
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||vjob_id||'?server='||vc_reportserver, '_blank');
END IF;
---Any clues? -
Oracle 10g Developer suite
using OC4J
hi experts
can you please share some code here to run report from form with and without passing parameters.
regardsTry This
Declare
v_connect VARCHAR2 (200) := 'userid=nisadmin/nisadmin@abc';
v_report_name VARCHAR2(100) := 'Voucher.rdf';
v_format VARCHAR2(12) :='Htmlcss';
Begin
Web.Show_Document('http://hoitvoltes5:9002/reports/rwservlet?'||v_connect||'&server=ReportsServer_HOITVOLTES5_asin&destype=cache&report='||v_report_name||'&desformat='||v_format||'&companyid='||:voucher.companyid||'&vouno='||:voucher.vouno,'_blank');
End; -
Running report from a button in forms 6 with parameter
im new to reports 6 please give me the code for running report from a button in forms 6 with parameter
regardsHi ,
Use this SRW.RUN_REPORT..
Go thru the help in Reports by typying
Running a report from Form Builder or Graphics Builder
go thru the instuctions and examples.
--Basava.S -
Running Reports from Client Machines in which the reports are residing on t
Hi Folks,
I'm using Developer 6i with Oracle 9i. I can run forms from the clients so that the FMX file is residing on a shared drive on the server, but when I try to run reports which also reside on the shared drive of server, I get error that unable to find the report. Do I need to install report server on the client machine/server or am I missing some basic step here?
TIA
HassanHi,
There's a whitepaper on the topic of Forms/Reports integration for the web called "Oracle9iAS Forms Services and Reports Services Integration". This should give you the information you are seeking.
regards,
Stewart -
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 -
How to create a variant to a report from another program at run time
Hi experts,
when i am using FM : /OSP/REPORT_CREATE_VARIANT to create a report variant from a program then i am getting an error 'For object /OSP/ERPNR , number range interval 01 does not exist ', how should i avoid it or can any one help me out to create a report variant from another program at run time with the results of the program.so that i can execute the report from here with this variantIf i understand you,
- You can use a FM like [RS_CREATE_VARIANT|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=rs_create_variant+&adv=false&sortby=cm_rnd_rankvalue] to create a variant and then use it in the [SUBMIT|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096d67543b11d1898e0000e8322d00/frameset.htm] statement USING SELECTION-SET.
- But you may also use SUBMIT with WITH parameters which doesnt require variant creation and with much less programming efforts.
- You can mix the two solutions also.
So what is you actual requirement, also look at some documentation like [ Scheduling a Job: Full-Control Method|http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/096ce5543b11d1898e0000e8322d00/frameset.htm]
Regards -
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; -
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 -
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? -
How to run report from form using run_object_report
I AM USNING FORMS9I/REPORTS 9I , HOW TO RUN REPORT FROM FROM USING RUN_REPORT_OBJECT AND HOW
TO PASS PARAMETER AS WE DID IN RUN_REPORTS PLEASE HELP MEhere an example !
I hope this example you can use it
PROCEDURE pr_reporte IS
BEGIN
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status Varchar2(20);
d1 DATE;
d2 DATE;
BEGIN
d1 := :GLOBAL.DIA_INI;
d2 := :GLOBAL.DIA_FIN;
repid := find_report_object('rep_lab02');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'p_fec_uno='||to_char((add_months(last_day(d1),-1) +1),'DD/MM/YYYY')||' '||
'p_fec_dos='||to_char(d2,'DD/MM/YYYY'));
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
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('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
ELSE
ventana('E','error reporte no encontrado','S');
END IF;
END;
END;
The 'rep_lab02' is the name of the report that you give in the node reports
p_fec_uno and p_fec_dos they are the parameters in the report
repserver is the name of server created with rwserver
Greetings
Maybe you are looking for
-
Acrobat X Pro 2.3Gb?
Adobe, what's with the 2.3 Gig install for Acrobat X Pro? Not even Photoshop x64 is that big (not even close!) What are you stuffing in there? And why can I not customize the install? I'd like more information on what makes the Acrobat X Pro footpri
-
Client found response content type of 'text/plain', but expected 'text/xml'
Hi All We have developed a J2EE- JAX-RPC web service using Weblogic's 'ServiceGenTask'. Invoking web service via java client and SOAP UI works like charm but fails when the service invoked via .NET client. Below is the .NET sample code and the Stack
-
Why won't Mountain Lion install on my MacBook Pro?
Ok, so I've just bought Mountain Lion from the app store for my 2010 13 inch MacBook Pro, it's been downloaded, and now I'm trying to install it. It takes me to the first page, I accept the software license agreement and all that, choose that I want
-
Configuration error 15 in Mac 10.5.8
Hello, I have installed production premium cs5 But upon launching the product, i get the error message as 'configuration error 15' my friend told me to repair the disk permission and rename the adobe pcd folder But still I am getting the same error A
-
I need help. I can not print from QUICKEN to my HP Officejet J6480 printer. Nothing happens. It was working in the recent past. NOw that I need to print out the remainder of my record for income tax prep, it won't print. I can not thinnk of a si