Passing values from a FORM to another FORM

Hi,
I have to pass values from FORM "A" to FORM "B". What is the best way to do this?\
Can I use a GLOBAL variable?
Thanks,
Marc.

I think he meant the global namespace.
You set a :global_your_name_here to a value and that value is available in your entire application. See the help file section on the global namespace for more information.
Forms parameters are parameters that you form picks up from the outside when it starts. The calling entity must supply them in the URL or they will be set to null. You set them up in the object navigator in the Parameters node.

Similar Messages

  • Passing value from Webdynpro ABAP to Adobe form..

    Hi experts,
            In first view of web dynpro, im getting employee id as input and after clicking the create new button, an adobe form is called
    to create the employee details ( in form i used the submit button and i stored the details ). so, in tat form i used the employee id as read only mode and it has to display the value which i given as input. But in tat form im not getting the value from web dynpro..
    can anyone plz help me out for this..
    Thanks in advance..

    Hi,
    Try to set your values in Method->"wddomodify" of the View in which Adobe Form is present. If you want to pass values from one view to another then check this link [Passing Local Parameters between views in an ABAP Web Dynpro Application|http://wiki.sdn.sap.com/wiki/display/stage/PassingLocalParametersbetweenviewsinanABAPWebDynproApplication] or use Context declared in Component Controller.
    Regards
    Pradeep Goli

  • Passing value from one jsp to another?

    how to pass value from one jsp to another? i have a value assigned in the link, i want to pass that value to another jsp page?
    please help with code?

    Instead of the value being passed, i am getting a null value.
    Here is my calendar code:
    <%@page import="java.util.*,java.text.*" %>
    <html>
    <head>
    <title>Print a month page.</title>
    </head>
    <body bgcolor="white">
    <%
                  boolean yyok = false;
                  int yy = 0, mm = 0;
                  String yyString = request.getParameter("year");
                  if (yyString != null && yyString.length() > 0)
                      try
                          yy = Integer.parseInt(yyString);
                                  yyok = true;
                       catch (NumberFormatException e)
                          out.println("Year " + yyString + " invalid" );
                  Calendar c = Calendar.getInstance( );
                  if (!yyok)yy = c.get(Calendar.YEAR);  
                         mm = c.get(Calendar.MONTH);
    %>
                  <table align="center">
                      <tr>
                  <td>
                       <form method=post action="calendar.jsp">
                          Enter Year : <select name="year">
    <%         
                 for(int i= yy;i<=2010;i++)
    %>
                  <OPTION VALUE= <%=i%> > <%=i%> </option>
    <%       
    %>
              </select>
                      <input type=submit value="Display">
                      </form>
                      </td>
                    </tr>
    <tr>
                     <table>
    <%!
    String[] months = {"January","February","March",
                    "April","May","June",
                    "July","August","September",
                    "October","November", "December"
    int dom[] =     {
                        31, 28, 31, 30,
                        31, 30, 31, 31,
                        30, 31, 30, 31
    %>
    <%
                int leadGap =0;
    %>
    <div id="t1" class="tip"><table border="4" cellpadding=3 cellspacing="3" width="250" align="center" bgcolor="lavender">
    <tr>
    <td halign="centre" colgroup span="7" style="color:#FF0000;">
    </colgroup>
    <tr>
    <td>
    <%
              GregorianCalendar calendar =null;
              for(int j=0;j<12;j++)
                        calendar = new GregorianCalendar(yy, j, 1);
                  int row = 1 ;
                  row = row + j;
        %>
              <table>
                <tr>
              <colgroup span="7" style="color:#FF0000;">
              </colgroup>
                </tr>
              <tr align="center">
              <th colspan=7>
                  <%= months[j] %>
                  <%= yy %>
              </th>
              </tr>
    <tr>
    <td>Sun</td><td>Mon</td><td>Tue</td><td>Wed</td><td>Thu</td><td>Fri</td><td>Sat</td>
    </tr>
    <%
        leadGap = calendar.get(Calendar.DAY_OF_WEEK)-1;
        int daysInMonth = dom[j];
        if ( calendar.isLeapYear( calendar.get(Calendar.YEAR) ) && j == 1)
        ++daysInMonth;
        out.print("<tr>");
        out.print(" ");
          for (int h = 0; h < leadGap; h++)
           out.print("<td>");
          out.print("</td>");
        for (int h = 1; h <= daysInMonth; h++)
          out.print("<td>");
          out.print("<a href=desc.jsp>" + h + "</a>" );
          out.print("</td>");
        if ((leadGap + h) % 7 == 0)
            out.println("</tr>");
    out.println("</tr></table></div>");
    if( row%3 != 0)
    out.println("</td><td>");
    else
    out.println("</td></tr>\n<tr><td>");
    %>
    </html>I need to pass the value in 'h' to the desc.jsp page.
    my code for desc.jsp is :
    <html>
    <head>
    </head>
    <body bgcolor="lightblue">
    <form method=post action="Calenda.jsp">
    <br>
    <%= request.getParameter("h") %>
    <h2> Description of the event <INPUT NAME="description" TYPE=TEXT SIZE=20> </h2>
    <BR> <INPUT TYPE=SUBMIT VALUE="submit">
    </form>
    </body>
    </html>But i am not able to pass the value. The 'h' value contains all the date. i want to pass only a single date, the user clicks to the other page. please help

  • Is there any way to pass value from one SWF to another ?

    I am doing project using flash, now I cant pass a value from one SWF to another, is there any way to pass value from one SWF to another.
    thanks

    Hi,
    Just to confirm here do you simply want to communicate between two SWFs without involving Flash Media Server. If this is the case one good way of doing it is to use a local connection. It can be used for direct communication between two separate instances of the flash player. However if you want to involve multiple clients sharing a common variable then you may have to use Shared Object for this. Please let me know what is the actual use case, is it multiple clients sharing a common variable or different player instances communicating between themselves.
    Thanks,
    Abhishek

  • Pass value from one page to another

    Hi All,
    "How to pass the value from one Flex page to anothere Flex
    page".
    In First Flex page contains One Inputtext and one button is
    there.After entering the data in inputtext box,the user clicks on
    the button then get the data from inputtext box and then i need to
    send that value to another flex page and display there.
    Can u tel me plz............
    Thanks & Regards,
    Nagarjuna.

    I believe you are thinking in terms of HTML and traditional
    page coding. As an old school ColdFusion guy I understand it is
    difficult to leave that behind. (at least it was for me.) Unless
    you literally have two different HTML pages that each have their
    own Flex app running in them you do not need to send data from one
    page to the next like you would with Web Forms. (If you are doing
    that you may want to simply write the data to a Shared Object, Pass
    it to a server to store and then feed back into the second Flex App
    when it loads or perhaps use the ExternalInterface to then pass it
    through as a series of URL parameters that can be loaded into the
    next Flex App.)
    In Flex you do not have to worry about loosing state between
    pages because there are literally no pages. Only different views.
    You would not "Send" the value from one page to another. You
    provide a mechanism for the second view to reference the same model
    or data object (most call them ValueObjects) that the first view is
    setting via the form fields.
    You would want to use a ValueObject in the first VIEW and
    then fill the object with the form data using setter methods on the
    object. For example set the fields onChange event to call the
    setter on the object and pass it the form fields value as the
    property. Alternately you could bind the values of the model
    directly to the fields so that they automatically obtain the data
    that is being filled in.
    Depending on how complex of an application you are going to
    build and how scalable it must eventually be you have many
    different options to choose from to allow the second View to use
    the data set but the first. However to make the application
    ultimately more scalable you are going to want to keep your view
    separated from the controller and that separated from the
    Model/ValueObject. (By seperated I mean in different classes.)
    I would suggest looking up the subject of MVC in Flex and
    also the Mediator Design pattern. There are many great sources of
    information.
    Here are a few links that may help with ideas.
    http://flexblog.faratasystems.com/?p=246
    http://pages.cpsc.ucalgary.ca/~heatond/mediator/
    http://livedocs.adobe.com/flex/3/html/help.html?content=introbd_2.html

  • Pass Value from one tab to another

    Hi,
    I have a requirement to pass a value from one tab to another.
    For ex: I have a CC&B page with two tabs (Main, Steps).
    In the Main tab, I choose a Field Activity. Once it is chosen, I want to pass the value of the Field Activity ID to the 'Steps' tab. Once I get the value of the field Activity, I can then query up a table and populate some fields in the Steps tab. How can i achieve passing the value if FA Id from one tab to another?
    I tried to create an extension of the page using ext_page.jsp. But this extension just provides us methods like extPreOnWindowLoad(), extPostOnWindowLoad() etc which really is not helpful.
    Any suggestions?
    thanks

    Hi,
    We cannot pass multiple values using Drill Filters beause it is based on hierarchy that can take only one value at a time.
    If you want you can use Report Level Filter instead.
    Neither can we pass dril filters from one tab to other.

  • Pass value from one layer to another.

    Hey,
    Is it possible to pass a value from one layer to another.
    I have a text that I'll get from layer 1 and I want to pass the value to a TextArea in layer 3.
    Is it possible, anyone?
    Thanks.

    I cannot be sure what you are calling a layer is what I know to be a layer--normally one does not go to layers, one goes to different frames.  If you look at the timeline, it consists of frames and possibly multiple layers.  Every layer has the same number of frames, and content in frame 1 of one layer is accessible by content in frame 1 of any other layer.  So if you have a textfield in layer 1, frame 1, and you have a textarea in frame 1, layer 2, you can use code to have the text in one of those assigned to the other.
    If you show a picture of what you are trying to describe it may help.

  • Pass values from one Taskflow to another

    JDev 11.1.1.5.0 ADF BC
    Use case: Need to pass values between two bounded taskflows. There are two different pages on two different taskflows and I need to pass values from one to another.

    Hi sahar
    you can set the value you want to pass to another taskflow in pageFlowScope
    and create input params in the another taskflow and set this pageFlowScope valu into that
    Params of TaskFlow
    you can refer the following link
    http://opreview.blogspot.in/2011/07/adf-how-to-pass-parameters-between.html
    Regards

  • How to pass value from one method to another method

    Hi all,
    I have created a funtion module and i am calling this function module inside a method and it is exporting some value in a table, now i have to pass table value to another method where i have do some thing based upon this values.
    I think there a marco available to move the values from one method to another method.
    Please help me in this issue.
    Regards
    Balaji E.

    Hi,
    Let me make certain assumptions!
    Method 1 - You export the table values
    Method 2 - The method where you need the table values
    Once you create a method from a function module which has tables as one of the export parameters then the code automatically puts in the macro code which looks like : SWC_SET_TABLE CONTAINER 'Table' TABLE.
    The 'Table' in the above code is the container element which is created by the workflow once you use this method and the TABLE (The table that gets filled in the function module) is the variable to code automatically created.
    Now you can use the other function module in the workflow as a background step and pass the values from the 'Table' container to this method using the binding. When you use this then the method automatically has the macro SWC_GET_TABLE CONTAINER 'Table' ITABLE. Here the 'Table' is the same container table you used in the binding and the ITABLE would be the variable you can use in the other function module.
    Hope this helps,
    Sudhi

  • How can I pass values from one node to another

    Give a standard and efficient way to pass values from child to parent

    hai Prathap
    You can use the custom event  for passing values from child to parent

  • Passing value from one frame to another?

    HI
    I am trying to use actionscript to calculate an amount and
    pass it from keyframe (1) to another keyframe (15) where the total
    is supposed to be carried over and displayed. Any ideas why this
    doesn't work?
    Also should I be using screens or scenes to make this any
    easier? - I am not sure.
    thanks
    Emma
    ON FRAME ONE:
    //Calculates total price.
    two_btn.onPress = function() {
    priceTotal_txt.text = Number (price1_txt.text) + Number
    (price2_txt.text) + Number (price3_txt.text) + Number
    (price4_txt.text);
    var MyTotal:Number = priceTotal_txt.text;
    _root.gotoAndStop (15);
    ON FRAME 15:
    this.onEnterFrame = function (){
    var MyTotal:Number = priceTotal_txt.text;}

    Number of things wrong here.
    1. if you declare var MyTotal within the body of a function
    it is considered a local variable and automatically gets deleted
    after the function has executed. Meaning, you loose it.
    The var needs to be declared on the timeline (and is called a
    timeline variable).
    var MyTotal:Number=0;
    //Calculates total price.
    two_btn.onPress = function() {
    priceTotal_txt.text = Number (price1_txt.text) + Number
    (price2_txt.text) + Number (price3_txt.text) + Number
    (price4_txt.text);
    MyTotal = priceTotal_txt.text;
    _root.gotoAndStop (15);
    2. onEnterFrame is a misleading name for the event. You will
    probably include a stop() action on frame 15 and then the function
    you assign to the event handler gets executed n number of times per
    second where n is the framerate of the movie. You don't want that.
    on frame 15:
    trace(MyTotal); // I'm not sure what you want to do here...
    3. Convert a string to a number by using parseInt()
    var MyTotal:Number=0;
    //Calculates total price.
    two_btn.onPress = function() {
    priceTotal_txt.text = Number (price1_txt.text) + Number
    (price2_txt.text) + Number (price3_txt.text) + Number
    (price4_txt.text);
    MyTotal = parseInt(priceTotal_txt.text);
    _root.gotoAndStop (15);

  • Pass value from one VO to another VO.

    I want to create an item on the page but the value is in a different VO in the same root AM. How would I do this other than extending VO(1).
    Both the VO's are on the same page.
    Can you please let me know.
    Thanks
    Rama
    Edited by: user4280075 on Apr 3, 2012 1:41 PM

    Hi,
    Not sure what is your requirement. But if it is just you want to create a new ITEM on a page and the VO's are already present then what is the issue. You can set the vo attribute of any of the VO's available.
    But if your requirement is to copy a value from one VO to another then you can iterate the VO and get the required value and set it to the desired VO row.
    Thanks,
    Mukesh Uchaniya

  • Passing value from mdi child to parent form

    Hallo
    I design project in which is main window with mdi container and mdi child windows. My problem is that so i want to save value from TextBox1 from child form using main menu which is in main window. I don't know how to call content of TextBox1. Here is part
    of code about saving file.
    Private Sub MenuItem5_Click(sender As Object, e As EventArgs) Handles MenuItem5.Click
    If Me.ActiveMdiChild IsNot Nothing Then
    SaveFileDialog1.FileName() = "Nowa metryka"
    SaveFileDialog1.Filter() = "Metryka zaworu bezpieczenstwa (*.mzb) | *.mzb"
    If SaveFileDialog1.ShowDialog() = DialogResult.OK Then
    Dim ZapisywanieTekstu As New IO.StreamWriter(SaveFileDialog1.FileName)
    Dim varZapisywanyTekst As String = ZapisywanieTekstu.AutoFlush
    ZapisywanieTekstu.WriteLine("HERE SHOUL BE A CALL TO TextBox1 VALUE")
    ZapisywanieTekstu.Close()
    End If
    End If
    End Sub
    If somebody have any idea ho to call value of TextBox1 in child form using main form save menu plase give me any help.
    Thank You
    And Best Regards

    Hello,
    I'd ask in
    Windows Forms General.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog:http://unlockpowershell.wordpress.com
    My Book:Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Passing values from one frame to another in a PSP

    i have problem of passing combo values from an HTML frame to another HTML frame.
    These combo values are selected via a sql query. Now when a onClick function tries to pass these selected values to a Java Script function it says invalid object for the java script objects.
    <form name>.<combo box name>.options when called gives invalid object as JS error in the browser.
    plz can, some one suggest me how to recognize these selected values.
    Thanx,
    Jay

    I dont see a 'REFRESH' option in the context menu (when I right click on the query). Also, the REFRESH option available in the MENU options (ie PAUSE AUTOMATIC REFRESH) also does not work.
    The way I built my workbook was, I built the 1st query in Analyzer and then I started inserting 'ANALYSIS GRIDS' in the remaining worksheets. To these GRIDS - I linked a data provider and linked a query or query view to that data provider.
    Any more suggestions??
    Regards.

  • ESB  : How to Pass value from one RS to another RS

    Hi Gurus,
    I want to pass a value from one First Routing service to another to set the value for the last XSL transformation.
    How can I do this without creating specific XSDs??
    Rgs
    JO

    Data flowing through the ESB is XML-based (or opaque), so if the value you want to pass is in the XML result of RS1, you can use it in RS2. If you have a good reason why not too or this doesn't work for you, you could store data somewhere along the ESB process (database, stateful bean, etc.). Otherwise, you would need to let the ESB generate (or create you own) XSD describing the XML.
    Regards,
    Ronald

  • Facing Problem with passing Values from One report to another

    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

    sorry for the late updation.
    My First Report, Summary level is a Pivot Table.
    I tried the same report with Table option, the value is passing correctly.
    Is there a way to get rid of this situation using Pivot table.
    Thanks for your help.
    below is the original request.
    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

Maybe you are looking for

  • Exception while creating a jar file for bean

    Friendz, I am getting this error whenever i tried to create a jar file. I am using win 98 os and jdk1.4 please tell me what error it is C:\bean\programs\spectrum>jar cfm a.jar manifest.mft spectrum.class java.io.IOException: invalid header field at j

  • How to install Oracle 9i on WIndows XP 64-bit?

    I downloaded Oracle9i Database Release 2 Enterprise/Standard/Personal/Client Edition for Windows XP 2003/Windows Server 2003 (64-bit) from the web site. I run Windows XP Professional x64 version 2003 Service pack 1. When I am trying to run setup I am

  • Import PDF into InDesign

    Brand New InDesign User (latest version on OS X) We have layout modifications to do on some marketing material that is being sent to us in PDF form. I know InDesign can import the PDFs but it seems that the type and image layers are not available. It

  • How can I transfer a purchased App to my daughters iPad

    I purchased an App for my daughter to try and at the time we only had 1 iPad, mine. The app was/is for school work, note taking, and it was a huge success. Now I want to make that iPad hers so she can sync it to her laptop (MB 13). The trouble is I d

  • HOW TO AUTOMATICALLY RECEIVE LAST DAY DATABASE ERRORS I.E FROM 7AM T0 6PM

    HOW TO AUTOMATICALLY RECEIVE LAST DAY DATABASE ERRORS I.E FROM 7AM T0 6PM