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

Similar Messages

  • How to pass parameters between two xterm windows?

    Hi,
    I would like to know how to pass parameters between two xterm windows where there are two independence processes running on them respectively ? Would appreciate if any one out there can advise me . Thanks.

    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

  • How to pass value between two forms.

    Hi all,
    how to pass value between two forms(using :parameter),...
    Thanks
    Rajesh

    To use parameters, create a parameterlist with the named parameters
    DECLARE
      pl_id PARAMLIST;
      pl_name VARCHAR2(10) := 'tempdata';
    BEGIN
      pl_id := Get_Parameter_List(pl_name);
      IF not Id_Null(pl_id) THEN
        DESTROY_PARAMETER_LIST(pl_id);
      END IF;
      pl_id := Create_Parameter_List(pl_name);
      ADD_PARAMETER (pl_id,'MYPARAMETER',TEXT_PARAMETER,:BLOCK.VALUE);      
      CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE, NO_QUERY_ONLY, pl_id);
    END;In the new form you can then just access the parameters via :PARAMETER.MYPARAMETER;
    An alternative is the usage of globals:
    :GLOBAL.MYPARAM:=:BLOCK.VALUE;
    -- call the emp-form
    CALL_FORM('MYNEWFORM', NO_HIDE, DO_REPLACE);and in the new form use:
    DEFAULT_VALUE(NULL, 'GLOBAL.MYPARAM');
    IF :GLOBAL.MYPARAM IS NOT NULL THEN
    ...The advantage of gloabls is that they can also return values back to the calling form, which is not possible using parameters

  • OBIEE 11G - Issue passing parameters between two reports

    Hi folks,
    I am struggling to pass parameters between two reports in OBIEE 11G.
    My first report contains the following columns: Rolling Year Type (VCHAR), Year(VCHAR), Month(VCHAR), Cost(Double).
    My second report contains the following columns: Rolling Year Type(VCHAR), Year(VCHAR), Month(VCHAR), Category(VCHAR), Cost(Double).
    My requirement is to pass the Rolling Year Type, Year and Month values from report 1 to report 2.
    On the Month column properties of report 1, I have created an Action Link called 'Drill to Category'. I have clicked on 'Navigate to BI Content' and selected Report 2.
    Then on Report 2, I have included three filters: Rolling Year Type is prompted, Year is prompted, Month is promted.
    When I run the report I always get the following error:
    The specified criteria didn't result in any data. This is often caused by applying filters and/or selections that are too restrictive or that contain incorrect values. Please check your Analysis Filters and try again. The filters currently being applied are shown below.
    When I check the cursor cache, the filter values are correct. Does anybody have any idea why Report 2 does not display?
    When I remove the Month filter, the report works correctly.
    I have since changed the third filter to be Month No and although Report 2 does display, it does not pick up the filter on the Month No.
    I initially thought this may have been a caching issue and so I have disabled BI Server Cache but this does not fix my problem.
    This was never an issue on OBIEE 10G as I found it very easy to navigate between two requests.
    Has anyone else experienced problems with passing parameters between two request in 11G?
    Any help appreciated.
    Thanks
    Gavin

    Hi,
    I once tried this kind of requirement(with dashboard prompts though) and hit at similar issue. I later found out that the problem is with the space in the parameter values. Can you please let me know, if the same is the case with you?
    Suppose the parameter passed is "Jan 2010", but the report on the destination takes the value as "Jan" & "2010". Yes, it kind of split the parameter value to two based on space. I think we can notice the filters the destination report got, by enabling filter view.
    In this case, since you pass only value at a time, could you try placing the parameter value anyway in double quotes? I think the Server then will understand it as one value.
    Thank you,
    Dhar

  • How to pass data between two internal sessions using ABAP memory?

    Hi,
    How to pass data between two internal sessions using ABAP memory?
    It would be fine if you could explain with an example.
    And also let me clear about the data passing between two main sessions and two external sessions with specific examples.
    Thanks.

    Hi ,
      check the example.
    Reading Data Objects from Memory
    To read data objects from ABAP memory into an ABAP program, use the following statement:
    Syntax
    IMPORT <f1> [TO <g 1>] <f 2> [TO <g 2>] ... FROM MEMORY ID <key>.
    This statement reads the data objects specified in the list from a cluster in memory. If you do not use the TO <g i > option, the data object <f i > in memory is assigned to the data object in the program with the same name. If you do use the option, the data object <f i > is read from memory into the field <g i >. The name <key> identifies the cluster in memory. It may be up to 32 characters long.
    You do not have to read all of the objects stored under a particular name <key>. You can restrict the number of objects by specifying their names. If the memory does not contain any objects under the name <key>, SY-SUBRC is set to 4. If, on the other hand, there is a data cluster in memory with the name <key>, SY-SUBRC is always 0, regardless of whether it contained the data object <f i >. If the cluster does not contain the data object <f i >, the target field remains unchanged.
    In this statement, the system does not check whether the structure of the object in memory is compatible with the structure into which you are reading it. The data is transported bit by bit. If the structures are incompatible, the data in the target field may be incorrect.
    PROGRAM SAPMZTS1.
    DATA TEXT1(10) VALUE 'Exporting'.
    DATA ITAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    DO 5 TIMES.
      ITAB-BOOKID = 100 + SY-INDEX.
      APPEND ITAB.
    ENDDO.
    EXPORT TEXT1
           TEXT2 FROM 'Literal'
      TO MEMORY ID 'text'.
    EXPORT ITAB
      TO MEMORY ID 'table'.
    SUBMIT SAPMZTS2 AND RETURN.
    SUBMIT SAPMZTS3.
    The first part of this program is the same as the example in the section Saving Data Objects in Memory. In the example, the programs SAPMZTS1 and SAPMZTS2 are called using SUBMIT. You can create and maintain the programs called using the SUBMIT statement by double-clicking their names in the statement. For further information about the SUBMIT statement, refer to Calling Executable Programs (Reports)
    Example for SAPMZTS2:
    PROGRAM SAPMZTS2.
    DATA: TEXT1(10),
          TEXT3 LIKE TEXT1 VALUE 'Initial'.
    IMPORT TEXT3 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT3.
    IMPORT TEXT2 TO TEXT1 FROM MEMORY ID 'text'.
    WRITE: / SY-SUBRC, TEXT1.
    Example for SAPMZTS3:
    PROGRAM SAPMZTS3.
    DATA JTAB LIKE SBOOK OCCURS 10 WITH HEADER LINE.
    IMPORT ITAB TO JTAB FROM MEMORY ID 'table'.
    LOOP AT JTAB.
      WRITE / JTAB-BOOKID.
    ENDLOOP.
    The output is displayed on two successive screens. It looks like this:
    and
    The program SAPMZTS2 attempts to read a data object TEXT3 from the data cluster "text", which does not exist. TEXT3 therefore remains unchanged. The existing data object TEXT2 is placed in TEXT1. In both cases, SY-SUBRC is 0, since the cluster "text" contains data.
    The program SAPMZTS3 reads the internal table ITAB from the cluster "table" into the internal table JTAB. Both tables have the same structure, namely that of the ABAP Dictionary table SBOOK.
    Pls. reward if useful.....

  • How to pass parameters between main and sub vi during parallel execution using the VI server technique?

    Hello All,
    I am working with the following example (from previous postings on this
    board) that demonstrates how to run a sub vi in parallel with the main
    vi.  I'd like to pass parameters between the main and sub such as
    the control (delay) and indicator (value) parameters of my subvi
    example.  Does any one know how to do this?  Parallel
    execution is important for me, I cannot just paste the subvi icon into
    my main diagram (two nested while loops...)
    Many thanks,
    Luis
    Message Edited by cascao on 08-16-2005 08:42 PM
    Message Edited by cascao on 08-16-2005 08:42 PM
    Attachments:
    VI_Server_technique.vi ‏32 KB
    SubVI_1.vi ‏19 KB

    cascao wrote:
    Hello All,
    I am working with the following example (from previous postings on this
    board) that demonstrates how to run a sub vi in parallel with the main
    vi.  I'd like to pass parameters between the main and sub such as
    the control (delay) and indicator (value) parameters of my subvi
    example.  Does any one know how to do this?  Parallel
    execution is important for me, I cannot just paste the subvi icon into
    my main diagram (two nested while loops...)
    Many thanks,
    Luis
    Luis, you can use the VI Server methods 'Set Control Value' and 'Get Control Value', as demonstrated in the attached examples.
    -Franz
    Attachments:
    VI Server.zip ‏26 KB

  • Forms6i- how do i pass values between two forms

    Forms6i- passing values between forms
    I have two forms. FORM1 does a call_form to FORM2.
    How do i send values from FORM1 over to FORM2?
    I want the 2 values in FORM1 to be passed top FORM2 and displayed as a TEXT ITEM.
    But i don't know what is involved in passign vales between forms.

    Define Parameters in Form2, and pass parameters with the same name from Forms1 with the parameter list option of your call_form built-in.
    It is in the online help.

  • How to pass parameter between two jsp pages using web link (not form)

    Hi Friends,
    I have two jsp pages and would like to pass a parameter from one JSP page (one.jsp) to another JPS page (two.jsp)
    in one.jsp
    <a href="two.jsp?ant="<%=ant%">"> <%=antName%> </a><br>
    I don't know how to pass value of parameter "ant" to two.jsp from one.jsp.
    Can anyone help this? Thank you in advance</a>

    Looks like you've got it almost right - just an extra unneeded "
    <a href="two.jsp"?ant=<%= ant %>"><%=antName%></a>
    which should render on the page as something like
    My Ant Task
    When you click the link, it should pass that parameter, and you can get it via request.getParameter().

  • Parameters between two forms

    Forms [32 Bit] Version 10.1.2.3.0 (Production)
    I have a calling form which uses parameters to pass to a second form.
    the parameter is a invoice_id, when the user enters in something like '123A' in the invoice_id in the first form, the calling form correctly retrieves the records for 123A,
    if the user enters in '123_' (underscore) in the first form, the calling form retrieves the records again for 123A, I have placed a message in the calling form to see what the parameter is passing and it states '123_'
    does anyone know how forms is interpreting that _ (underscore) ?
    thanks!

    hi, thanks for your replies. i agree with both scenerios. my issue is how to convert those 'special' characters in forms when calling another form. i have selected in sqlplus select * from invoice_lines where invoice_id = '123_' and it returns no records which is correct...and i've also in sqlplus select * from invoice_lines where invoice_id = '123A' and it returned the correct records.
    i think i will need a function of some description when they create an invoice not to include oracle 'special' characters.
    still doesn't really answer my question about passing a '123_' and it stating that it is '123_' in the calling form when i do not have a like statement to query the records, just a master detail relationship between calling form, header/footer using that ID
    have a great weekend everyone

  • How to transfer parameters between two iViews?

    Hi all,
    I have two WebDynpro based iViews (StartView and SecondView). when I press the button in the StartView, the EP will navigate to the SecondView. During this process, I want send a parameter value from the StartView to the Second View. In the StartView, I use the follow method to navigator:
    WDPortalNavigation.navigateAbsolute(
                  "ROLES:portal_content/com.sap.itsamtest/com.sap.secondpage",
                     WDPortalNavigationMode.SHOW_INPLACE,
                     (String) null,
                     (String) null,
                     WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                     (String) null,
                     (String) null,
                     "value=From Start Page");
    In the SecondView, I use the WDWebContextAdapter to get parameter's value.
    String Name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("value");
    It works fine. But I found there is a warning message:
    The method getRequestParameter(String) from the type IWDWebContextAdapter is deprecated     
    So is there any other good mechanism to implement the data transfer between two iViews.
    Thanks and Best regards
    Deyang

    Hi,
      Try the following:
    <b>Subscribing to a Portal Event:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm
    <b>Code Example for Programming Portal Eventing:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm
    <b>Regards,
    Sai Krishna.
    PS: Plz do assign points if it helps. ;-)</b>

  • How to pass values between two pages

    also see:
    In portlets, how to use a html form passing  values to the another page?
    and
    htmlFormActionLink() method
    in common B/S developing, use html link add with a parameter or some parameters or we can submit it in a form to post values to another page .but how to do these in portal?
    I tried to write the code, but couldn't run at all!
    the provider.xml is still no problem!
    would you be so kind as to help me ?
    thanks!

    Hi Ravi,
            Using the call
    navigation->set_parameter( name='myparameter' value = myvalue ).
    you can set the page parameter myparameter to the value myvalue. This value can then be used for processing in the subsequent page.
    If the form field (in the layout part) and the page parameter are of the type string and are specified by the same name (in this case, myparameter), the following abbreviation can be used:
    navigation->set_parameter( 'myparameter' ).
    Using the set_parameter you can pass only the parameters of type string. If you wish to pass more set of values then you can call a method and then export the values of the drop down.
    Pls reward if useful.
    Thanks.

  • Passing values between two forms

    hi all,
    In form1, i have details of a particular contract driven from clicking the edit button of the report.
    In form1 all the fields are text box and displayed as : disable save states.
    From form1 when i click the edit button it goes to the form2 for editing that particular record.
    In form2 some of the fields are replaced by select list and radiogroups.
    problem is:
    the data's from form1 (which is in text box disabled) is not getting displayed in the form2 in form of radio groups
    Please, could any one give a solution for this?
    whether it can be done?
    thanks in advance.

    You can try to pass the parameters (go to url region of the page).
    Leo

  • How to pass parameters between tow windows.

    hi,
    iam opening my first.jsp in browser.
    it contains a button called click .if we click on this button it opens a new popup window with another jsp page..it have one text box.where user enter a value.and clicks on submitt..when i click the submit button iam closing the popup window..with window.close().
    then the window is closing..now what i want is the value which i entered in poupup window ,i want to retreive this value in another jsp page..how can i get that value..
    regards,
    sam

    thatz very simple.
    try using one of the following.
    1.use java script but as he said it wont b sent to the server.
    2.otherwise use cookies to store and retrive that value.
    3.this one is simple,u dont need a popup jsp page,instead use a inputbox simply.LOL

  • Passing parameters between views in different Web Dynpro applications

    Hi everyone,
    I would like to pass the value of one parameter between one view in a webdynpro application and another view that is in other webdynpro application. How can I do this in a secure way?

    Hi,
    Check below links for passing parameters between two applications:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b083f76a-708c-2b10-559b-e07c36dc5440
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/91b6ad90-0201-0010-efa3-9626d2685b6e
    Re: Pass parameters via POST in WDPortalNavigation.navigateAbsolute method
    Regards,
    Anagha

  • Urgent! pass parameters between jsp pages

    Does anyone can give an example about how to pass parameters between jsp pages?
    This is what I do:
    pageContext.forward("pag_loginc.jsp?p_idusr=" + strUsr + "&c_password=");
    But when deployed is not working.
    Help is needed.

    can you put that stuff in the session context in the first page, then pull it out in the second page?

Maybe you are looking for