Forms 6i pass parameters to .exe

host("a.exe")
I want to input parameter in FORMS,pass parameters to a.exe running.
How to do it???

Hi *928060*
>
host("a.exe")
I want to input parameter in FORMS,pass parameters to a.exe running.
How to do it???
>
host('a.exe'||' '||param1||' '||param2....)Cheers,

Similar Messages

  • How to open a page from a Form and pass parameters to the form on that page

    I found a similar example on this forum, but it did not work for me:
    declare
    l_names owa.vc_arr;
    l_values owa.vc_arr;
    i number;
    begin
    PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
    FOR i in 1..l_names.count
    LOOP
    htp.p(l_names(i) || ' ' || l_values(i));
    END LOOP;
    end;
    By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
    Another method I tried:
    To open a Form from a Form and pass parameters works fine like this:
    --In the After processing page PL/SQL event.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    if v_id > 0 then
    htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
    htp.formSubmit(NULL,'Upload Files');
    htp.formClose;
    end if;
    End;
    But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
    Best regards
    Halvor

    Hi,
    You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
    You can call this code in the success procedure of the calling form.
    declare
    v_id number;
    blk varchar2(10):='DEFAULT';
    v_url varchar2(2000);
    Begin
    v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
    v_url := <page_url>;
    if v_id > 0 then
    call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
    end if;
    End;
    In the called form in "Before displaying form" plsql section write this code.
    for i in 1..p_arg_names.count loop
    if p_arg_names(i) = 'id' then
    p_session.set_value(
    p_block_name => blk,
    p_attribute_name => 'A_ID',
    p_value => p_arg_values(i)
    end if;
    end loop;
    This code picks up the value from p_arg_values and assigns it to the form field.
    Hope that helps.
    Thanks,
    Sharmila

  • How to run and pass parameters to exe file from the .txt file

    hi,
     i am facing problem with passing parameters to the .exe file which is run by labview.firstly i have  .txt script with parameters which i have to pass to .exe file. This .exe file is also a software and that script is written for it.And now i have to create  programm in labview which should fullfill following points.
      1. I have to use one knob named 'Run script'.If i pressed the knob ,it should open the Browser where i can choose .txt script file.
      2. .exe application should open(Path already chossen).
      3. after passing the parameters .exe application should closed.
      4.And labview now should update his parameter
    I can just open .exe file using Exce.vi but i dont getting any idea to do more than this.can somebody please help me?
    Solved!
    Go to Solution.

    This depends on the exe file. Does it retrieve the information as standard input or does it require the information as command line arguments?
    Depending on this, you can read the txt-file in LV (using the file functions) and pass the content to the System Exec.vi.
    Norbert 
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • 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

  • Question on Setting up Form and Passing Parameters

    I created a JSP custom porlet as a form. My question is how do I pass parameter between portlets? What URL should I use for the portlet?
    I can only find a jsp file example in the PDK, but there isn't any good explanation.
    Thanks.
    MC

    To pass a parameter to a portlet you create a link using the PAGE_URL and append the parameter to the link using PortletRendererUtils.parameterizeLink()
    Your parameter will be sent to all portlets on the page since it is part of the page URL.
    To prevent parameters from one portlet interfering with another instance of the same portlet, you can scope your parameter to the portlet (before adding it to the URL) using PortletRendererUtils.portletParameter().
    There is also an article in the PDK (along with samples) that describes how to do this. The article is called: "Understanding the Parameter Passing JSP samples"

  • Passing Parameters from Forms to Discoverer

    Hello Everybody,
    Is there a way to pass parameters from Oracle Forms to discoverer 4??
    I want to call Discoverer from a Form and pass parameters to a sheet.
    Thanks

    Hi,
    I don't have 10g right now, so can't test it...
    Isn't it possible to just put the params you won't show to your users 'behind' other objects on the param form?
    Strange behaviour anyway, in 6i Reports does not seem to care wether the params are on the form or not.
    Rgds,
    Guido

  • Passing parameters accross multiple forms

    I want to call formB from formA and pass parameters while doing it.
    BLOCK2 in formA contains a textitem named EMPID and I wand to pass the value in it to textitem named EMPID in BLOCK4 of formB.
    I created a parameter list and added items and values to it.
    I use call_form with the required entries to call formB.
    ---- Code used by me for creating parameter in formA and calling formB starts here ------
    DECLARE
         PLID PARAMLIST;
    BEGIN
         PLID := GET_PARAMETER_LIST('PL');
         IF NOT ID_NULL (PLID) THEN
              DELETE_PARAMETER ('PL','P_EMPID');
         ELSE
              PLID := CREATE_PARAMETER_LIST('PL');
         END IF;
         ADD_PARAMETER('PL', 'P_EMPID', TEXT_PARAMETER, :BLOCK2.EMPID);
         CALL_FORM('C:\Project\formB', HIDE, NO_REPLACE, NO_QUERY_ONLY, 'PL');
    END;
    ----------------------- Code ends here ---------------------------------
    I added a parameter in object navigator/parameters and named it P_EMPID of type Char and length 11 (b'coz, :BLOCK2.EMPID is Varchar2(11))
    Also, I have written the following code in formB:
    :BLOCK4.EMPID := :PARAMETER.P_EMPID;
    I have written this code in the following three places of formB:
    1) WHEN-NEW-FORM-INSTANCE --> form-level trigger
    2) PRE-FORM --> form-level trigger
    3) PRE-QUERY --> block-level(BLOCK4) trigger
    Additionally, I also tried using GET_PARAMETER_ATTR to get the parameter value in WHEN-NEW-FORM-INSTANCE of formB. It is as follows:
    -------- Code for retreiving parameter in WHEN-NEW-FORM-INSTANCE of formB starts here ---------
    :BLOCK4.EMPID := :PARAMETER.P_EMPID;
    DECLARE
         P_EMPID VARCHAR2(11);
         PLID PARAMLIST;
         PARAM_TYPE NUMBER;
         CURRENT_VALUE VARCHAR2(11);
    BEGIN
         PLID := GET_PARAMETER_LIST('PL');
         IF NOT ID_NULL (PLID) THEN
              GET_PARAMETER_ATTR('PLID','P_EMPID',PARAM_TYPE,CURRENT_VALUE);
              :BLOCK4.EMPID := CURRENT_VALUE;
         END IF;
    END;
    ----------------------- Code ends here ---------------------------------
    In spite of all the above, when formB tries to start, I get FRM-47023 No such parameter named P_EMPID exists in form formB
    What do I need to do?
    Thanks,
    Preethi

    I suppose you shouldn't try to extract parameter value from parameter list in WHEN-NEW-FORM-INSTANCE as Forms do it for you. Just use :parameter.P_EMPID. Of course, you may also use global variable or some package variable (if sharing library datf), or record group, created with GLOBAL_SCOPE.

  • PASSING PARAMETERS TO CRYSTAL REPORTS THRU FORMS!

    Hi! all,
    Is there someone who passed parameters to crystal reports from
    forms 5.0?
    The problem is when I call the report executable from the form,
    its giving a login prompt again which is not desirable as @ this
    stage the user has already logged in once. So is there a way to
    pass this as a parameter to crystal or may be any better way???
    Thanx for the solution,
    Hima
    null

    First make sure you are on SP 3:
    https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
    SP 3 msi     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip
    SP 3 msm     
    https://smpdl.sap-ag.de/~sapidp/012002523100007123582010E/cr2008sp3_mm.zip
    Have a look at [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
    (The above does apply to your version of CR also)
    Have a look at the samples:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    And look at the Developer Help file:
    http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
    And don't forget to use the search box at the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Searching these forums is also a good idea.
    - Ludek

  • Unable to pass parameters from APEX to Oracle EBusiness suite R12 forms

    Hi
    We are trying to access a standard Oracle EBusiness form i.e. service request and are invoking this Form through a link from APEX.
    We are trying to pass parameters via this URL
    http://abc.oneapps.com:8010/OA_HTML/RF.jsp?function_id=2037&resp_id=50952&resp_appl_id=170&security_group_id=0&lang_code=US&otherparams=INCIDENT_ATTRIBUTE_15=5206
    The EBusiness suite form is launched correctly but we are not able to read the parameter value through custom.pll code.
    if (event_name = 'WHEN-NEW-BLOCK-INSTANCE') then
         IF form_name='CSXSRISR' and block_name='SR_BSC_QUERY' then
              FND_MESSAGE.DEBUG('PARAMETER.INCIDENT_ATTRIBUTE_15');
              FND_MESSAGE.DEBUG(' ');
              --FND_MESSAGE.DEBUG(:PARAMETER.INCIDENT_ATTRIBUTE_15);
              lC_incident_number :=name_in('PARAMETER.INCIDENT_ATTRIBUTE_15');
              FND_MESSAGE.DEBUG('Incident Number'||lC_incident_number);
              IF lC_incident_number IS NOT NULL THEN
                   copy(lc_incident_number,'SR_BSC_QUERY.INCIDENT_NUMBER');
              END IF;     
              FND_MESSAGE.DEBUG(' ');
         END IF;
    END IF;
    Is this the right way of passing the parameters?
    all technical inputs are welcome.
    Regards
    Sam

    Hi
    We are trying to access a standard Oracle EBusiness form i.e. service request and are invoking this Form through a link from APEX.
    We are trying to pass parameters via this URL
    http://abc.oneapps.com:8010/OA_HTML/RF.jsp?function_id=2037&resp_id=50952&resp_appl_id=170&security_group_id=0&lang_code=US&otherparams=INCIDENT_ATTRIBUTE_15=5206
    The EBusiness suite form is launched correctly but we are not able to read the parameter value through custom.pll code.
    if (event_name = 'WHEN-NEW-BLOCK-INSTANCE') then
         IF form_name='CSXSRISR' and block_name='SR_BSC_QUERY' then
              FND_MESSAGE.DEBUG('PARAMETER.INCIDENT_ATTRIBUTE_15');
              FND_MESSAGE.DEBUG(' ');
              --FND_MESSAGE.DEBUG(:PARAMETER.INCIDENT_ATTRIBUTE_15);
              lC_incident_number :=name_in('PARAMETER.INCIDENT_ATTRIBUTE_15');
              FND_MESSAGE.DEBUG('Incident Number'||lC_incident_number);
              IF lC_incident_number IS NOT NULL THEN
                   copy(lc_incident_number,'SR_BSC_QUERY.INCIDENT_NUMBER');
              END IF;     
              FND_MESSAGE.DEBUG(' ');
         END IF;
    END IF;
    Is this the right way of passing the parameters?
    all technical inputs are welcome.
    Regards
    Sam

  • Form Personalization - Custom Function - How to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Hi paul;
    There are many usefull link avaliable if you googling
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&&sa=X&ei=4wxQTZmYEISRswaNktWSDQ&ved=0CC4QBSgA&q=How+to+pass+parameters%2Bform+personalization&spell=1&fp=64d53dfd7a69225a
    Regard
    Helios

  • Form personalization - new custom function - how to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Post your question in below forum:
    General EBS Discussion
    -Anand

  • Passing parameters between form portlets on two different pages ...

    Here is a brief summary of our problem.
    We have one master form and a detail form which are published as portlets and placed in two different pages.
    Now i want to pass parameters from master form portlet resides on one page to detail form portlet resides on another page.
    Say for example, when i invoke master form (created based on demo DEPT table), enter values on fields then invoke another page
    on which the second form portlet (say form based on EMP demo table) resides. Now i want to pass deptno to second form and
    get displayed in deptno field of second form.
    I was looking at the following posting, but how to do this when forms are published as portlets and placed on two different pages ?
    http://forums.oracle.com/forums/message.jsp?id=997683
    Customer actually want to pass a parameter from master form to 5 detail form portlets resides on different pages.
    This is bit urgent as it is the only problem stopping the customer go live.
    Thanks in advance.

    Please refer to post Re: session state security
    It tells you how to populate a form portlet in a page by clicking on a link in a report portlet.
    You can use the wwsto_api_session objects to store data submitted by the master and let the detail form pick it up and proceed with the query.

  • How can i pass parameters to every form sucessively or repeatedly

    How can i pass parameters to every form sucessively or repeatedly
    Eg: I have username which is specified in first form
    I want to display and use the username in each and every form after that form
    please tell me how to do
    i have one solution
    i.e., Normal way to pass parameters from one form to another!
    Is any procedure to pass paramters to all form at a time???

    excellent ...
    thanks for adding up to my post ..
    You can make use of parameters
    Every forms shud have same parameter name and u pass on the values of these
    Its one of the best ways

  • Passing Parameters to Form Component

    Can I pass parameters to a form component through the URL...like PORTAL30.wwa_app_module.new_instance?p_moduleid=1098075940 is the link to get the form ..I want to pass a parameter along with this.This is to pass the parameter to a stored procedure on which the form is based.
    null

    Yes you can pass parameters.. here's a quick tutorial..
    There are 2 ways to link to a 3.0 form from another component:
    1. "Query links", in this mode user can specify any conditions for the form and when the form
    gets these values it will execute the query using passed conditions and if a record found we will bring the form in the update mode so that record can be updated, if multiple records found all set of the records will be returned, and user can use "Next" and "Previous" buttons to navigate in the set.
    If none of the records in the table satisfy the criteria, the form will be shown in insert mode with all fields empty.
    Parameter | Condition | Static Value | or | Column Name
    EMPNO &#0124; &#0124; >= &#0124; &#0124; 7900 &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    ENAME &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    JOB &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    MGR &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    HIREDATE &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    SAL &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    COMM &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    DEPTNO &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    showheader &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    _rowid &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    Resulting Link Example:
    portal30.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1060253649
    &p_arg_names=_sessionid&p_arg_values=
    &p_arg_names=EMPNO&p_arg_values=7900
    &p_arg_names=_empno_cond&p_arg_values=%3E%3D
    2. "Link-to-fill-the-defaults"
    This type of link is similar to WebDB 2.x forms link.
    Take the link above and remove all the conditions and you will get the "defaults" link, we just take whatever you put in the value field and put it in the form field as a default value, no query performed. This type of link should be used in case if the users want to create a new record based on some of existing table data. For example to create another employee record in a department with the same job title and reporting to the same manager.
    Parameter | Condition | Static Value | or | Column Name
    EMPNO &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    ENAME &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    JOB &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; JOB &#0124; &#0124;
    MGR &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; MGR &#0124; &#0124;
    HIREDATE &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    SAL &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    COMM &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    DEPTNO &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; DEPTNO &#0124; &#0124;
    showheader &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    _rowid &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124; &#0124;
    Resulting Link Example:
    portal30.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1060253649
    &p_arg_names=_sessionid&p_arg_values=
    &p_arg_names=JOB&p_arg_values=CLERK
    &p_arg_names=MGR&p_arg_values=7902
    &p_arg_names=DEPTNO&p_arg_values=20
    null

  • How does customization form pass parameters?

    I need to create my own customization form so it can include linked LOVs and was wondering how the default customization form passed the LOV values back to the calling component.
    I put two copies of the same report on a page and called the customization form for each report selecting different LOV values. Since each report displays the correct results based on the LOV, I assume page parameters are not being used and neither is p_arg_values/p_arg_values.
    Can anyone tell me how this information is being passed to the individual reports?
    Thanks, Larry

    Sharmila,
    I guess I'm confused, the parameters that are selected on the Customization screen are persistent across different login sessions.
    Is is my understanding that passing parameters via p_arg_names/p_arg_values on the URL would not carry over from one logon to another or even allow me to navigate to another page and then back to the "customized" screen and still have the customizated values applicable?
    Are you saying that once I call a page and pass a name/value parameter pair to the page, that the paramter values remain in affect for subsequent calls to the same page where the name/value pair isn't being passed?
    Doesn't the customization screen use the wwpre_api_name and wwpre_api_value methods to pass parameters to components located on a page via the user preference storage?
    When I look at the URL associated with the customization link on my portlets I see the preference_path being passed to the customization form.
    Larry

Maybe you are looking for