Calling report user parameters from forms

If I run the report from report builder, it will prompt me the user parameters for input, however if I create a mouse click trigger in a form to call the report, the parameters won't prompt, how can I make it prompt ?
I want to create a text field on the form for user to input the user parameter values.
thanks.

create a text-field or drop-down or what ever object that you want to in the form ...
and then use run_report_object to run the report by passing parameters from your form (from the text field or drop-down) to the report..

Similar Messages

  • Calling Reports on Web from Forms

    Hello Friends,
    Right now I am able to run my reports from HTML page/by
    giving URL in IE.
    but I want to call reports from form application. in
    client/Server model, I used RUN_PRODUCT built-in. when i am
    converting to web, i don't know how to call reports from form.
    one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    pass the Parameter List, as we pass parameter list in
    RUN_PRODUCT built-in.
    even though we can pass like
    report=xyz.rep&destype=screen ....
    If there is '&' in the paramtere value , how should we take
    care of this. If any one knows solution, please let me know
    Thanks in advance
    Regards
    Surendra.
    null

    Surendra Babu (guest) wrote:
    : Hello Friends,
    : Right now I am able to run my reports from HTML page/by
    : giving URL in IE.
    : but I want to call reports from form application. in
    : client/Server model, I used RUN_PRODUCT built-in. when i am
    : converting to web, i don't know how to call reports from form.
    : one way is using WEB_SHOW_DOCUMENT. in this case , we can not
    : pass the Parameter List, as we pass parameter list in
    : RUN_PRODUCT built-in.
    : even though we can pass like
    : report=xyz.rep&destype=screen ....
    : If there is '&' in the paramtere value , how should we take
    : care of this. If any one knows solution, please let me know
    : Thanks in advance
    : Regards
    : Surendra.
    Hi Surendra,
    Run Reports using Run_product tool by passing all the parameters
    reqd. for your report and save it as a file in *.pdf format(
    recommended) then call the saved report in WeB.Show_document
    which will call your saved report .
    Ex:
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id:=Get_parameter_list('mtetgdata');
    IF NOT Id_Null(pl_id) then
    Destroy_Parameter_list(Pl_id);
    END IF;
    Pl_id:=CREATE_PARAMETER_LIST('mtetgdata');
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');
    ADD_PARAMETER
    (pl_id,'DESTYPE',TEXT_PARAMETER,:REP_LAUNCH.DESTYPE);
    ADD_PARAMETER(pl_id,'DESFORMAT',TEXT_PARAMETER,'PDF');
    ADD_PARAMETER
    (pl_id,'P_RECV_129',TEXT_PARAMETER,:REP_LAUNCH.RECV_129);
    ADD_PARAMETER(pl_id,'DESNAME',TEXT_PARAMETER,'J:
    \WEBFORMS\RepTemp\ACHD_129.pdf');
    ADD_PARAMETER(pl_id,'P_START_DATE',TEXT_PARAMETER,TO_CHAR
    (:REP_LAUNCH.START_DATE,'DD-MON-RRRR'));
    RUN_PRODUCT(REPORTS,'J:
    \WebForms\REPORTS\ACHD_129.rdf',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl
    _id,NULL);
    WEB.SHOW_DOCUMENT
    ('http://xdb.oraweb.net:8889/Webforms/RepTemp/ACHD_129.pdf','_sel
    f');
    end;
    I hope this will solve your problem
    Rao Guduru
    null

  • Calling Reports on Web from Forms 6

    Hi
    The problem I have when I am calling Reports from Forms is, if I am calling 3 reports from the Forms the first report called is never shown in the browser while all the others are shown in the previewer.
    Is there any property setting I am missing! Please Help!
    Thanks,
    null

    hello,
    please check the DESTYPE and DESFORMAT settings of the report that does not show up. if you do not pass these settings in you parameter-list the report uses the default values set in the report definition. if these are set to DESTYPE=FILE or PRINTER then the report never shows up.
    regards,
    the oracle reports team

  • Problem with called Report 6.0 from Forms

    Hi all,
    I have built a form in 6.0 which calls a Report through a RUN_PRODUCT procedure.
    I pass a few parameters to send it directly to a printer, but all that comes out is a white page.
    When i send to the screen, there's no problem. The cause of the white paper is that apparently the margins are set in such a way that the report falls of the page.
    Any idea how i can correct this ...? This only occurs when it is called from the form. Is there a parameter i've missed...?
    Thanks.
    PS Please mail any sollution you can think of. I don't have an internet-connection at work. The mailaddress is [email protected]

    There have been some changes between 10.1.2.0 and 10.1.2.3. In some cases, java beans will need to be recompiled against the latest frmall.jar file. One example of this issue is noted in the following places:
    MyOracleSupport Note 559213.1
    and here:
    http://forms.pjc.bean.over-blog.com/
    Also, be sure to consider other changes you have made. For example, if you were using Jinitiator with 10.1.2.0 and are now using the Java Plug-in this may also be a cause of the problem. I am not suggesting that using the JRE (java plug-in) is causing the problem, but simply that some minor other changes may be required in order to have everything work in harmony together.

  • Pass User Parameters between Forms and Reports...?

    Hi,
    I have been trying to pass user parameters from forms to reports using
    RUN_REPORT_OBJECT. I am able to run the report from the form, but still don't know how to pass user_parameters. Does anyone know how to do this?
    Thanks,
    AB

    You can use SET_REPORT_OBJECT_PROPERTY with the "REPORT_OTHER" parameter
    The following example passes 3 parameters to the report:
    SET_REPORT_OBJECT_PROPERTY(pt_report_object_id, REPORT_OTHER, 'paramform=no p_param_1='||pc_param_1||' p_param_2='||pc_param_2);

  • How to call a rdf file from Form

    Hi,
    I am begginer in Oracle Reports Builder, and I would like to know how to call a .rdf (report) file from a Form, passing parameters.
    Thanks in advance.
    Sandro

    Hello,
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    Integrating Oracle Forms 10g and Oracle Reports 10g 2-
    Oracle Forms Services - Using Run_Report_Object to call Reports with a Parameter Form
    Regards

  • Calling discoverer 3.1 from forms

    I want to invoke a .dis file from Forms 6i.
    I have discoverer 3.1
    regards
    A.Panico
    null

    Are we talking web or C/S ?
    In C/S discoverer has a command line interface that you can use to pass parameters such as workbook name and call it with host from Forms.
    On the Web you can call the workbook with URL and parameters by using web.show_document in forms.

  • Calling Discoverer 4i workbook from Forms

    How to call a Discoverer 4i workbook (saved in the database) via Forms?
    Best regards
    Honorio Jr

    Are we talking web or C/S ?
    In C/S discoverer has a command line interface that you can use to pass parameters such as workbook name and call it with host from Forms.
    On the Web you can call the workbook with URL and parameters by using web.show_document in forms.

  • How to Pass User-defined Parameters from Forms to Reports

    Hi!I am trying to launch an existing report from a form then spool it into a PDF file. I have been successful in passing the report properties using SET_REPORT_OBJECT_PROPERTY built-in and I am also able to launch the report using RUN_REPORT_OBJECT built-in. My problem is, I cannot seem to pass the user defined parameters from my form to the report eventhough I am using the same variable names.
    this is a part of my code:
    repid := Find_Report_Object('ACPPRACS');
    Set_Report_Object_Property(repid, REPORT_EXECUTION_MODE,BATCH);
    Set_Report_Object_Property(repid, REPORT_DESTYPE,FILE);
    Set_Report_Object_Property(repid, REPORT_DESNAME,'C:\TMP\ACS01.PDF');
    Set_Report_Object_Property(repid, REPORT_DESFORMAT,'PDF');
    Set_Report_Object_Property(repid, REPORT_OTHER,'PF_NBO_CD='| |'"'| |:acs.nbo| |'"');
    v_rep := RUN_REPORT_OBJECT(repid);
    Hope you can help me soon. Thanks!

    first of all u will create a paramlist
    then add_paramter to this list
    and then pass this list to the report
    by using run_product.
    i think this is all.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jenny ([email protected]):
    Hi!I am trying to launch an existing report from a form then spool it into a PDF file. I have been successful in passing the report properties using SET_REPORT_OBJECT_PROPERTY built-in and I am also able to launch the report using RUN_REPORT_OBJECT built-in. My problem is, I cannot seem to pass the user defined parameters from my form to the report eventhough I am using the same variable names.
    this is a part of my code:
    repid := Find_Report_Object('ACPPRACS');
    Set_Report_Object_Property(repid, REPORT_EXECUTION_MODE,BATCH);
    Set_Report_Object_Property(repid, REPORT_DESTYPE,FILE);
    Set_Report_Object_Property(repid, REPORT_DESNAME,'C:\TMP\ACS01.PDF');
    Set_Report_Object_Property(repid, REPORT_DESFORMAT,'PDF');
    Set_Report_Object_Property(repid, REPORT_OTHER,'PF_NBO_CD='| |'"'| |:acs.nbo| |'"');
    v_rep := RUN_REPORT_OBJECT(repid);
    Hope you can help me soon. Thanks!<HR></BLOCKQUOTE>
    null

  • How to pass parameters from Forms to Reports

    dear all,
    i'm running a report from a form using run_product(), now i want
    to pass a parameter from a form to report, say i want to display
    all the employees of deptno=10, so what parameter should i give
    in run_product() and what modifications should i make in the
    report???
    thanks and regards
    Tariq.

    Yeah,
    You can pass parameters to from form to report using
    Parameter list. E.g. You want to display all employees of Dept
    10.
    1. Create report with one user paramter say p_dept
    2. Now Using Parameter list and Run Product you can call report,
    see following procedure.
    /* This Procedure passes department number as a paramter to
    Report and displays Report.
    Author - Mr. Adinath R. Kamode
    Parameter - Deptname (p_dept)
    PROCEDURE CALL_REPORT (V_DEPT IN NUMBER)
              V_PLIST          PARAMLIST;               -
    - Parameter List and Name
              V_PLISTNAME           VARCHAR2
    (30) := 'RPTLIST';
    BEGIN
    -- Check existance of Parameter List
              V_PLIST := GET_PARAMETER_LIST(V_PLISTNAME);
              IF ID_NULL (V_PLIST) THEN
                   V_PLIST := CREATE_PARAMETER_LIST
    (V_PLISTNAME);
                   IF ID_NULL (V_PLIST) THEN
                             MESSAGE('Error in
    creating parameter list.');
                             MESSAGE('.');
                             RAISE
    FORM_TRIGGER_FAILURE;
                   END IF;
    -- Add parameter data , name must be same as in Report
         ADD_PARAMETER(V_PLIST,'P_DEPT',TEXT_PARAMETER,TO_CHAR
    (V_DEPT));     
    -- Don't display parameter Form
         ADD_PARAMETER(V_PLIST,'PARAMFORM',TEXT_PARAMETER,'NO');
    RUN_PRODUCT
    (REPORTS,'DEPT.RDF',ASYNCHRONOUS,RUNTIME,FILESYSTEM,V_PLIST,NULL)
    ELSE
              DESTROY_PARAMETER_LIST(V_PLIST);
    END IF;
    END;
    Adi

  • Passing parameters from FORM to REPORT

    Hello All,
    How to pass parameters from a FORM to a REPORT in Oracle Application Server Portal.

    Vamsi, Are u capturing the imputs for these parameters in the form??
    If u are capturing them in the form, then u need to add them to a parameter list (TEXT_PARAMETER) and while calling the report u can send it as a parameter in the RUN_PRODUCT call.
    Pls check the syntax for adding parameters and calling report from form in the form builder help.

  • How to call OAF standard page from form by passing parameters?

    Hi,
    I have a requirement where I need to call a standard OAF page from Oracle form, I was able to call the page through personalization, but I also want to pass a parameter to the OAF page and query the OAF page using that parameter, could anyone please help?
    Note: Under the forms personalization I wrote the below code for parameters
    Actions --> Parameters--> ='contractLineId='||:OKS_LINES.ID
    Thanks,
    Bharat

    Hi Niladri,
    My requirement was calling the OAF page from standard form (menu), below are the steps that I followed,
    1) Get the OAF page function name
    2) Personalize the form, by calling the OAF page function
    a) Function Code: Give the OAF function code
    b) Parameter: Here pass the parameters
    example: ='contractLineId='||:OKS_LINES.ID
    Note: If you are calling from a custom form you can also try using fnd_function.execute to call the OAF page
    Thanks,
    Bharat

  • 10g Report not running from Forms if called thru paramform on other domain

    Hi...
    I'm using Dev10g Rel.2....If I call a report with paramform=no and pass it a value from forms then report runs well. but if I call report thru parameter form and pass value from parameter form the report doesn't run with error:
    The webpage cannot be displayed.
    Interesting fact is that If I call the report from a client on same domain as that of Application Server then it runs even thru paramform. I've also entered the application server I.P and name on other domain's client but no way. Can u guess whats the problem there???

    It sounds like a Firewall permissions issue to me. You might want to have your Firewall admin watch the firewall as you run your form to see if the packets are getting intercepted and blocked.
    Hope this helps,
    Craig
    If a response is helpful or correct, please mark it accordingly.

  • Deploying forms and reports with parameters from portal

    hi , how do i build forms and reports from database limiting them with parameters from the login details on the portal on my application server.

    I had the same problem.
    I resolve with a new third party tool:
    RunDev
    I've found it on:
    solutionmarketplace.oracle.com
    searching "rundev".
    James

  • Report not working from forms.

    Hi
    we are beginners and please help us.we have installed in LAN database 11g on vista
    and application server 10g on os 2003.
    we are developing some applications from our developer pc in vista and using developer suite 10g.
    we want to generate some reports and call them from forms.
    This is the code in when button pressed.
    DECLARE
    repid REPORT_OBJECT;
    repjobid VARCHAR2(200);
    repstatus VARCHAR2(200);
    repjobno number;
    repserver VARCHAR2(100) := 'rep_mbxserver_FRHome1';
    BEGIN
    repserver := 'rep_mbxserver_FRHome1';
    /* Check to see if forms application is WEB deployed */
    IF get_application_property(user_interface) = 'WEB' THEN
    message('web');
    repid:= FIND_REPORT_OBJECT('REP');
    message('report found');
    /* Set Report parameters given WEB deployment */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'e:\users\pro\reports\emp.rdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,repserver);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    /* DESFORMAT could be HTML, HTMLCSS or PDF here */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
    /* Run the report */
    repjobid := RUN_REPORT_OBJECT(repid);
    message('run report');
    /* Check the report status */
    repstatus:=REPORT_OBJECT_STATUS(repjobid);
    WHILE repstatus in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    repstatus := report_object_status(repjobid);
    message('rep status');
    END LOOP;
    IF repstatus='FINISHED' THEN
    message('REPORT WAS CORRECTLY RUN');
    /* Display the report output in the client browser */
    repjobno := length(repserver) + 1;
    WEB.SHOW_DOCUMENT ('http://printer1.mbxnet.com:8889/reports/rwservlet/showjobs?server='||repserver,'_blank');
    copy_report_object_output(repjobid,'\\ansu\mtb-erp\emp.lis');-- (Trying to copy to local folder)
    message('File copied to local pc');
    /* If report has failed display message to user */
    ELSE
    message('REPORT FAILED WITH STATUS: '||repstatus);
    END IF;
    message('222222222222');
    ELSE
    /* Else if forms application is Client-Server deployed */
    /* Set Report parameters given Client-Server deployment */
    message('client server');
    repid:= FIND_REPORT_OBJECT('rep1');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,'e:\users\pro\reports\emp.rdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,file);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\printer1\mtb-erp\emp.lis');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt.prt');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,repserver);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=NO');
    /* Report to be executed via Reports Background Engine, not the 'new' Reports Multi-Tier Server */
    /* Destype SCREEN or PREVIEW can be used here */
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,SCREEN);
    /* Run the report */
    repjobid := RUN_REPORT_OBJECT(repid);
    copy_report_object_output(repjobid,'\\printer1\mtb-erp\emp.lis');
    message('File ok');
    --     host('c:\mtb-erp\ansu.lis');
    END IF;
    END;
    we are struck and unable to proceed.Actually when we run the report from report builder it works.we are calling the report from application server.
    Also if we replace the above web.show document with this statement it works but even though it gives FRM-41214 error.
    web.show_document('http://ansuya.mtbnet.local:8889/reports/rwservlet?destype=cache&desformat=html&report=\\mbxserver\developers\emp.jsp&userid=scott/tiger@mbxsql&paramform=no');
    One more doubt , is it possible if we don not want to show the report in a browser in case of client server locally in lan
    but just generate the report from forms and save it in local folder like we do in previous old versions.If so please guide us.
    Thanks in advance.

    Hello ansu,
    Did you solve this problem ?
    Regards,
    Felipe.

Maybe you are looking for