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.
Regards,
Bhanu.R

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.
example.
EXPORT gs_header FROM gs_header to memory id 'HEADER'.
EXPORT gt_item FROM gt_item to memory id 'ITEM'.
SUBMIT YFIIN_DISHC_MAILREPORT EXPORTING LIST TO MEMORY AND RETURN.
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,
    AO

    Hi,
    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.........
    thanks,
    prasanna

  • How to pass the values from one screen to another

    HI,
    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.
        ENDLOOP.
    MOVE-CORRESPONDING lt_zzmm_po_comp TO ctrl_0111.
      read table ctrl_0111-cols into col where index = 3.
      ENDIF.
    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
    PROCESS BEFORE OUTPUT.
    MODULE status_0111.
    MODULE FETCH_DATA.
    loop at lt_zzmm_po_comp WITH CONTROL ctrl_0111 cursor
    ctrl_0111-current_line.
       module pass_line.
    endloop.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0111.
    loop.
    *module read_data.
    endloop.
    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 view.in 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.

    Hi,
    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,
    Guillaume

  • 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.
    Cause:
    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.
    Regards
    Mahesh

    Hi Mahesh,
    Use
    OA.jsp?page=/oracle/apps/................&retainAM=Y).
    Thanks
    Jegan

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

    Hi,
    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.
    http://help.sap.com/saphelp_nw70/helpdata/en/9a/e8934258a5ca6ae10000000a155106/frameset.htm
    Here is also link for Web Dynpro Callable Object
    http://help.sap.com/saphelp_nw70/helpdata/en/de/8976417f2d5558e10000000a1550b0/frameset.htm
    If you have any conficution please let me know.
    Thanks
    Chandan

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

    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

    Hello,
    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?
    Thanks,
    Pradip

    Hi,
    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.
    Regards
    MuRam
    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..
    javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1:::P_ASK_U:&APP_USER.');
    Is there any syntax error or is it not possible, please let me know..
    Thanks
    Venu

    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:
    f?p=100:101:10636547268728380919::NO::MY_ITEM:ABC
    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.
    javascript:popupURL('http://htmldb.oracle.com/pls/otn/f?p=35129:1::P_ASK_U:&APP_USER.');
    sorry I still do not know what I am missing..
    Thanks
    Venu

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

    Hi,
    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.
    Regards,
    Anton.

  • Pass lov value from one page to another page

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

    Hi,
    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.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Copy the value from one item into another

    Hi,
    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?
    Thanks,
    Gavin

    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?
    Thanks,
    Gavin

  • 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?
    Regards,
    Gowri Shankar

    Hi...
    Use the statement
    <b>SUBMIT zps_called_report WITH SELECTION-TABLE seltab.</b>
    see the following link....
    <b>http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm</b>
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......
    Suresh.......

Maybe you are looking for

  • Multiple data sources Essbase and RDBMS in BIEE 11g

    Hi, I want to link Essbase cube with sql server in BIEE 11. I try to do it and I found that it can be linked in physical layer, but it does not allow me to set linkage in "Business Model and Mapping" layer. when I drag and drop a report and it return

  • LAN side firewall settings for Direct Access (Windows Server 2012 R2) in DMZ?

    I am currently planning to set up our first Direct Access server (Windows Server 2012 R2). I will be in our firewall DMZ and we will be using the IP-HTTPS listener. For the Internet facing rule only TCP 443 inbound/outbound is sufficient but for the

  • Render Farm

    I do video productions in HD so I do some hefty rendering. I was wondering if I could take a bunch of Mac Minis and network them as a cluster so I can submit batches to them through compressor. Thanks Brooks

  • HT3775 Why can´t I open my MPG files in QuickTime for Lion??

    It tells me that it misses some codecs; but it should be an integrated function in QuickTime Player version of the Lion or?? My MPG files has been recordet with my Sony handycam DCR-SR90.

  • Read the stack value in a stacked graph upon user action

    Hi, We have a Stacked Column Chart. When the user click on a stack, i want to read that stack value and pass it to a different query to fetch the values for drilldown. Could anyone please advise the solution to do this? Suppose the user click on the