Passing parameter to Called form through Web.Show_document.

i am calling a form say 'form2.fmx' from 'form1.fmx' using web.show_document. the parameter is concatenated with the URL string properly but this parameter is not accessible in the called form.
Please Help
thanks

i am running forms Of 10G developer suit. i want to call and pass a parameter
'emp_no'(employee no) to a form say 'form2.fmx' from the form say 'form1.fmx' on button
click. so i have created a parameter named "emp_no" in the object navigator of "form2.fmx".
in form1.fmx, i am using web.show_document(URL) function as given below.
web.show_document('http://111.111.111.11:8889/forms90/f90servlet?form=form2.fmx&emp_no=7156&userid=scott/tiger@mysid','_blank');
This function successfully call the "form2.fmx" but in this form the value of parameter
"emp_no" is null even when i have passed it in the URL (as shown in the above code line)
i.e; the value of emp_no is null.
Note :
7156 is the value of emp_no parameter.
111.111.111.11 is the supposed ip address. etc.

Similar Messages

  • How to call a form from WEB.SHOW_DOCUMENT 10g  Is this possible?????

    how to call a form from WEB.SHOW_DOCUMENT
    I would like to call a form using the WEB.SHOW_DOCUMENT the idea is from the menu that is attached to the form instead of use call_form use WEB.SHOW_DOCUMENT(...my_newform.fmx)
    Is this possible?????

    Hi ,
    I think yes...but under some circumstances....
    In your formsweb.cfg file you should define a named configuration alias... such as:
    [TEST]
    workingDirectory=C:\TEST_DIR
    form=C:\TEST_DIR\MY_NEWFORM.FMX
    Then , after stopping , starting your OC4J instance..... you call that as (in a button , for example):
    web.show_document('http:<your_server>:<port>/forms/frmservlet?config=[TEST]',_blank);
    I have not tested it.....
    Regards,
    Simon

  • Reports 9i Printing from Forms with WEB.SHOW_DOCUMENT

    I want to print a Report from Forms via WEB.SHOW_DOCUMENT directly to the printer and it works fine.
    But every time i print it from my web application a new browser-windows opens and shows a message "Printed successfully" or something like that. If I start the printjob again nothing happens - if I press the Browser-Refresh-Button in the new Browser-Windows with the Message ("Printed Successfully") it prints.
    So now I have 2 questions:
    a) How can I disable the "Printed successfully"-Message
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    I hope I hava explained my problem clearly. 4
    Here ist the complet WEB.SHOW_DOCUMENT-Command I fire in Forms when a Button is pressed:
    WEB.SHOW_DOCUMENT('http://mymachine:8888/reports/rwservlet?report=testreport.rdf&destype=printer&desname=\\NTS32\VZ_D3&desformat=html&userid='|| sUser ||'/'|| sPW ||'@'|| sDB,'_blank');      
    Many thanx for your help!
    Regards
    Marc

    Hello,
    for the problem:
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    may be it just a setting in your Browser ?
    For Internet Explorer :
    go to I.E General Options screen. click on settings button and choose
    "Every visit to the page " option.
    Regards

  • Calling form from web application

    i use the below url for calling form from web application.
    http://host51.yan.com/forms/frmservlet?form=test&width=700
    i would like to know about "frmservlet"
    if it's a servlet file then
    where its located in application server10g

    The servlet is part of the forms-installation on the application-server, on the local OC4J this is located in $ORACLE_HOME/forms/j2ee/formsapp.ear
    What exactly do you want to know about the servlet?

  • Form calling Report with web.show_document caught by SSO

    A 10g form button calls a 10g report via web.show_document.
    In the dev environment it works, but in the full app server SSO is enabled and stops & prompts for a login/password.
    I'm trying to include the SSOCONN parameter in the URL. I've tried the db userid & the sso userid without success.
    Any help is much appreciated.

    How are you calling the report with Web.Show_Document (what's the URL you're passing)? The application I'm working on uses SSO and I call Reports from Forms and don't have this issue. You should just have to pass the return value of RUN_REPORT_OBJECT() in the URL along with the server name - at least that is how we do it. For example (bare in mind this is an abbreviated example):
    DECLARE
         v_rep_rtn   VARCHAR2(4000);
         v_repsvrname      VARCHAR2 (100);  /* This is a CONSTANT and used here as an example */
         v_paramlist  paramlist;
    BEGIN
         v_rep_rtn := Run_Report_Object(v_report, v_paramlist);
         Web.Show_Document('/reports/rwservlet/getjobid'||substr(v_rep_rtn,Instr (v_rep_rtn, '_', -1) + 1)||
                          '?server=' || v_repsvrname);
         v_report    := Find_Report_Object('REP1');
         Set_Report_Object_Property(v_report, report_execution_mode, batch); 
         Set_Report_Object_Property(v_report, report_comm_mode,      synchronous);
         Set_Report_Object_Property(v_report, report_destype,        CACHE);
         Set_Report_Object_Property(v_report, report_desformat,      'pdf');
         Set_Report_Object_Property(v_report, report_server,         v_repsvrname);
         v_rep_rtn := Run_Report_Object(v_report, v_paramlist);
         rep_status := Report_Object_Status(v_rep_rtn);
         WHILE rep_status IN ('RUNNING', 'OPENING_REPORT', 'ENQUEUED')     LOOP           
              rep_status := Report_Object_Status(v_rep_rtn);        
         END LOOP;   
         IF rep_status <> 'FINISHED' THEN
              msg_box('Error when running report. Status = '||rep_status);  
         else
              Web.Show_Document('/reports/rwservlet/getjobid'||substr(v_rep_rtn,Instr (v_rep_rtn, '_', -1) + 1)||
                          '?server=' || v_repsvrname); -- || '&authid=orcladmin/admin999');
         END IF;
    END;Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks!

  • I am not able to call a form by web.show_document

    Hi
    This code is on button on first  from and the second form is called by this button and the code is given
    web.show_document('http://comp_name:8889/forms/frmservlet?
    form=C:\test_report\final_to_be_added_to_main\MASTER_FORM_TRIAL.fmx&userid=&buffer_records=NO&debug_me
    ssages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES&otherparams=PARA1=' || V_PARA_VALUE);BUt the next form is not openned and not showing any error
    in few computers its working fine
    please guide me
    Thanks And Regards
    Vikas Singhal
    Edited by: vikas singhal on Jun 11, 2010 2:59 PM
    Edited by: vikas singhal on Jun 11, 2010 3:00 PM
    Edited by: vikas singhal on Jun 11, 2010 4:25 PM

    Sir,
    it is working fine on my server when i run the application on my lan machines in few machines have problum
    and few working fine.
    Any help appreciated.
    Thanks And Regars
    Vikas Singhal

  • Calling a report from form using web.show_document

    Hi,
    Used the method as below, But , error reprot not found,
    Could anybody tell me how to get the server name from ny local machine as in the example servername ' Repsrv '
    /* WHEN-BUTTON-PRESSED */
    DECLARE
    vc_url varchar2(100);
    BEGIN
    vc_url:=‘http://<hostname><port>/reports/rwservlet?server='
    ||
    ‘Repsrv&report=reptest.rdf&desformat=htmlcss&destype=cache ’
    ||
    '&userid=user/pw@database&p_deptno='||:dept.deptno||'&paramform
    =no’;
    WEB.SHOW_DOCUMENT(vc_url,’_blank’);
    END;
    Thanks

    If you are attempting to print a report from a when-button-pressed trigger from within a form, you do not have to explicitly specify the server (hostname) nor the port. You can just use what I've found referred to as a virtual path to the server as I have done here:
    parm_string := '/reports/rwservlet?config=my_config&report=report_name'
         ||'&desformat=pdf&destype=cache'
         ||'&paramform=no&printjob=no'
         ||'&p_my_user_param1='||v_my_param1
         ||'&p_my_user_param2='||v_my_param2;
    web.show_document(parm_string,'_blank');
    You can specify a userid/password@connectstring within a named congifuration section of your formsweb.cfg file if necessary, e.g. my_config.
    Hope this helps.
    James K.

  • CALLING FORM THROUGH REPORTS

    HI....
    WIHS U A VERY HAPPY NEW YEAR..
    I HAVE DEVELOPED A REPORT (DRILL DOWN) AND I WANT TO CALL RELATED FORM THROUGH REPORT.. IS IS POSSIBLE IF GIVE ME AN EXAMPLE
    REGARDS
    SANTOSH RANE
    [email protected]

    SANTOSH,
    REPORTS RUNNING ON CLIENT/SERVER CAN USE THE REPORTS RUN_PRODUCT() BUILT-IN, REPORTS RUNNING ON THE WEB CAN USE A HYPERLINK TO CALL FORMS. NOTE THAT USING HYPERLINKS WILL NOT IMPLICILTY PASS TEH DATABASE CONNECT BUT AS A URL PARAMETER WHICH SEEMS TO BE UNSECURE. THEREFORE I SUGGEST TO USE FORMS AND REPORTS 9i AND SINGLE SIGN ON.
    FRANK

  • Forms 11g - web.show_document

    Hi!
    How can i reach the reports server with web.show_document in Forms 11g?
    "opmnctl status" shows the running reportsserver but when i make a call e.g. to
    http://pc1:8888/reports/rwservlet?report= ... a.s.o.
    the error message: Failure of server apache bridge:
    no backend server available for connections ...
    is thrown.
    any ideas?
    thanks in advance!
    Magoo

    Can you please specify the OS you are using. Because in Windows XP and Vista, only Forms & Reports Builder and Runtime are supported, and the system components (OHS, WC) are not supported.
    If you have installed in a Windows 2003 Platform and install is done with the system components, then the issue is with the OHS.
    OHS seems to be down.
    You can bring up the OHS, Reports Server through OPMN or start menu. And WLS_REPORTS from the start menu.
    In the command prompt, cd $ORACLE_INSTANCE\bin (By default - C:\oracle\Middleware\asinst_1\bin) run the command:
    opmnctl.bat status -l :- Will give the status of the components. If System components are not installed, this will not work.
    opmnctl.bat restartproc ias-component=ohs1 :- Will restart the OHS.
    This can be done from the Start Menu also:
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Stop Oracle Http Server - ohs1
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Start Oracle Http Server - ohs1
    You can stop and start the WLS_FORMS from the start menu:
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Stop WebLogic Server - WLS_FORMS
    StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Start WebLogic Server - WLS_FORMS
    Status of the WLS_FORMS can be seen from the Admin Console:
    http:<hostname>:7001/console (use the pwd given during the Classic SH install).
    Under Environment section, click Server.
    Summary of Servers Page will show the status of the WLS_FORMS.
    If you want to stop and start, select Control tab. Check the check box and press the corresponding button.

  • How to give input parameter to application form through se38 program?

    Hi all,
    How can i call my application form from within my se38 program?
    is there any way then please tell me?
    and how to pass input parameters to application form through se38 program?
    Thanks and Regards,
    Arpita.

    Hi you can pass the parameter using application program. You can pass the value using the interface of the function module given below.
    parameter p_matnr type  mara-matnr.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = gc_smart_form 'Name of ur smart form
          variant            = ' '
          direct_call        = ' '
        IMPORTING
          fm_name            = lv_fmname
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc NE  0.
        MESSAGE ID sy-msgid TYPE 'E'
                          NUMBER sy-msgno
                            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    CALL FUNCTION lv_fmname
    EXPORTING
      control_parameters         = gs_ssfctrlop
      output_options             = gs_ssfcompop
      user_settings              = ' X'
    **---This is where u can pass ur paramter to the smart form*
      matnr                           = p_matnr.
    called from batch job
    EXCEPTIONS
    formatting_error           = 1
    internal_error             = 2
    send_error                 = 3
    user_canceled              = 4
    OTHERS                     = 5            .
    Thanx and hope this would help.
    Regards,
    Aruna
    Edited by: Aruna Kumari Chekka on Dec 12, 2008 6:24 AM
    Edited by: Aruna Kumari Chekka on Dec 12, 2008 6:29 AM

  • Pass parameter to BI report through link in IC webclient

    HI
    I need to call a BI report through a link in Icwebclient search view.
    I need to capture the input  field values entered by user in IC webclient search view
    by clicking a link or button in the view.How can I call a BI report with these values
    without navigating away from the page.?BI report should open in Explorer in new window.
    I have writen a code.it is calling BW report.but parametes are not captured in the url.
    <htmlb:button id = "Show" text = "Cal " tooltip = "Call"
    onClientClick = "window.open('<%=b5%><%=SearchCustomer-GET_CHEQUENO( ATTRIBUTE_PATH = '//SearchCustomer/test' )%><%=b8%>' ,'Invoice','resizable=yes,height=850,width=700,dependent=yes,status=1');"
                  design        = "small"
                  width         = "100" />
               </crmic:gridLayoutCell>
    please help
    john

    Hi,
         I'm not familiar with the BI reports, But, if your BI report is a BSP component, you can surely navigate to it. One possible way is listed in this wiki.
    [http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component]
    The UI object and target IDs may already be available. If that is the case, you can skip that part.
    When you fire the outbound plug to trigger a navigation, you can pass a collection consisting of
    1. The  navigation descriptior object
    2. The data you may want to pass to the called component. This may be a value node or a model BO.
    The "firing" should be done from the "top level" component or you should delegate the outbound plug to parent windows and the final window should trigger the navigation.
    Regards,
    Arun Prakash

  • Unable to pass parameter to EBS Form from external system (OBIEE)

    I set up the OBIEE to EBS Navigation as per a metalink note to the form PA_PAXTRAPE_SINGLE_PROJECT. I tried to pass a PROJECT_ID parameter. The form opens up but I do not see any indication of the parameter being passed through.
    In general, when you pass a parameter to a EBS form from an external system, is it suppose to open the FORM with that specific value? In this case should it open up the Project for the PROJECT_NUMBER that I passed through?
    Any way for me to diagnose the issue?

    Hi,
    Rather than giving the name of the Block and Field name there create a parameter in the form itself and pass value to that parameter. You can use this values using :PARAMETER.<field_name>.
    Regards,
    Viral

  • How to call form through reports

    I want to call form(6i) with parameter's through reports(6i).. replly immediately

    you have to make this question in: Developer suit > Forms
    Joel P�rez

  • Forms 6i - web.show_document error

    I am trying to use web.showdocument to open a java based internet session. I get an C++ Runtime-Error, abnormal termination in Internet Explorer.
    Not sure whether Jinitiator is interfering with Java JVM or not...
    WEBNOW_URL VARCHAR2(200);     
    WEBNOW_URL := 'http://server.is.generic.com:8080/web/index.jsp?';
    WEB.SHOW_DOCUMENT(WEBNOW_URL,'_blank');
    Please help me....We are trying to get this to work with a imaging product call WebNow. It is version 5.4. It is associated with ImageNow.
    No Java URLS will display thru Internet Explorer with the Web.Show_Document
    Any ideas are helpful...

    The problem you are having is likely caused as a result of conflict between JREs. You can only run one JRE/Jinitiator version per browser session. Calls to WEB.SHOW_DOCUMENT launch new browser windows using the same session as the parent. In other words, if Forms uses Jinitiator 1.3.1.22, your other application must also use Jinitiator 1.3.1.22

  • Title of the browser displaying a report output through web.show_document

    Hiya
    We are using Oracle Forms 10g 10.1.2.0.2
    All our Forms and Reports are working well.
    We are using Java Script in Web.Show_Document so that when the report is displayed on the screen in the browser, the browser's toolbar and menubar should not be visible.
    The code looks like this:
    v_url_in := 'reports/rwservlet' || '/getjobid' || v_job_id || '?server='|| 'my_rep_server';
    v_url_out := 'javascript:window.open("'||v_url_in||'", " ", "toolbar=no,menubar=no");self.close();';
    Web.Show_Document (v_url_out, '_blank');
    The above code is working absolutely fine. No issues about this.
    Now when the report opens in a new browser window,the title of the browser window reads as follows:
    http://<hostname>:8889/reports/rwservlet/getjobid1234?server=my_rep_server - Microsoft Internet Explorer
    So rather than displaying the title of the browser window as the URL of our Application Server, we want to show the title to Reports name so that it
    reads as
    'Customer Sales Summary Report - Microsoft Internet Explorer'.
    Does anyone has any idea if it is possible to change the title of the browser window, if so, how ?
    Cheers
    Mayur

    Mayur,
    I'm not a web developer either, however, I've done this kind of thing using the HTP database package - as I mentioned. What you could do is write a database procedure that accepts the URL and the Title as parameters and let the procedure open the URL for you. For example:
    CREATE OR REPLACE PROCEDURE show_url(p_url VARCHAR2, p_title varchar2) AS
    BEGIN
       htp.htmlOpen;
       htp.headOpen;
       htp.htitle(p_title);
       htp.headClose;
       htp.bodyOpen( cattributes => 'onLoad="WinOpen()"');
       htp.bodyOpen;
       htp.script(clanguage => 'javascript',
                    cscript => '<!--
                                function WinOpen() { open("'||p_url||'","_self");
                                //-->'
       htp.bodyClose;
       htp.htmlClose;
    END;I was unable to test this procedure on my Oracle XE install, but it should work on a non-XE database.
    Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks!

Maybe you are looking for

  • Using chinese characters in struts-config.xml

    Hi i am developing an application in Chinese language where i need to create all the urls in the Chinese language. i am using struts 1.3.5.can anyone tell me is it possible to use Chinese characters in struts-config.xml action mappings? i tried but i

  • BPM getting data from multiple JDBC databases

    Hi - a 'high level' question... I have a scenario where the first step in my bpm is a receive step which will be a JDBC send adapter/comm channel to a particular database.  The rows returned will have a key field called "ID".  For each of these rows,

  • SAP Application Development Lead (ABAP) Needed in Fort Worth, Texas

    Hi SAP Community, A client of mine in the Aerospace and Defense industry is looking for an SAP Application Development Lead in Fort Worth, Texas for an 11 month contract. Below is the description, if you are interested please email me your resume at

  • Adding existing SQL Server 2012 to a New SQL 2012 Cluster

    We currently have a SQL 20012 Server setup and running on our domain.  We would like to switch this to a clustered environment.  Is it possible to setup the new  SQL 2012 Cluster and add the existing SQL 2012 server as a node in the cluster without l

  • How to suggest client to go for XI integration rather others ?

    Hi All Experts        Our client want to implement  EAI tool for integration purpose but thing is        he is not using any SAP Systems.        How to suggest the client to go XI rather than others ?        This integration is bet...NON SAP to NON S