Passing the values from one pgm to another pgm (Calling pgm has no sel scr)

Hi gurus,
In my requirement i need to pass the values from one program to another program.
I am using SUBMIT statement . But , the program which i am calling has no selection screen.
So how can i pass the values?
Please help me ASAP.

Export your internal tables or work areas to a memory id in ur program before u use submit.
Then in second pgm you have to import from memory id given above.
EXPORT gs_header FROM gs_header to memory id 'HEADER'.
EXPORT gt_item FROM gt_item to memory id 'ITEM'.
In your second pgm you can write
import gs_header TO gs_header from MEMORY id 'HEADER'.
import gt_item TO gt_item from MEMORY id 'ITEM'.

Similar Messages

  • Unable to pass the values from one report to another using navigation links

    Hi All,
    I am facing a strange issue where I have to pass a column value from one report to other.
    I have kept navigation link in the 1st report and 'is prompted' option in the 2nd report
    Issue was , I'm not getting the filtered result in the 2nd report (all the records are being displayed)
    Can anyone advice where I was going wrong
    Thank you,

    The column which you have given navigation link and 'is prompted' column should same and exist in both the reports.You have to give the guided navigation in the value interaction of the column in the report1.
    mark if helpful/correct.........

  • How to pass the values from one screen to another

    consider me21n,
    po is created with the item category L,so components tab is enabled.that u all know.
    i have added the custom tab in the item details with netwt,gross wt,no of pieces and one more field.
    those fields are also in component structure of material data.
    i need to pass the matnr,maktx,quantity,ntwt,grosswt from the component to be displayed in  the subscreen.
    i used import mdpm to xmdpm from memory id 'subcon',  where it is exported from the function module 'me_components-maintain'.
    how to pass  all the values from component of structure MDPM to the subscreen of custom tab in the item details.
    help me pls........................'

    hi everyone,
    MODULE status_0111 OUTPUT.
    data : fill type i.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.,
      DESCRIBE TABLE lt_zzmm_po_comp LINES fill.
      ctrl_0111-lines = fill.
    ENDMODULE.                 " STATUS_0111  OUTPUT
    MODULE fetch_data OUTPUT.
      ctrl_0111-lines = 2.
    import xmdpm to lt_xmdpm from memory id 'SUBCON'.
    IF not sy-subrc eq 0.
        CLEAR lt_zzmm_po_comp[].
        LOOP AT lt_xmdpm.
          MOVE-CORRESPONDING lt_xmdpm TO lt_zzmm_po_comp.
          APPEND lt_zzmm_po_comp.
    MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
      read table ctrl_0111-cols into col where index = 3.
    ENDMODULE.                 " FETCH_DATA  OUTPUT
    MODULE pass_line OUTPUT.
      READ TABLE lt_zzmm_po_comp INDEX ctrl_0111-current_line.
      MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
    ENDMODULE.                 " PASS_LINE  OUTPUT
    flow logic
    MODULE status_0111.
    loop at lt_zzmm_po_comp WITH CONTROL ctrl_0111 cursor
       module pass_line.
    *module read_data.
    but i cant see my fields in the table control .....i dont know y it is  not coming?can anyone help me with code...

  • Passing the values from one application to another application using mvc

    Hi sdn,
    Iam new to bsp.i created one application zappl1 in that i created one controller and one that view i created 2 input fields.and also  created another application zappl2 in that also created one controller and one view. wai i want to enter in the inputfileds of first application view that values will be display in second application view.Please help out of this.

    I can see 2 ways of doing. Either you use parameters in the URL from the first application to the second, as any web application would do.
    Or, you can think of using the Web Application Server let :
    - the first application store the values
    - for the second application to retrieve
    Personnally, I would tend to suggest the first solution as it allows both applications to be replaced later on.
    Best regards,

  • How to pass the value from one page to another page

    Dear Gaurav
    I have three pages
    1-creation page
    2-search page
    3-creation page
    in first creation page I have column name user write a% and submit to that search for that name.
    it is going to second page (search page)name a% is passed and search that corresponding value,the corresponding values are not there user will call third creation page and enter the details and save and click back to first page the value is not calling passing from third page to first page I submit the button in 3rd page the error is coming like this.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example). If the browser's navigation buttons were not used, this error could have been caused by coding mistakes in application code. Please check Supporting the Browser Back Button developer guide - View Object Primary Key Comparison section to review the primary causes of this error and correct the coding mistakes.
    The view object xxcrmleadmgmtAM.xxcrmleadmgmtVO contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    in first page column name I removed view instance and view attribute the value is passing from third page to first page
    my requirement is the value call from 3 to 1 and user will enter remaining fields in 1st page and save the records.

    Hi Mahesh,

  • How to pass the value from one level to another level

    Example :
    we have secnario for leave process
    initiall the user enters the name in first action the personal number should pick from first action to background RFC CO to pick the Payroll admin from R/3
    i designed the first data input form.... i want to pick the personal number and pass that one to next action in background mode.
    thanks in advance

    If you want to execute the step in background then you can use the callable object of type "Background Execution" or if you want to do any user interaction on that step then you can go for web dynpro callable object. Here is the link for Background Execution callable object.
    Here is also link for Web Dynpro Callable Object
    If you have any conficution please let me know.

  • How we can get the values  from one screen to another screen?

    hi guru's.
         how we can get the values  from one screen to another screen?
              we get values where cusor is placed but in my requirement i want to get to field values from one screen to another screen.

    Just think of dynpros as windows into the global memory of your program... so if you want the value of a field on dynpro 1234 to appear on dynpro 2345, then just pop the value into a global variable (i.e. one defined in your top include), and you will be able to see it in your second dynpro (assuming you make the field formats etc the same on both screens!).

  • How can I pass the photos from one iphone to another?

    how can I pass the photos from one iphone to another?

    Use the Beaming feature. See the info at the ? In iPhoto for iOS.

  • Pass variable value from one dashboard to another dashboard

    I have one main dashboard which have "year" prompt with drop down and variaous links & also some reports.
    And we have same year prompt on another dashboards only difference is, this prompt is editable not drop down.
    The requirement is, when I navigate from main dashboard to another dashboard through reports, that time selected prompt value
    comes in navigated dashboard prompt.
    But When I navigate from main dashboard to another dashboard using Link or using <A Href> tag, now selected prompt value can not come in navigated dashboard prompt.
    How can we pass selected prompt value from one dashboard to another dashboard? OR Is there any other technique?

    You need to make the scope of the prompt as 'Dashboard' and if this doesnt work.
    Then use presentation variable in the first prompt and pass it to the second prompt.
    So this will surely pass the values across pages.
    NOTE: Please mention if this resolved your problem/still facing and close the thread.

  • How can I pass a value from one application to another through URL

    I am passing a value APP_USER from one application to another application (item is P_ASK_U) through navigation bar entrees URL.
    This is working with in the application..(javascript:popupURL('f?p=&APP_ID.:165:&SESSION.::&DEBUG.::P_ASK_U:#&APP_USER.#') )
    This one is not passing the value, eventhough it open the application..
    Is there any syntax error or is it not possible, please let me know..

    Hi Scott,
    You are right, the first one do not need # character.
    In the Doc it is mentioned as....
    Pass the value on a URL reference using f?p syntax. For example:
    I am using the following URL, it pops up the external application, but it is not passing the APP_USER value to the page item of that application.
    sorry I still do not know what I am missing..

  • Is it possible to pass selected value from one jsp to another jsp page?

    In my welcome page(in jsp), if the user is selecting some values, is it possible to pass those values to another jsp page and display?
    If yes, how can it be done?
    please help..

    Yes, you would have to make the motion from one page to the next submit a form. Then on the second JSP you can use request.getParameter("nameOfInputField") to get the value the user selected.

  • Passing parameter value from one script to another in job chain steps

    Hi all,
    We have a scenario where in we have a job chain with two steps
    1-Step 1 contains a script which fetches value from database to the script parameter(in/out) - PAR_DB_VALUE
    2-Step 2 contains another script which uses the value of the parameter PAR_DB_VALUE and has to assign to another parameter in the script 2 called PAR_FETCHED_VALUE(in)
    How to pass the value of PAR_DB_VALUE to PAR_FETCHED_VALUE which are parameters in two different steps
    Please help
    Thanks and Regards

    You can achieve this as follows (CPS version 6 & 7):
    - Edit the chain
    - Go to the second step, to the parameters of the script call in that step
    - Go to the parameter (PAR_FETCHED_VALUE) that you want to be filled by the parameter of the first step
    - choose "Chain value" in the detail screen for the parameter, and select the desired out parameter from the drop down
    Note that both parameters need to be of the same type for this to work.

  • Pass lov value from one page to another page

    can any one please help me how to pass selected lov value in one page to another page
    iam able to get the lov value in controller but how to pass that value as parameter to the VO in another page.

    Get the value in controller, create a hash map and put that value in hashmap.
    Then pass that hashmap in pageContext.forwardImmediately method.
    If you want to use that value in multiple pages, then put that in session variable.

  • Copy the value from one item into another

    I have a page with 2 items on it: Field1 and Field2. When the user enters a value in Field1 and tabs out, I want to copy the value to Field2.
    I have changed the setField1 method in the VORowImpl to call setField2 passing in the same value.
    In the JHeadstart definition file I have set the Depends On Item property of Field2 to be Field1.
    When I run the page and put a value in Field1 the page autosubmits as expected and the setField1 method runs. Unfortunately, the value does not appear in Field2.
    Any ideas?

    Hi Steven,
    Checking the box does indeed get the value from Field1 into Field2.
    What I want to do, though, is to populate Field2 from Field1 only if Field2 is empty. Unfortunately, Field2 is now cleared before the setter of Field1 executes and so it always overwrites Field2.
    Any ideas?

  • Passing the values from one selection screen to another report

    Hi all,
    This is my requirement...
    I need to hav a selection screen with various input parameter along with 3 radio buttons...
    If i enter the values and select say first radiobutton the corresponding called program needs to be executed .
    NOTE :
    1)The called program selection screen needs to be skipped
    2) the values entered in the calling program needs to be passed to the called program and the output of the called program needs to be displayed.
    3)the selection screen is the same for both calling and called program
    Can anyone plz help in this regard?
    Gowri Shankar

    Use the statement
    <b>SUBMIT zps_called_report WITH SELECTION-TABLE seltab.</b>
    see the following link....
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......

Maybe you are looking for

  • In iCal, how can I send multiple email invitations for a single event to one invitee who has multiple email addresses?

    In the "Invitees" field of an event in iCal 4.0.4, I can list my wife from her Address Book card, and choose either her work or personal email address; but I cannot add her *again* and choose the *other* email address, so that she receives it both at

  • Why won't BIOS vcore stay when in WinXP?

    Ok, something I couldn't find here in the forums is driving me nuts.  I am running a Neo2 Plat. with 1.41MOD Bios so that I can have +18.3% on the vcore.  When I set this in BIOS CPU VID 1.550 and then Over VID 18.3% it loads in windows with a vcore

  • Remain case for table column name

    Hello, i am a java developer. I had helped my company to develop a java application all the while and before this we are using ms sql server database. Recently, we want to migrate the database to oracle database. The problem is, in our application, w

  • Can't install deskjet 9800

    Hi all, I'm sure this is down to my lack of knowledge! I am trying to print to an HP DeskJet 9800 at a clients, but without success. I've found the printer in the Windows section of System prefs > Print & fax > add printer, but no driver in the "prin

  • Generating XML signature with prefix dsig ?

    Hi everyone, I'm facing a problem generating a signature of XML document. I'm using Jwsdp and the apache toolkit. So far, I can generate the signature of this form : <Signature> <SignedInfo> ..... I would like to generate the signature like this : <d