Submit program B and return to program A selection screen

Dear all,
I have program A with selection screen and this program display listing.
In program A, when user choose the option to display another report listing in selection screen, then in program A, will have submit program B with ... and return
May I know how can make the program B after showing the listing go back to program A selection screen and not continue to display program A report listing?
Thanks
Rgds

Like this
REPORT  z_a.
PARAMETERS: pa_a(10) TYPE c,
            pa_callb AS CHECKBOX.
IF pa_callb = 'X'.
  SUBMIT z_b WITH pa_b = pa_a
        AND RETURN.
  EXIT.
ENDIF.
WRITE: / 'Here is program A, the parameter value is: ',pa_a .
REPORT  Z_B.
PARAMETERS pa_b(10) type c.
write: / 'Here is program B, the parameter value passed from A is: ',pa_b .
Regards
Marcin

Similar Messages

  • Submir Report "RSNAST00" and passing parametrs to the selection screen

    Hello ABAP,
    I have to code a Report/TA which gathers some info and then calls RSNAST00.
    The info gathering part is done.
    The info gathered shall be transferred to the report RSNAST00 or to it´s selection screen, tho the selection screen should not be visible. And then RSNAST00 shall do it´s normal job.
    Any hints how i can pass those parameters and make that selection screen not appear?

    Hi florian,
    1. We have to use the comand SUBMIT with the program name and some extensions.
       (please see F1 help on it)
    2. This will call the required program.
    3. We can also pass the required values using WITH Var1 = Val1
    4. we can use the extension AND RETURN so that the selection screen of RSNAST00 does not appear on screen.
    regards,
    amit m.

  • When I try to play several games like: FiFa 2011HD, Real Racing2HD and TransformersHD, after I selected the configurations to start to play it, and then the game close  the window and returns to the Ipad main screen. I upgraded my Ipad at Apple store but

    When I try to play several games like: FiFa 2011HD, Real Racing2HD and TransformersHD, after I selected the configurations to start to play it, and then the game close  the window and returns to the Ipad main screen. I upgraded my Ipad at Apple store but nothing happened. Anyone knows how can I resolve it, please ?

    1. first try to reboot your ipad
    if that don't work then try downloading another app don't matter which one
    and if it fix your problem you can just delete it afterwards

  • How to submit a report and return a table?

    Sumbit RVKRED01 and return .
    then how to get table value from report RVKRED01 ???

    Follow the below example:
    SUBMIT rashsd14
                          WITH vbeln IN l_rsdsselopt
                          WITH dbasar = c_x
                          EXPORTING LIST TO MEMORY AND RETURN.
    *Getting the list from memory
                          REFRESH t_tab1.
                          CALL FUNCTION 'LIST_FROM_MEMORY'
                            TABLES
                              listobject = t_tab1
                            EXCEPTIONS
                              not_found  = 1.
                          IF sy-subrc <> 0.
                          ENDIF.
    *Converting to ASCII
                          REFRESH t_tab2.
                          CALL FUNCTION 'LIST_TO_ASCI'
                            TABLES
                              listasci           = t_tab2
                              listobject         = t_tab1
                            EXCEPTIONS
                              empty_list         = 1
                              list_index_invalid = 2.
                          IF sy-subrc <> 0.
                            WRITE: / 'LIST_TO_ASCI error'(098).
                          ENDIF.
                          IF t_tab2 IS NOT INITIAL.
                            DELETE t_tab2 INDEX 1.
                            DELETE t_tab2 INDEX 1.
                            DELETE t_tab2 INDEX 1.
                            DESCRIBE TABLE t_tab2 LINES g_tabix.
                            DELETE t_tab2 INDEX g_tabix.
                          ENDIF.
                          REFRESH t_vbka1.
                          IF t_tab2 IS NOT INITIAL.
                            LOOP AT t_tab2 INTO wa_tab2.
                              CLEAR wa_vbka-vbeln.
                              REPLACE ALL OCCURRENCES OF '|' IN wa_tab2-vbeln WITH space.
                              CONDENSE wa_tab2-vbeln.
                              CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                                EXPORTING
                                  input  = wa_tab2-vbeln
                                IMPORTING
                                  output = wa_vbka-vbeln.
                             wa_vbka-vbeln = wa_tab2-vbeln.
                              APPEND wa_vbka TO t_vbka1.
                            ENDLOOP.
                            SORT t_vbka1 BY vbeln.
                          ENDIF.

  • My Ipad Mini Keeps Closing Apps and Returning back to the Home Screen?

    Hi,
    I bought an ipad mini at the beginning of December and i have had problems with it ever since.
    For some reason i could be in the middle of doing something (doesnt matter what app or what i'm doing) and it will just shut down and return to the home screen so i then have to open the app again?
    Its quite frustrating and i have searched the web high and low for other similar problems but i cannot find anything.
    I am using the ios 6.0.2.
    Thank you
    Daniel

    You might need to consider restoring the iPad to factory settings: http://support.apple.com/kb/index?page=search&src=support_site.home.search_sugge sted.search&locale=en_US&q=restore%20ipad%20manually

  • Enabling Key and text for the Variable Selection screen

    I need to display key and text for a characteristic when selecting the drop down menu in the variable selection screen of a web report. In the Business Explorer tab within the info-object, I changed the General Settings to display Key and text, but when I open the drop down menu for this characteristic, it is still displaying the key only. Is there some other place where this change needs to happen?

    Hi,
    Did you try to log out and log in again into BEx?
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Behaviour of radiobutton and mandatory fields in a selection screen

    Hello all
    In the selection screen in a report , I have one mandatory field F1 and 2 radio button  p_val and p_prov. there's no relationship between p_prov, p_val & F1.
    I have 2 others fields p_dom and p_seg which are active when I select p_val : they are also mandatory when selecting p_val.
    p_prov is the default radiobutton so p_dom and p_seg are inactive when the screen appears
    I have 2 problems :
    1 - First I select p_val (the message for F1 as mandatory appears -> normal) so p_val appears selected but The 2 fields p_dom and p_seg are not active. I would like them to be active even I have not filled F1.
    2- I fill F1then I select p_val, so p_dom and p_seg are active, I fill only p_dom but not p_seg : I select radio button p_prov (the message for p_seg as mandatory appears -> normal) : p_prov appears selected but I don't want it.
    Thanks for your help.
    below the code of selection screen with event at selection-screen output :
      SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS : p_val RADIOBUTTON GROUP GR2 USER-COMMAND radio.
      SELECTION-SCREEN COMMENT 4(37) text-132.
      SELECTION-SCREEN END OF LINE.
      PARAMETERS : p_dom TYPE GSBER OBLIGATORY MODIF ID SC1.
      PARAMETERS : p_seg TYPE FB_SEGMENT OBLIGATORY MODIF ID SC1.
      SELECTION-SCREEN BEGIN OF LINE.
      PARAMETERS : p_prov RADIOBUTTON GROUP GR2 DEFAULT 'X'.
      SELECTION-SCREEN COMMENT 4(37) text-133.
      SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'SC1'.
          IF p_prov = 'X'.
            SCREEN-INPUT = '0'.
            SCREEN-REQUIRED = '0'.
          ENDIF.
          IF p_val = 'X'.
            SCREEN-INPUT = '1'.
            SCREEN-REQUIRED = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.

    hello Jerome,
    Here you go.
    2 things to remember:
       1. Remove the obligatory addition from all fields.
       2. Remove the input required while changing the screen elements.
    PARAMETER: f1 TYPE c LENGTH 10.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : p_val RADIOBUTTON GROUP gr2 USER-COMMAND radio.
    SELECTION-SCREEN COMMENT 4(37) text-132.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS : p_dom TYPE gsber MODIF ID sc1.
    PARAMETERS : p_seg TYPE fb_segment MODIF ID sc1.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : p_prov RADIOBUTTON GROUP gr2 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 4(37) text-133.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'SC1'.
          IF p_prov = 'X'.
            screen-input = '0'.
          ENDIF.
          IF p_val = 'X'.
            screen-input = '1'.
          ENDIF.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN.
      CHECK sy-ucomm <> 'RADIO'.
      IF p_val = 'X'.
        IF p_dom IS INITIAL OR p_seg IS INITIAL.
          MESSAGE 'Fill Mandatory fields' TYPE 'E'.
        ENDIF.
      ENDIF.
      IF f1 IS INITIAL.
        MESSAGE 'Fill F1' TYPE 'E'.
      ENDIF.
    Thanks,
    Jinesh.

  • Hiding and Unhiding Fields On The Selection Screen

    Hi Guys/Dolls
    I've managed to grey out and hide some fields on a selection screen within the AT SELECTION-SCREEN OUTPUT section but don't know how to re-instate them.
    basically on initial entry of the screen some fields are hidden but once I enter some pre-requisite data I need to display them but in a greyed out manner.
    I've done the first bit but don't know how to do the 2nd bit i.e re-display the fields.
    Any help would be appreciated.
    Many thanks in advance.
    Raj
    My code is as follows:-
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS: begcalsh LIKE t549q-begda MODIF ID pe4.
    SELECTION-SCREEN COMMENT (1) text-199 FOR FIELD endcalsh
    MODIF ID pe4.
    PARAMETERS: endcalsh LIKE t549q-endda MODIF ID pe4.
    SELECTION-SCREEN POSITION POS_HIGH.
    PARAMETERS: begrefsh LIKE t549q-begda MODIF ID pe5.
    SELECTION-SCREEN COMMENT (1) text-199 FOR FIELD endrefsh
    MODIF ID pe5.
    PARAMETERS: endrefsh LIKE t549q-endda MODIF ID pe5.
    SELECTION-SCREEN END OF LINE.
    AT SELECTION-SCREEN OUTPUT.
    * Grey out the parameters.
      PERFORM params_grey_in_out USING 'false' 'PE4'.
      PERFORM params_grey_in_out USING 'false' 'PE5'.
    * Hide the parameters.
      PERFORM params_show_hide USING 'false' 'PE4'.
      PERFORM params_show_hide USING 'false' 'PE5'.
    AT SELECTION-SCREEN.
      PERFORM params_show_hide USING 'true' 'PE4'.
      PERFORM params_show_hide USING 'true' 'PE5'.
    *&      Form  params_grey_in_out
    FORM params_grey_in_out USING value(iv_triggering_param)
                                     value(iv_screen_group).
    *this form activates fields with MODIF ID = IV_SCREEN_GROUP
    *if IV_TRIGGERING_PARAM eq TRUE and greys them out otherwise.
      DATA lx_input LIKE screen-input.
      IF iv_triggering_param EQ 'true'.
        lx_input = 1.
      ELSE.
        lx_input = 0.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 EQ iv_screen_group.
          screen-input = lx_input.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " params_grey_in_out
    *&      Form  params_show_hide
    FORM params_show_hide USING value(iv_triggering_param)
                                     value(iv_screen_group).
    *this form displays fields with MODIF ID = IV_SCREEN_GROUP
    *if IV_TRIGGERING_PARAM eq TRUE and hides them otherwise.
      DATA lx_active LIKE screen-active. "(1) type n.
      DATA lx_invisible LIKE screen-active. "(1) type n.
      IF iv_triggering_param EQ 'true'.
        lx_active = 1.
        lx_invisible = 0.
      ELSE.
        lx_active = 0.
        lx_invisible = 1.
      ENDIF.
      LOOP AT SCREEN.
        IF screen-group1 EQ iv_screen_group.
          screen-invisible = lx_invisible.
          screen-active = lx_active.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " params_show_hide

    hi u use this logic
       LOOP AT SCREEN.
          IF screen-group1 = 'GR3'.
            screen-active = 1.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
        LOOP AT SCREEN.
          IF screen-group1 = 'GR2'.
            screen-invisible = 0.
            screen-input = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.

  • Apps still frozen after reset when you touch the app the screen flashes and then goes back to selection screen

    Help

    Try another  Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. When the screen goes blank then power ON again in the normal way.]

  • QUERY when run on WEB and RSRT then RRI show selection screen on receiver.

    Hi,
        We have two query: Query 1 and Query 2.
        Query 1 can be RRI to Query 2.
       The variable for fiscal period and Forecast version are both mandatory. The selection for plan version is optional.
       When run this on BEx Analyzer, the jump work smoothly without pop-up of selection screen of the receiver query.
       However, when run on RSRT and Web, the selection screen is being pop-up and you need to press execute button before the 2nd query will be shown.
       The value of the variables is pass correctly.
        Fiscal Period on 1st query is being restricted by two variables.. one interval variable on Free characteristics.. and one single variable on restriction of key figure. The single variable is the one exist and passed on the 2nd query.
       Hope you can help me.

    the only thing i can think of on the wbe is a setting for opening windows in tabs or open new window under tools for rsrt not sure, did you try to run it in HTML in rsrt?
    it could be setting in SPRO for reporting worse comes to worse open a note with sap.

  • How to submit a page and return back to originating page?

    I have two form pages. The first page gives a error message and also gives second page url to go to fix the error. The url also sets the return page on page 2, so that after submit the changes, the user can come back to first page automatically. I have created branch on second page and gave return page item and flow works fine, but does not save changes on second page. How can I save the changes and go back to first page automatically. any ideas are appreciated.
    Thanks,
    Surya

    I have two form pages. The first page gives a error message and also gives second page url to go to fix the error. The url also sets the return page on page 2, so that after submit the changes, the user can come back to first page automatically. I have created branch on second page and gave return page item and flow works fine, but does not save changes on second page. How can I save the changes and go back to first page automatically. any ideas are appreciated.
    Thanks,
    Surya

  • Submit batch job and return control to the user

    Hi
    Have a situation where we need to submit a batch report and then return control to the user of the application before the report is finished. What is the best way to do this? The old application is written using Java and the application is using threads to do this. However, the application is being re-written in App Ex.
    Any ideas would be appreciated.
    Thanks

    You need to use package APEX_PLSQL_JOB.
    You can use the APEX_PLSQL_JOB package to run PL/SQL code in the background of
    your application. This is an effective approach for managing long running operations
    that do not need to complete for a user to continue working with your application.
    Just look for it in the help.

  • Just upgraded my firefox and received a message that the security program McAffee and my Skype program were not compatable and were disabled. Does this mean I have to delete firefox to have skype and McAfee?

    When I upgraded firefox, my skype and McAfee were disabled. Received a message that they were not compatible with the new version of firefox.

    Must be the "hang at exit" problem. You already know how to do Step1; now just determine which Add-on (Extension or Plugin) is causing the problem.<br /><br />
    #Stop the Firefox process:
    #*[http://kb.mozillazine.org/Kill_application Mozillazine - Kill application]
    #*Windows 7 users click [http://www.techrepublic.com/blog/window-on-windows/reap-the-benefits-of-windows-7s-task-manager/2576 here]
    #Why Firefox may hang:
    #*[http://support.mozilla.com/en-US/kb/Firefox+hangs Firefox hangs] (see Hang at exit)
    #*[http://kb.mozillazine.org/Firefox_hangs Firefox hangs (Mozillazine)] (see Hang at exit and Closing Firefox properly)
    #*[https://support.mozilla.com/en-US/kb/Firefox+is+already+running+but+is+not+responding Firefox is already running but is not responding]
    #Use Firefox Safe Mode to find a problem with an Extension or Plugin:
    #*Don't check anything when entering Safe Mode, just continue
    #*If the problem does not occur in Safe Mode it is probably and Extension or Plugin causing the problem
    #*See:
    #**[[Safe Mode]] and [http://kb.mozillazine.org/Safe_Mode Safe Mode (Mozillazine)]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes Troubleshooting extensions and themes]
    #**[http://support.mozilla.com/en-US/kb/Troubleshooting+plugins Troubleshooting plugins]
    #**[http://support.mozilla.com/en-US/kb/Basic+Troubleshooting Basic Troubleshooting]
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Randomly quits and returns to blue log-in screen

    At random times the grey rotating gear will come up, everything will quit, and I'll be back to the initial log-in screen. Seems to happen when I have multiple applications open.

    Make sure you've emptied your Trash. Extra RAM will be a wise addition.
    What Application are you running when this problem occurs? Is it the same one every time ?
    If you're familiar with the Console application then launch it and post a segment of its line by line display just before your system requires a new login. Do this immediately after you login.
    Are you using Fast User switching and if so do you have other accounts logged in ?
    If you have another account defined on your system then login to it and perform same things you did under the account you experienced your problem and post back if problem persists.
    Do you have any external devices connected to your iBook? If so disconnect them and see if problem goes away.
    Are you running off the battery or the main line power supply? What is your battery charge level?

  • Submit program with selection screen parameters - getting blank values

    Hi, I'm submitting a program with selection screen parameters. when I pass '000' (I_TPLSCN  )value for Planning Scenario and when this goes to selection screen then I don't see value for Planning scenario as '000'(I_TPLSCN  ) but the value is blank in selection screen. I'm using the below code for this.
    SUBMIT RMCPAMRP WITH MATNR_GL EQ I_MATNR   SIGN 'I'
                      WITH WERKS_GL EQ I_WERKS   SIGN 'I'
                      WITH PLSCN    EQ I_TPLSCN  SIGN 'I'
        via selection-screen        AND RETURN.
    Could anyone please help me how to display value '000' rather than blanks.
    thanks in advance.

    If I_MATNR, I_TPLSCN and I_WERKS are variable then try with
    SUBMIT rmcpamrp
      WITH matnr_gl = i_matnr
      WITH plscn    = i_tplscn
      WITH werks_gl = i_werks
      via selection-screen       
       AND RETURN .
    If I_MATNR, I_TPLSCN and I_WERKS are of type range then try  with
    SUBMIT rmcpamrp
      WITH matnr_gl IN i_matnr
      WITH plscn    IN i_tplscn
      WITH werks_gl IN i_werks
    via selection-screen       
       AND RETURN
    Edited by: Pawan Kesari on Dec 24, 2009 3:33 PM

Maybe you are looking for

  • Photo slide show

    Can someone point me in the direction of a simple photo slideshow tutorial or a download? To be embedded into a web page. Thanks Tim

  • Virtual Keyfigures

    All, For a client we want to use virtual keyfigures in a query. Now we have a value in the user exit, but we cannot get the value back into the query. Does anyone have an example of ABAP or some documentation on this subject?

  • SuperDrive won't read OS X Tiger 10.4

    I had OS X Tiger, but the system crashed, so I had to erase my hard drive and reinstall the only system I had on a disc, which was 10.2.8. Now I have a store bought disc of OS X Tiger, and the SuperDrive won't read it. It just spits it out after abou

  • Nokia 6310i V5.51 08-07-03 MPL-1 (c) NNP.

    I have Nokia PC Suite 4.88 installed on my LT (lap-top) but can't get the USB data cable to work with the data suite. It just will not detect the connection/phone no matter what I do. I have done all the usual things and have now given up as it has t

  • Everytime I open iTunes, my iTunes Match sync is down

    Hi everybody. Everytime I open iTunes, my iTunes Match sync is down. iTunes show me this icon and I need to deactivate and re-activate iTunes Match from the Store menù. I have a PC with Win 7 Pro x64. I have the last build of iTunes. I tried to unins