Running a parameter report from form bulder
Hello,i was able to finally run a report from forms 9i,however when this report is a parameter report it doesn't work and i get an error.
Please tell me what to do and don't tell me to read the frm9isrw9i file because i already did and i am completely lost on it.
"....and i get an error." I've got my crystal ball out at the moment but I just can't seem to see the error message ;O))
Seriously, it helps us a lot if you can post the full error message.
Thanks
Grant
Similar Messages
-
Running JSP Excel report from Forms 10g
Perhaps this had been discussed before, though I didn't find an exact solution.
We have a JSP report that displays data in MS Excel. Works fine if called from the url.
The report shall be called from the form passing a parameter list with PARAMFORM=NO.
Problem: reports runs as designed but opens up an empty Excel spreadsheet. No errors, no data..
We are using RUN_REPORT_OBJECT with desformat=spreadsheet and paramform=no.
We can't use just web.show_document alone since quite a few parameters need to be passed.
I've read in one of the posts that a paper layout need to be created (in addition to web layout) to run RUN_REPORT_OBJECT. We've done that, but now it does not open EXCEL, and displays paper layout in a browser.
So, how to call JSP (Excel) report from Forms passing parameter list without displaying the parameter form?
Thank youWhat is the complete Application Server version you are using? Be sure you are using 10.1.2.2
What platform and version is it installed?
What version of Excel is installed on the client?
Does it work if you use an RDF report?
Try this:
o Change DESFORMAT to DELIMITED
o Append the following to the end of the URL created in the WEB.SHOW call:
&mimetype=application/vnd.ms-excel
The result should be the same as using SPREADSHEET. -
How to run a 10g Report from form in client using OC4J
Hi,
Every time we make a report, in order to test it we have to deploy in application server.
In our application we make the report is written as a PDF in the server and shown in the client browser using WEB.SHOW_DOCUMENT.
Is there a way we can do this in the development environment?
Like this: I create a report (i.e. RDF). Now in my development machine I want the form (we use a Oracle Form as a parameter form, not the Reports para form) to have a button, and when I press this button the report has to run, create the PDF in my machine and show it my client browser.
How to do it using OC4J??Steps to take.
(1.) In command prompt type RWSERVER SERVER=repserver1 to star the rep server.
(2.) If you get "Javaw.exe The procedure entry point psoasyn could not be located in the dynamic link library orapls10.dll." error do one of the following
(a.) Type the full name for the server. D:\OracleDevR2\bin\rwserver SERVER=repserver1
or, if it does not work
(b.) Add D:\OracleDevR2\bin to the system env. variable PATH
(3.) Start OC4j
(4.) Now you can access the jobs using URL like:
http://192.161.11.143:8890/reports/rwservlet/showjobs?server=repserver1
where 192.161.11.143 is your machine's IP address. -
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 -
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? -
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> -
How to run report from forms 6i
i want to run report from forms 6i.
can anyone help me in this regard.
asif iqbal
karachi.hi
try something like this.
parameter_list_id := CREATE_PARAMETER_LIST('temp_data');
mywhere:='where 1=1';
if :RESULT_VALUE is not null then
mywhere:=mywhere || ' and diagnosis like ''%'||:RESULT_VALUE||'%''';
end if;
if :HISTORY is not null then
mywhere:=mywhere || ' and histodesc like ''%'||:HISTORY||'%''';
end if;
if :RCOMMENTS is not null then
mywhere:=mywhere || ' and scomments like ''%'||:RCOMMENTS||'%''';
end if;
if :PATHOLOGIST is not null then
mywhere:=mywhere || ' and PATHOLOGISTS like ''%'||:PATHOLOGIST||'%''';
end if;
mywhere:=TRANSLATE(mywhere,' ','~');
ADD_PARAMETER(parameter_list_id,'MYWHERE',TEXT_PARAMETER,mywhere);
RUN_PRODUCT(REPORTS,'C:\SearchResult.RDF',SYNCHRONOUS,RUNTIME,FILESYSTEM,parameter_list_id,NULL);
ADD_PARAMETER(parameter_list_id,'PARAMFORM',TEXT_PARAMETER,'NO');
DESTROY_PARAMETER_LIST(parameter_list_id);and also u can try the following code please modify it with u r requirements.
declare
v_plist_id paramlist;
pl_name varchar2(50) := 'rep_params';
begin
v_plist_id := get_parameter_list(pl_name);
check_param_list (pl_name); --Check availability of paramlist and
destroy is present
--When the parameter list already exists it needs to be distroyed first
if not id_null(v_plist_id) then
destroy_parameter_list(v_plist_id);
end if;
v_plist_id := create_parameter_list(pl_name);
add_parameter(v_plist_id, 'P_1', text_parameter, :block_name.item);
-- input parameter
add_parameter(v_plist_id, 'PARAMFORM', text_parameter, 'NO'); --
suppress the display of the Reports p-form
add_parameter(v_plist_id, 'DESTYPE', text_parameter,
:control.dest_type); -- set file destination type
add_parameter(v_plist_id, 'DESNAME', text_parameter,
:control.dest_name); -- set file destination name
add_parameter(v_plist_id, 'DESFORMAT', text_parameter,
:control.dest_format); -- set file destination format
-- call reports
run_product(reports, 'reports_file', asynchronous, runtime,
filesystem, v_plist_id, null);
end;sarah -
hi all,
I am working in oracle forms 6i and i am trying to run report from
form while press one of the push-button. works fine upto 2nd line from the
begin key-word.After that its showing error like " FRM-40738:Argument 1 to builtin
REPORT_OBJECT_STATUS cannot be null.". Can any-one help me of how to solve this and
wat would be the problem.........?
declare
run_rep varchar2(200);
rep_obj report_object;
rep_stat varchar2(20);
begin
rep_obj := find_report_object('report46');
run_rep := run_report_object(rep_obj);
rep_stat := report_object_status(run_rep);
if rep_stat = 'FINISHED' then
copy_report_object_output(run_rep, 'C:\Documents and Settings\trainee\Desktop\Icons\test.pdf');
else
message('error when running report');
end if;
end;
Please help asup!
regards,
jamehi rosario,
Thanks for ur reply. My requirement is, I want to generate pdf file from the report output. so i wrote the following code which is taken from d2k documentation. Problem area has been highlighted in bold.
declare
run_rep varchar2(200);
rep_obj report_object;
rep_stat varchar2(20);
begin
rep_obj := find_report_object('report46');
run_rep := run_report_object(rep_obj);
rep_stat := report_object_status(run_rep);
if rep_stat = 'FINISHED' then
copy_report_object_output(run_rep, 'C:\Documents and Settings\trainee\Desktop\Icons\test.pdf');
else
message('error when running report');
end if;
end;
Report is running but while coming to report_object_status. complior shows error like "FRM-40738:Argument 1 to builtin REPORT_OBJECT_STATUS cannot be null". Parameter for report_object_status is null, i dont know y it is null because report is running. If report is running means,then there must be some values in run_rep.
why complior doesnt find the values from run_rep.......???
regards,
jame -
Parameter form display while calling reports from form
Dear All,
I am running reports from form using run_report_object. I do not want to see parameter form while running the report. How do I do that.
Thanks in Advance
Gaurav ShahHi, try to set paramform=NO in your parameter list
Daniel -
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 -
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. -
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 -
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 .. -
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; -
Problem in running oracle report from form 10g Version 10.1.2.0.2
Hi All,
I am facing problem while running the report from forms 10g getting FRM-41219
For this i am using the following procedure :
PROCEDURE RUN_REPORT IS
L_RUN_TEXT VARCHAR2 (2000);
L_USRID VARCHAR2 (100);
L_PASSWD VARCHAR2 (100);
L_DESNAME VARCHAR2 (100);
FILE_OUT_PUT VARCHAR2(200);
REP_STATUS VARCHAR2(20);
REP_NAME VARCHAR2(50);
PL_ID PARAMLIST;
REP_URL VARCHAR2(2000);
V_REP VARCHAR2(200);
BEGIN
display_me('RUN_REPORT');
-- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
-- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
-- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
-- PROCEDURE.
IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
RETURN;
END IF;
COMMIT_FORM;
IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
L_DESNAME := 'LP';
ELSE
L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
display_me(L_DESNAME);
END IF ;
/* SETTING THE REPORT OBJECT PROPERTIES */
/* G_PRAM1 IS THE NAME OF REPORT ****/
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
PL_ID := GET_PARAMETER_LIST ('REP_PARA');
IF NOT ID_NULL (PL_ID) THEN
DESTROY_PARAMETER_LIST ('REP_PARA');
END IF;
PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
REP_NAME := :GLOBAL.G_PARAM1||'.REP';
display_me('REP_NAME'||REP_NAME);
V_REP := RUN_REPORT_OBJECT('REPOBJ');
display_me('V_REP '||V_REP);
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
display_me('REP_STATUS'||REP_STATUS);
WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
END LOOP;
IF REP_STATUS = 'FINISHED' THEN
REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
display_me('REP_URL '||REP_URL);
WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
ELSE
MESSAGE('ERROR WHEN RUNNING REPORT');
END IF;
END;
Which is called on a button , can any body share there idea to help out
Warm Regards
AshutoshYes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
declare
REP_URL varchar2(2000);
begin
REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache¶mform=no';
WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
end;
I had the 2nd code also but both r not working on my machine ......... !!
I have made the following setting on my machine:
1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
Values is : D:\vision_soft\VSS\exe
2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
Values is : D:\vision_soft\VSS\exe
3. Entry made in the DevSuiteHome_1\forms\server ->default.env
FORMS_PATH=D:\vision_soft\VSS\exe
4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
#SERVER= rep10
As my forms is working well & but the report are not able to call.
Could you please let me know is there is any other mandatory setting required for the report 10g.
Regards,
Ashutosh
Maybe you are looking for
-
Project Structure in SAP R/3 Replication Issues
Hi All, I have some of the Issues while creating the Project Structure in cProjects. 1) The Project Structure getting generated in SAP R/3 is only mappped with WBS elements, why not Networks and Network Activies. e.g *cProjects SA
-
Hi, i imported xsd. file. But there is occuring an error while i activate. The error message is as followed: Name of '/schema/complexType("GenericTimeStampType")/sequence/choice/element("XMLTimeStamp")' starts with 'xml' Can you help me please Thanks
-
Can you put the balance that you have redeemed off of a card onto your iTunes account back onto the same/new card ? I do not wish to use this balance and have not deducted from the original balance and wish to put back on to the card.
-
Greetings: I retired a few years ago. Used Pagemaker happily for about a decade. Now I would like to start using again. You can guess why. Problem is I have PM 7 on my old PC , but now not sure I can transfer to current PC. I might also want to upgra
-
Cannot connect 4-port switch to hub3
Hi, recently had infinity installed and we are absolutely impressed with it and speeds in excess of 75down which is fantastic! So the setup we have is the router downstairs, and an ethernet going from that to the 4-port switch which was all set up fo