Need open REPORT from FORM in Oracle Apps with Parameters

Hello All,
I have a custom Form, which is running fine in stand alone by invoking the report from it.
There is a code in behind the button which triggers to open the report having parameters.
Here we used RUN_PRODUCT function to invoke the form.
Now when i register this same form in Oracle Apps environment, we are able to see the form,but when clicked to button, its erroring at RUN_PRODUCT
Please let me know the workaround on this.
Appreciate your support.
Thanks.

Hi,
I have the rdf at the location at a particular unix server ( 10.10.10.10 say) at /abc/efg/OPENFORM.rdf
This is the Test Instance server for Oracle Applications.
How do I put this in we.show_document ?

Similar Messages

  • Unable to open report from forms 9i

    Hi,
    Unable to open report from forms 9i and got the following error.
    Error : REP-0503, You did not specify the name of a report
    Steps followed
    1.Created report object in forms using existing report
    2.changed the following properties
    Exec. mode : runtime
    comm mode : synchronous
    3. When -button -Pressed Trigger;
    Declare
    Repid report_object;
    Begin
    repid:=find_report_object('report4');
    v_rep:=run_report_object(repid);
    End;

    Hi,
    did you specify a Reports rdf or rep file that should be run. You can do this either in a trigger or as a property of the Reports object node in Forms.
    Frank

  • How to open report from form

    I'm tring to open report from a form
    using Run_report_object built_in on 9i
    and i get error messages
    such "you did not specify repor name "
    and "REP-0110 unable to open file
    REP-1070 error while openning or saving document "
    I get a look on the help and i found an enviroment parameter called
    "Reports25_path" that un seted on my computer (Windows XP) and I must put my report file in its location
    what can i do to open my report from a form ?
    thank yuo for help .
    I'll be gratfull if you send answer on my e-mail [email protected]

    Forms/Reports Integration 6i (6.0.8)
    http://www.oracle.com/technology/products/forms/pdf/277282.pdf
    Forms/Reports Integration 9i (9.0.2)
    http://www.oracle.com/technology/products/forms/pdf/frm9isrw9i.pdf
    Forms/Reports Integration 10g (9.0.4)
    http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf

  • Error on generating reports from forms -- 499 Oracle SSO

    hai friends..
    while am tryng to generate a report from a form(without passing any parameters), am
    geting the following message:
    *499 Oracle SSO*
    Oracle SSO
    am posting my code used:
    PROCEDURE RUN_REP_RRO
    ( ip_report_name_incl_path VARCHAR2,
    ip_report_object_name VARCHAR2,
    ip_report_server_name VARCHAR2,
    ip_parameters VARCHAR2
    ) IS
    v_user_name VARCHAR2(60);
    v_password VARCHAR2(60);
    v_database VARCHAR2(60);
    v_report_id REPORT_OBJECT;
    v_report_job_id VARCHAR2(100);
    v_report_status VARCHAR2(100);
    BEGIN
    v_user_name := GET_APPLICATION_PROPERTY(USERNAME);
    v_password := GET_APPLICATION_PROPERTY(PASSWORD);
    v_database := GET_APPLICATION_PROPERTY(CONNECT_STRING);
    v_report_id := FIND_REPORT_OBJECT(ip_report_object_name);
    SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_EXECUTION_MODE, RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESTYPE, CACHE);
    SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESFORMAT, 'HTML');
    SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_FILENAME,ip_report_name_incl_path);
    SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_SERVER,ip_report_server_name);
    Web.show_document ('/reports/rwservlet?server=rep_auh0030482_app_serv3&paramform=no&REPORT=C:\TESTFORM.rdf&destype=cache&desformat=html&userid=scott/tiger@orcl','_blank');
    pls help me on this issue...

    Steve,
    can you check the Reports cache directory if the Reports file got created? I would assume yes, but better check.
    Frank

  • To open report from form

    Como hago para abrir un formulario creado en reports desde forms con los datos que tenfo cargados en el formulario

    If I understand your question, you have to use RUN_REPORT_OBJECT. See
    http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf

  • Unable to open reports from forms

    I managed to configure the forms and report services ( 10g application server ) in my web server , the report server works, only 1 problem , when I run the report , the parameter form came out asking me to select the course report i want.
    However, after I selected the value I wanted and press Submit Query, I get a "page cannot be displayed" error.
    I think is some configuration I missed out. Can anyone help to verify the configurations I may need?
    The version I install is 10.1.2 forms and report services 10g .
    Thank you

    Refer to the white paper titled "Using Run_Report_Object to call Reports with a Parameter Form":
    http://www.oracle.com/technology/products/forms/techlisting10g.html

  • How to publish a report from Discoverer  to Oracle App. Server

    Hi,
    I am just getting into this. I glanced through admin & desktop user guides(10g Release 2 (10.1.2.1)) for information on how to publish the end report developed using discoverer desktop onto Oracle Application server?
    Do anyone of you know which tool allows me to do that?
    ( perhaps, this would be a silly question to ask. But I got a bit inpatient in knowing about it)
    Thanks,
    Sun

    You are correct, the viewer will provide that functionality, it is a web tool that they can use to view the saved workbooks.
    There are some differences between the plus and the desktop, for example:
    1. The desktop should be installed on every end user computer in order to run reports while the plus is installed on IAS server and all the user referred to it.
    2. you cannot install the desktop on any operating system other then windows.
    3. there are functionality differences between the 2 apps like: in the desktop you can perform sub query that you cannot create in the plus (you can use a pre built)
    4. in the desktop you can save the workbooks locally, in the Plus you can save to the database only.

  • 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
    Ashutosh

    Yes, 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&paramform=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

  • Calling report from forms :- need to disable file menu in report previewer

    Hi all,
    I am using report 6i and forms 6i
    I am invoking report from forms
    if report_status='N' then I want to disable the file menu in report previewer
    Is it possible to disable and enable file menu in report previewer
    Please help
    Thanks
    :8}

    i got way

  • Registering Forms in Oracle Apps 11i

    Hi hussein,
    This is the docs for registering an Oracle Form in Oracle Apps 11i.
    To Register a custom form in Oracle Applications, take the following steps.
    (As practice, copy the form FNDRSRUN.fmx under the $FND_TOP/forms to a file
    called RUNRPT.fmx. The form RUNRPT.fmx will now be used in the following steps.)
    1.Log into the Applications Developer responsibility
    2.Navigate to Application > Form
    3.Enter the form name under the "Form" column
         RUNRPT
    4.Enter the Application under the "Application" column using the list of value
      button, or the "List of Values" function under the "Edit" menu option.
         Application Object Library
    5.Enter a name for the form under the "User Form Name" column
         My Report Run Form
    6.Enter a description for the form under the "Description" column
         Custom Report Run Form
    7.Save
    [\code]
    My question is, how do I run the form in the Oracle Apps? After registering it.
    And this is also another doc:Rgistering form will takes following steps
    1) Create custom form
    2) place it in CUSTOM_TOP in unix box
    3) compile form with f60 gen and check whether compiled form .fmx is generated.
    4) register your from
    Registering a Form
    Navigation – Application Developer -> Application->Form
    5) Register Form Functions
    Navigation – Application Developer -> Application->Function
    6) attach it to menu.
    7) menu must be submenu to menu or attached as to responsibility from which you are going to run form.
    For report we are attaching concurrent program to responsibility but here form function must be attached to Menu.
    My question is, how do I know if a form has a function that needs to be registered?
    Thanks a lot
    msk

    Hi,
    My question is, how do I run the form in the Oracle Apps? After registering it.You already have the steps in your post, just add the form to the menu and attach it to the responsibility.
    My question is, how do I know if a form has a function that needs to be registered?Sorry, I cannot be of much help here, but you may check the Developer Guide and see if it helps.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf
    Regards,
    Hussein

  • 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

  • Report  from  form

    Hi,
    i called report from form with following and gives the
    error
    REP-0100 Unable to open the file
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    repid := FIND_REPORT_OBJECT('DUMMY_REPORT');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    Thanks.

    Hi,
    this tells you that the Reports Server cannot find the physicale reports file. Please see
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • How to print a message in forms in oracle apps

    Hi all
    i am using oracle apps r12
    In when button trigger how to print a message when the button is pressed.
    I tried message('HELLO'); this works in oracle forms but in oracle apps its different and i searched so for and used like this
    fnd_message.set_name( 'FND', 'FND_GENERIC_MESSAGE' ) ; but it doesnt works
    Regards
    Srikkanth

    Hi
    Thanks for your kind response.
    Can you please give me the steps to call a form from another form in oracle apps i am using apps r12.
    I have created a custom form and attached in the special menu and in that form i have two button are there. When the use click the one button another form(custom form) need to called. Can you please provide me the steps.
    Whether it is different from oracle form builder like CALL_FORM('FORM_NAME', ACTIVATE) like this.
    Regards
    Srikkanth

  • REP 110 & REP 0110 .calling reports from Form 10g(10.1.2.0.2)

    Hi All,
    We are migrating form from Oracle form 6i to Oracle 10g(10.1.2.0.2). I am calling reports from forms
    using Web.Show_Docment(). When we run reports in report builder 10g it works fine.
    But when we try to run reports from Forms 10g it throws error which is given below.
    We want to run reports from UNIX. After using this url to submit report we get error REP 110 and REP 0110
    URL
    http://GEM:7777/reports/rwservlet?server=rep_server&report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    ERROR
    REP-110: File '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2' not found.
    REP-0110: Unable to open file '/u01/forms/QA_Forms10g/GEMREP.rdf DESTYPE=CACHE DESFORMAT=HTML p_user_id=XYZ p_client=2'.
    I will really appreciate your help.
    Thanks
    Sandy

    Hello,
    You are mixing 2 separators in the URL : & and +
    Use only one separator in the URL :
    Example :
    http://GEM:7777/reports/rwservlet?server=rep_server+report=/u01/forms/QA_Forms10g/GEMREP.rdf+DESTYPE=CACHE+DESFORMAT=HTML+p_user_id=XYZ+p_client=2
    Regards

  • Running report from forms

    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.

Maybe you are looking for

  • Error message in excel 2003 : compile error in hidden module could be caused by Adobe Acroate add in

    The error message in excel 2003 : "compile error in hidden module AutoExecNew" could be caused by Adobe Acroate add ins, thats waht microsoft told me.I use windows xp service pack3.I have got reader newest version and photoshop 6.0. With this and als

  • How to parse 16 bit signed integer

    Currently, I am attempting to collect meaningful data from a flow meter connected through serial communication (RS-232 port).  The received data is a 16 bit signed integer in two's complement representation i.e. the 16 bit signed integer is in binary

  • Install Disk Trouble

    Ok, so yesterday I was wiping my computer (too much crap) and I deleted everything on Macintosh HD. I had tried installing Mac OS X with the CD I have, but it turns out that the CD was the installer for OS X 10.5.5, when my computer shipped with 10.5

  • Processing file problem

    Just recently i have noticed that Itunes downloads the file and then proccesses the file. It seems to get  stuck on the processing the file for some hours. I am running Mavericks and have been abled to sucessfully download and process files. Have res

  • Photos Missing from Original's Show Package Content

    Because I still have some photos with the ! over them when clicked, I decided to make a new library with the originals from the iPhoto Show Package Contents. I moved the existing library folder to the desktop and opened the library package with a con