Passing Parameter to a form

I am trying to create a link from my report to a form, this form is based on a procedure that brings up a detailed report. I tried to create a link from the wizard that would pass the parameter from the report to the form. My problem is that the link that is created won't pass the value from the report to the form/procedure. Is anyone developing an application in this way.
Vivek

hi,
u can do this by using sessions;
make a search in this forum with the key word: V_session;
or take a look to this site: http://www.arrowsent.com/oratip/frames.htm
hope this help;
Mohamed

Similar Messages

  • 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

  • Can't pass parameter from HTML form of multipart/form-dta type to JSP

    I am using request.getParameter(passed variable name) to pass data from HTML form to JSP with no problem. WHen I try to pass data from HTML form of multipart/form-dta type to JSP as following:
    < form enctype="multipart/form-data" name="theForm" method="post" ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/ifs-cts/stringsecond.jsp">
    The passed value is null. Why?
    How can I pass data successfully from this form to JSP?
    How can I pass data from JavaScript to JSP?
    Thank you

    I am using request.getParameter(passed variable name)
    to pass data from HTML form to JSP with no problem.
    WHen I try to pass data from HTML form of
    multipart/form-dta type to JSP as following:
    < form enctype="multipart/form-data" name="theForm"
    method="post"
    ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/if
    -cts/stringsecond.jsp">
    The passed value is null. Why?because the jsp most likely does not handling of POST parameters like this.
    How can I pass data successfully from this form to
    JSP?jsp's are not meant to read such amounts of data. this (= uploading) is a typical task for a specialized servlet. there you have full control over input and output. if you need to, you can still forward to a jsp after processing in the servlet.
    How can I pass data from JavaScript to JSP???? i'm not sure what exactly you mean. normally you put it into an url and submit it.
    robert

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

  • Passing parameter in URL (forms 10g)

    Hi,
    I'm using forms 10g (904) and I need to pass in a paramter when the form starts. I have created a parameter and it works when I debug.
    But when I run it on Oracle Application Server, how do I pass the parameter in the URL? I have tried &parameter_name=parameter_value, but it does not seem to work.
    Thanks.
    WJ

    Hi everyone,
    When I tried the prior suggestion that parameter was not actually passed into the URL. Instead it is passed into the set of named parameters defined in the generated <Object> tag for the forms applet.
    That is useful to know but what I want to do is permit the forms applet to access name-value pairs in the actual forms URL.
    Does anybody know how this is done?
    Also if anybody knows how to permit the forms applet to access client side environment variables (or even registry keys) without resorting to using java I would be grateful for the advice.
    Basically it seems to there are several ways to access such values server side but I cannot find any way to access those values client side.
    The task I have in mind is to load some properties which are configured on the clients' machine and which differ from client to client.
    Thanks everybody,
    Chris

  • ATrouble in passing parameter to PO Form from a Custom OAF Page

    Hi All,
    I have created a custom OAF page from where I am calling the standard purchase order screen, the URL which i am using is as below;
    form:Respapplshortname:Respkey:STANDARD:PO_POXPOEPO:po_header_id={@PoHeaderId}
    I have done the below Form Personalization for the same
    Create a when-new-form-instance personalization and create following actions
    1)
    Type: Builtin
    Builtin Type: DO_KEY
    Argument: ENTER_QUERY
    Create a WHEN NEW ITEM INSTANCE personalisation and create the following actions
    1)
    Type: Builtin
    Builtin Type: GO_ITEM
    Argument: PO_HEADERS.SEGMENT1
    2)
    Type: Property
    Object Type: Item
    Target Object: PO_HEADERS.SEGMENT1
    Property Name: VALUE
    Value :==:'PO_HEADER_ID'
    3)
    Type: Builtin
    Builtin Type: DO_KEY
    Argument: EXECUTE_QUERY
    Here in the below mentioned step
    Type: Property
    Object Type: Item
    Target Object: PO_HEADERS.SEGMENT1
    Property Name: VALUE
    Value =:253253
    If I hard code the value 253253(which is the header_id for PO_NUMBER 10031791) in the field 'value' then the PO_NUMBER form works as expected(PO Form opens up in queried mode and all the data of the PO_NUMBER is pre-populated)
    My query here is how do I pass a parameter from OAF page to PO_NUMBER form so that we are able to pass the value dynamically instead of hard coding the value(253253 as mentioned above).
    Please revert back as soon as possible in case anyone has inputs or better ways of achieving the above problem statement

    Did you ever figure out how to resolve this issue. We are facing the same issue and developer is not able to figure out.
    Thanks.

  • How to pass parameter from one form to another

    Hi,
    I have created a form based on a procedure . Now i want to pass a filed value from this form to another form . How can i do this.
    How can i pass a vlue from one form to another form in oracle portal.
    Thanks

    At last - I've managed to get this to work! Is this documented anywhere at all - I just guessed it based on other people's code!
    OK, to prove the example here is what I did:
    I have a form referencing the DEPT table.
    I created a item called 'Search' and of type button.
    I created a 'custom' PL/SQL block and added the following code:
    declare
    v_deptno NUMBER;
    begin
    v_deptno := p_session.get_value_as_NUMBER(
    p_block_name=> 'DEFAULT',
    p_attribute_name => 'A_DEPTNO');
    PORTAL30.wwa_app_module.set_target('http://server/pls/portal30/app_schema_name.EXAMPLE_SQL_REPORT.show?p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_max_rows&p_arg_values= 25&p_arg_names=_portal_max_rows&p_arg_values=25&p_arg_names=DEPTNO&p_arg_values='&#0124; &#0124;LTRIM(TO_CHAR(v_deptno)),'CALL');
    end;
    Note: you need to reference the column with an 'A_' prefixing the columm name.
    I left the name 'DEFAULT' as it is.
    OK so I set this to a variable and now want to call a Report called EXAMPLE_SQL_REPORT which was created with the following code:
    select * from scott.emp where deptno = :deptno;
    The bind variable being the custom parameter for the report.
    I called the new report with the PORTAL30.wwa_app_module.set_target procedure and put in the full URL path (in this example) of the server and report.
    I hope this helps!
    John
    null

  • Pass Parameter to LOV-FORM

    How do i pass 1 or more parameters from a FORM to a LOV-FORM ?
    The purpose is to restrict the query in the LOV-FORM with values(*) from the calling FORM.
    (*)( values = 1 or more items )
    The LOV-FORM is called from an item with template/library = 'QMSSO$LOV_FORM_ITEM' !

    Paulo,
    The code to call the LOV Form is generated automatically by Designer. It generates the following line of code in the KEY-LISTVAL trigger of the item in question.
    call_form('module',NO_HIDE,NO_REPLACE,QUERY_ONLY);
    You could try adding application logic to override this code. (See Designer online help for how to do this.)
    Regards,
    Lauri

  • Master-detail relationship - passing parameter from form to form

    Hello.
    I have a question about master detail relationship.
    In first form we have master-detail relationship.
    Example on dept, emp tables:
    We query dept (master), so we can get one or many emp (detail) records. Then we have a third table - tasks. Tasks table (detail) can have many records for one employee.
    Tasks table is in another form, which is called with call_form built_in. So we pass a parameter from master to detail - parameter empno. Because of that, we can only see tasks for one employee and can't navigate to another employee. This is normal.
    Now comes the question.
    Is it possible to call a form (with tasks table) with deptno parameter (so we can navigate through all employees with that department), but first show employee that was last used in first form?
    Example of our goal.
    Master: deptno = 20
    Detail: navigate to JONES employee
    Call new form (tasks)
    Tasks for JONES employee are first shown
    Can navigate to another employee - without requery
    Is this possible?
    If we pass deptno parameter, we can navigate through all employees - but must navigate to the employee we last used in first form.
    If we pass empno parameter to second form, we see last used employee but cannot navigate to another employee without requery.
    Hope you understand my problem.
    Thanks.

    Hi
    yes you can pass parameter from one form to another.
    In your master detail form set the trigger when-new-instance and there define the global variable like
    :GLOBAL.G_CIRCLE_ID := NULL;
    and in your task table set the trigger when-new-instance and there define the global variable like and also write this code
    :GLOBAL.G_DIVISION_ID := NULL;
    IF :GLOBAL.G_CIRCLE_ID IS NOT NULL THEN
         GO_BLOCK('DIVISION');
         SET_BLOCK_PROPERTY('DIVISION',DEFAULT_WHERE,'CIRCLE_ID ='||''''||:GLOBAL.G_CIRCLE_ID||'''');
         EXECUTE_QUERY;
    END IF;
    :GLOBAL.G_CIRCLE_ID := NULL;
    now you maintain your trigger according your need.
    Regards,

  • Hw to pass parameter from report to forms

    Dear Friends,
    I m working on Forms n Reports 6i,
    I m running report n passing parameter from the forms now the requirement is that if report run successfully it shuld give the msg otherwise give an user define error msg.
    Hw do i pass any parameter from report to form for acknowledgment.
    Thanking yours
    Chandan

    Hi Rajat,
    using run_product built in i can pass parameter from forms to reports but hw can i get some parameter value from reports to forms as mentioned earlier my post
    Thanking Yours,
    Chandan

  • How to pass Parameters between two forms

    im trying to do this but i could not find any way for this.
    can any one help me how can i pass parameters between two forms
    in forms4.5. any help will be appreciated
    thanks.
    null

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • Calling report from form by passing parameter

    I have one form in which their is one filed name ID and another field which is nonbase table field. Now i want to run a report by enterint 'Y' in nonbase table field by taking the value of ID from ID field..
    This value of ID is a parameter for report tobe run....
    So how can i do this ?
    How can i create a parameter in form and pass it to report for to run..?
    thanks in advance

    This is one way of doing it :
    Create a parameter in the form and name it say : param_id, set the properties as desired. Create a parameter in the report to be run with the same name and the same properties. The where clause statement of your report query should be like this :
    WHERE ID = :PARAM_ID
    Then in the POST-CHANGE or KEY-NEXT-ITEM trigger at the non-base table item level enter the code like this :
    DECLARE
    pl_id ParamList;
    pl_name VARCHAR2(10) := 'rpt_data';
    BEGIN
    pl_id := Get_Parameter_List(pl_name);
    IF Id_Null(pl_id) THEN
    pl_id := Create_Parameter_List(pl_name);
    ADD_PARAMETER(pl_id,'PARAM_ID',TEXT_PARAMETER,TO_CHAR(:ID)); -- TO_CHAR only if ID is NUMBER
    ADD_PARAMETER(pl_id,'PARAMFORM', TEXT_PARAMETER, 'NO'); -- this is only if you want to hide the parameter form that is displayed when running the report.
    RUN_PRODUCT(REPORTS,'report_name.rdf',SYNCHRONOUS,RUNTIME, FILESYSTEM,pl_name);
    DESTROY_PARAMETER_LIST(pl_name);
    ELSE
    Message('Parameter list '&#0124; &#0124;pl_name&#0124; &#0124;' already exists!');
    RAISE Form_Trigger_Failure;
    END IF;
    END;
    Hope this helps ! I don't know the version of forms that you are using, but this is valid in 4.5 and 5.
    Sudha

  • Passing a parameter from one form to another

    Hi
    I'm trying to pass a parameter from one form to another. I've read lots of postings about this, and I have succeeded in calling the second form using code behind one of the existing Portal buttons (insert). Here is the code:
    DECLARE
    pro_id NUMBER;
    pro_link VARCHAR2(1200);
    BEGIN
    pro_id := p_session.get_value_as_number(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_PRO_ID');
    pro_link := portal30.wwv_user_utilities.get_url(
    'CINTRA_APP.PRO_LINK_1',
    'WKG_PRO_ID',pro_id,
    '_WKG_PRO_ID_cond','=');
    PORTAL30.wwa_app_module.set_target(pro_link,'CALL');
    END;
    Trouble is, the parameter does not get passed. This could be because:
    the field I'm trying to populate is based on an LOV ?
    the target form is not set up to receive parameters? (I read this somewhere, but how do you do it?)
    Thanks
    Manfred

    Dear InoL
    My Header Form coding as follows.
    When I press the button to move to the lines the following code executes
    PASSING FORM CODING;
    DECLARE
         pl PARAMLIST := GET_PARAMETER_LIST('PL_AT');
    BEGIN
         IF NOT ID_NULL(pl) THEN
              DESTROY_PARAMETER_LIST(pl);
         END IF;
         pl := CREATE_PARAMETER_LIST('PL_AT');
         ADD_PARAMETER(pl,'P_AT',TEXT_PARAMETER,:HWSI_ASSET_TAG);
         CALL_FORM('E:\IT_SYSTEM\6i\HWDYNAMICINFO.FMX',NO_HIDE,DO_REPLACE,NO_QUERY_ONLY,PL);
    END;
    RECEIVING FORM CODING;
    Written on WHEN_NEW_FORM_INSTANCE
    BEGIN
         IF :PARAMETER.P_AT IS NULL THEN
              GO_ITEM('NZK_HW_DYNAMIC.OS_ASSET_TAG');
              ENTER_QUERY;
         ELSE
              SET_BLOCK_PROPERTY('NZK_HWSTATIC_INFO',DEFAULT_WHERE,'HWSI_ASSET_TAG ='||:parameter.p_at);
             SET_BLOCK_PROPERTY('NZK_HWSTATIC_INFO',DEFAULT_WHERE,'HWSI_ASSET_TAG ='||:parameter.p_at);
              EXECUTE_QUERY;
              GO_ITEM('NZK_HW_DYNAMIC.OS_ASSET_TAG');
         END IF;
    END;
    Created PARAMETER as P_AT, Data Type CHAR, MAX LENGTH 30
    Thank you
    NZK

  • Pass Parameter with Form

    It is a common and frequent question, but it has not been answered satisfactorily. The question is, how do I pass a parameter from a form in a Portal page to another page?
    I have discovered that using a Dynamic Page, I can read parameters passed in by referencing them as bind variables in a PL/SQL block. For example, given a parameter of "bindMe" as in "http://portal_path/object.show?p_arg_names=bindMe&p_arg_values=hello", the following code will display it:
    <oracle>
    declare
    localVar varchar2(50) := :bindMe;
    begin
    htp.print('bindMe = ' || localVar);
    end;
    </oracle>
    However, I am having trouble sending a form parameter out, in Portal format. By default, it will create the "?bindMe=hello" form, which isn't easily recognizable by Portal. I tried to setup a bind variable for an out-going parameter, but either it doesn't work that way, or I didn't set it up correctly. Any help would be appreciated.
    Not interested in the JavaScript approach.

    I've tried using the wwpro_api_parameters.get_value function, but it doesn't work. I keep getting a "not found" error for the page when trying to pass a parameter.
    Here's my code for the page. I'm trying to simply read a parameter that's passed in. Cut and paste it into your Dynamic Page, and see if you can get it to work.
    <html>
    <head><title>test</title></head>
    <body>
    You passed in
    <oracle>
    begin
    htp.print(portal.wwpro_api_parameters.get_value('empno','a'));
    end;
    </oracle>
    </body></html>
    Now use the URL:
    http://....show?empno=10
    According to the API documentation (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/sdk3gvf.htm), this should work, but it doesn't. I know I shouldn't be surprised that Oracle's documentation is inaccurate, but I'm having trouble finding a solution.
    Help!

  • Can i pass parameter or global variable in view from 6i form

    hi master
    sir can i pass parameter or global variable in view from 6i form
    i use view for some diff column calculation within the date then i use
    where date between data1 and date2
    in view but view not create
    please give me idea how i pass external value in view
    thank
    aamir

    Hi Antony!
    I feel it may not produce the right results if you
    dont include the where clause and using only group by
    in view.You felt? Please clear, logical thoughts put here, not feelings.
    (It may very well have all the Debit, Credit
    for all the Accid where as the user wants only for
    r some date range)Data range is determinated in Form by user, so if view should give final data set then you must back
    on Ranjana first question: How to pass parameter or global variable to view from 6i form?
    And also as Ranjit pointed out, If you have only
    accid, sum(debit), sum(credit) in View, wheres this
    enddate ??Of course, column entdate (or enddate?) must be included in view...
    Cheers!

Maybe you are looking for

  • After updating to lion, Itunes 10.4 wont open.

    I updated while on SL, and it worked fine. But as soon as i got on Lion it keeps giving me this error: Dyld Error Message:   Library not loaded: @executable_path/../Frameworks/iPodUpdater.framework/Versions/A/iPodUpdater   Referenced from: /Applicati

  • Ago - requires aggregation?

    Hi, OBIEE 10.1.3.4 I have two columns in a fact table (simplified). The two columns are identical in all material respects except that the first column has a sum aggregation on it, the second has no aggregation on it. If I try to create a new logical

  • Errors accessing collections in CMP-CMR

    I have a m:n relationship defined between Company and Address entity beans (the pertinent mapping sections are below). I am able to successfully retrieve a Company remote reference. However, when attempting to call it's getAddresses() method I get th

  • Application to application communication

    Hi, Is there some way by which I can commmunicate (invoke methods) from one web service to another webservice if they are deployed on the same weblogic server. (i dont want to invoke them by using SOAP which will invoke them over the internet..) can

  • Video quirky when exported using media converter

    Have put together a premiere movie...all ok. then exported in movie converter to flv..then inported into flash...exported and uploaded with dreamweaver file.. on the web am getting jumpy lines as if the compression has gone bad. Didn't happen the fir