How to run an XML Report from Oracle Forms 10G
Hello Friends,
I am in need of showing a xml report output through a button press trigger in Oracle Forms10G.
I have designed the report in XML Publisher and the report looks fine.I found few scripts useful in running the Oracle Report from Oracle forms10G like Run_Report_Object.But I am not aware of any script that could run a XML report and show the output directly from a Form.
All I want is to run a XML report from an Oracle Form with a button press trigger and show the output in an html version.
Can this be achieved?
If so, Kindly advise as this is an immediate work.
Regards,
Badrul.
Hi,
If I am not wrong the XML publisher is same as BI publisher ...
There is one document which explains how to integrate using web service
You want to check this
http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
or you can also try web.show_document ..
Similar Messages
-
How to run the 9I report from the forms menue 9i
how to run the 9I report from the forms menue 9i.
Shehzad LatifHi,
1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
2. Get the whitepaper about Forms/reports integrtion
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
Frank -
How to Call a jasper report from Oracle Forms 6i.
Hi
Can anybody tel me how to Call a jasper report from ORacle Forms 6i.
Thanks & Regards
BangoForms 6i client/server? Use the HOST command to call the report. Since a Jasper report is just a call to a url, it will be something like:
v_url := '<your url to the report>';
host ('cmd /c start '||v_url);If it's web Forms 6i it even easier. Just use web.show_document(<url>). -
URGENT!!! calling crystal reports from oracle forms 10g
Is it possible to call crystal reports from oracle forms 10g?
Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
Please provide codes with details showing step by step.
Thankshi
try something like this.
DECLARE
charWinHandle VARCHAR2(50);
numWinHandle NUMBER;
BEGIN Set_Application_Property(Cursor_Style,'BUSY');
charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
numWinHandle := To_Number(charWinHandle);
:Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
:= numWinHandle;
:Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
:Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
:= 'DSN=;UID=' || Get_Application_Property(UserName) ||
';pwd=' || Get_Application_Property(password) || ';dsq=;';
Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
'C:\Sample_Rep.Rpt' );
Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
Set_Window_Property( 'MAIN', Window_State, Maximize );
:reptitle := 'Report Preview Window';
numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
Set_Application_Property(Cursor_Style,'DEFAULT');
END;NOTE: Change the report name and path according to your required file name and path in
the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
assumes that you will use the current USER and PASSWORD for the Form.
- To make the above Form generic so that you can run any Crystal report from it, then create
a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
Then just replace the file name with the passed parameter.
-. Run the Form
If its correct/helpful please mark it thanks.
sarah
Edited by: S@R@h on Nov 27, 2009 6:33 AM -
Calling Crystal Reports from Oracle Forms 10G
Hi everyone,
I am trying to call a crystal report from Oracle Forms 10G.
I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
Can someone please send me the code to do this and also the exact steps that are to be followed.
Thanks
Fm.Hi Andreas,
I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
Is that possible ? If yes please let me know the steps to do this.
Thanks
Faiz
Edited by: IQ on May 13, 2011 11:38 AM -
How to send a character mode report from Oracle Form 10g to a printer.
how sending a character mode report from Oracle 10g report to a printer.
I'm sending to a printer located in the network
i have theses parameter report
desformat = prtname
desname=??????
destype= ?????
mode=character
i would like to preview the report before to send to a printer
sldsACCOUNTING SYSTEM
2006-2007 From Date : 01-JUL-06
Printed On : Friday August 31 2007 11:13 AM To Date : 30-SEP-07
G A/C. Code 99-99-9999 Description: xxxxxxxxxxxxx H
-- DOC. # -- -- DATE -Chq/Slip# ---------- N A R R A T I O N -- -- DEBIT -- -- CREDIT -- -- BALANCE --
Opening Balance: -999,999,999.00 Cr.
G *** Total *** 0.00 0.00 -999,999,999.00H
================= ================= =================
when i run character mode report in browser then display this output properly
but sir problem is that when i print the report
G(use for bold)
is not working
means not print in bold format in printer
same character print G
do you have any idea when i print through browser to printer G for bold purpose its work to printer ? -
Calling a report from oracle form 10g
how to call a report from oracle form 10g
Please see the link:
http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf -
How to call a .rpt file from oracle form 10g
I need to call a .rpt file from oracle form 10g. please suggest what to do for this
Hi,
onlz rdf and rep files are Reports executables. Convert rpt to rep and you are file (Reports has a conversion utility in the bin directory)
Frank -
Problem displaying a report from within Oracle 10g forms.
After a lot of work, we are able to access and actually display a report directly from Internet explorer and view the report from the report server as well.
The successful url was:
http://york.vrc.virginia.gov:7778/reports/rwservlet
?report=/u01/app/oracle/produ ct/vrcmidtier/reports/vrc/pmw41051.rdf
&userid=vrcpr/vrcpr@vrctest&destype=cache&desformat=HTML
The form displays correctly back to the screen
When executing from within the form, however, the report runs but does not display back to the screen.
Forms Steps so far:
created a report object called pmw41050
static parameters are:
file name: /u01/app/oracle/product/vrcmidtier/reports/vrc/pmw41051.rdfination format
execution mode: batch
communication mode: synchronous
destination name; null
destination format: HTML
reportserver:: vrc_york_midtier
Built a when button pressed trigger as follows:
declare
l_report_file varchar2(200);
l_report_id REPORT_OBJECT;
l_report_status varchar2(200);
begin
-- capture the report
l_report_file := 'pmw41051';
l_report_id := find_report_object(l_report_file);
-- set the parameters for this output
set_report_object_property(l_report_id, REPORT_EXECUTION_MODE, BATCH);
set_report_object_property(l_report_id, REPORT_COMM_MODE, SYNCHRONOUS);
set_report_object_property(l_report_id, REPORT_DESTYPE, CACHE);
set_report_object_property(l_report_id, REPORT_DESFORMAT, 'PDF');
set_report_object_property(l_report_id, REPORT_SERVER, 'rep_york_vrcmidtier');
set_report_object_property(l_report_id, REPORT_OTHER, 'PARAMFORM=NO');
set_report_object_property(l_report_id, REPORT_DESNAME, 'DESNAME');
-- and run the report
l_report_status := run_report_object(l_report_id);
-- monitor progress
while l_report_status in ('RUNNING', 'OPENING_REPORT', 'ENQUEUED') loop
l_report_status := report_object_status(l_report_status);
end loop;
message('back from the report'); -- test message for return
end;
The report executes without error (as indicated by the message on the last line) but does NOT display back to the screen
checking the rwservlet/showjobs verifies the report completed and the reportcan be displayed from there.
So, bottom line: how to make a 10g form call report and display it on the screen?Thanks MIke for your feedback...
Will this surfice?
Procedure Test_Report Is
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
BEGIN
repid := find_report_object('report5');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'html');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repserver90');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no pdeptno='||:dept.deptno);
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
/*Display report in the browser*/
WEB.SHOW_DOCUMENT('http://<YourServerName:8888/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
ELSE
message('Error when running report');
END IF;
END; -
Calling a Report from Oracle Forms 10g
Hi Everyone,
I need assistance.
Am running Oracle Forms & reports 10g.
My Form module is running just fine. Inside the the Form Module I added a button with a "When Button Pressed Trigger" that has the following code
declare
repid REPORT_OBJECT;
v_rep VARCHAR2 (100);
begin
repid := FIND_REPORT_OBJECT ('REPORT49');
v_rep := RUN_REPORT_OBJECT (repid);
end;
This compiles without any errors.
At runtime when I press the Button from Forms, I get the following error;
"FRM-41211: Integration error: SSL failure running another product"
Please assist.
Regards,
PascalineHi user593321
FRM-41211: Integration error: SSL failure running another product.
Cause: There is a problem detected when launching another product.
Action: Check the RUN_PRODUCT built-in.
Level: 99
Type: Error
Below a very useful links pls try them, i recommend the 2nd one:
http://www.programmersheaven.com/mb/oracle/211184/211184/ReadMessage.aspx
http://www.developpez.net/forums/showthread.php?t=292435
Best Regards,
Abdetu.. -
How to print BIP reports from Oracle Forms?
Hi all,
I have a question in regards to printing BIP reports from Oracle Forms... We are aiming for a server installation of BIP with integration to Oracle Forms using SSO to handle security. We use Forms built-in web.show_document to render and view the report in PDF/Excel etc... We would like to by pass the viewing and print some of these reports directly to the printer.
Any idea/suggestions how we can go about this?
Thanks in advance for your time.
YahyaYahya,
via HTTP it's not possible to send a report directly to the printer. You had to go via the Scheduler, which is able to do that. With the WebService API you can call a report with the Scheduler and Execute Immediate.
Regards
Rainer -
How to invoke crystal reports from Oracle forms 11g R2 along with passing p
How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
how to pass parameters to crystal report, please help.how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
cheers -
How to run non-customised report from command prompt to gen trace file?
Hi
how to run non-customised report from command prompt to gen trace file?
EBS R12 RUP6.
RHEL5
rgrdsHi,
See (Note: 285497.1 - Rwrun.sh Does Not Generate Trace Output Using TRACEOPTS in Command Line) and/or (Note: 737445.1 - R12 Concurrent Requests Run Forever; rwrun Errors REP-50125) for the command you need to use.
Thanks,
Hussein -
How to configure and call Jasperreport from Oracle Forms 10gr2
Dear All
Please help me in configuring Jasperreport with Oracle Forms 10gr2 or AS.
And also tell me how to call a report from Oracle Forms.
ThanksI have a pro*c precompiled program on unix server (unix environment) and I want to execute or running it from oracle forms, release 4.5 on MS Windows.
how do i execute or running it from oracle forms, release 4.5 ? please tell me what the command (syntaxs) is and all about it ?you can mail me at [email protected]
thank's -
Calling Report from Oracle form 11g
I am new to Forms 11g, trying to call report from Oracle forms 11g .
I want to call report from oracle forms, but its giving error.
Below is the code
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
BEGIN
repid := FIND_REPORT_OBJECT('empreport'); -- report node in forms builder
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, BATCH);
set_report_object_property ( repid, report_filename, 'empreport.rdf' ); -- report name
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'RptSvr'); -- report server name
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
if
rep_status = 'FINISHED'
then
WEB.SHOW_DOCUMENT('http://inorasrv-pc:7001/reports/dtd/rwservlet/getjobid='||v_rep||'?server='||'RptSvr','_blank');
else
message ( 'error while running reports-object ' || error_text );
message ( ' ' );
clear_message;
end if;
end;
Above code giving following error :
Unable to connect to report server RptSvr
I think my report servername is wrong
Where to find report server name in 11g.
I am Using weblogic server, so can i give weblogic server name
Thanks in advance.
Edited by: parapr on Aug 17, 2012 1:52 AM
Edited by: parapr on Aug 17, 2012 3:21 AMHi,
You have to have the report server
a. Installed and configured
b. Running.
See
http://docs.oracle.com/cd/E21764_01/bi.1111/b32121/pbr_strt001.htm
http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_verify004.htm
http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_conf003.htm#i1007341
If you are using rwservlet then you will find the name from the Configuration file referred to in the last link.
Cheers,
Maybe you are looking for
-
Error while building gobject introspection with Jhbuild.
I am trying to build gobject introspectio with jhbuild and I am getting the following error. *** Checking out gobject-introspection *** [1/1] git remote set-url origin https://git.gnome.org/browse/gobject-introspection git remote update origin Fetchi
-
Can't get GarageBand to record with line in
I just got my MacBook Pro last week and I bought a Monster 1/4" to 1/8" inch adapter so that I could record my acoustic/electric guitar with Garageband. I know that if you want to use the line in to record, you have to select it in the Sound area of
-
Question about the ECC6 migration and the retrieving of partner's address
Hi experts, I have already post a thread about the use of the table BUT021_FS instead of BUT020 for retrieving partner's standard address. I do modifications to my specific programs. But what about the standard?like BUA_BUT020_SELECT_WITH_PARTNER for
-
R&R Backup (Image) on two external USB drives
Hi Forum, in the early BIOS state of my T500 and working with Vista I had to rebuild my system several times due to OS failures. For that reason I periodically run R&R and make images on an external USB drive. Since I'm traveling very much I always h
-
Loss of formatting when exporting to EPUB
Hi All, I am working on a premium ebook with audio files and graphics. There are 32 chapters plus Intro, and each has an associated mp3. File size is 132 MB without pictures. Everything is fine until I start to add pictures; after adding several pict