Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

hide portion of selection screen when calling using SUBMIT statement

former_member185116
Active Participant
0 Kudos
426

hello all ,

in the below screen ,

i want hide the red colored portion when call this program using SUBMIT statement.(program name : GP4W3I7I8R7FXR220XTGLI0ZE70)

how do i achieve this,

thanks in advance....

4 REPLIES 4

former_member201275
Active Contributor
0 Kudos
128

You can do this by coding 2 selection screens in your called program, and then the usual SUBMIT statement from your calling program i.e. SUBMIT USING SELECTION SCREEN dynnr.

jayanthi_jayaraman
Active Contributor
0 Kudos
128

Hi,

If you know the calling program, put a condition accordingly in the called program to hide the selection. I hope if there are mandatory input in the portion which you want to hide, you will be passing some default values.

0 Kudos
128

hi ,

my code,

************************************

REFRESH it_rspar[].
          CLEAR wa_rspar.


         clear wa_rspar.
         wa_rspar-selname = 'POSID'.
         wa_rspar-kind = 'S'.
         wa_rspar-sign = 'I'.
         wa_rspar-option = 'EQ'.
         wa_rspar-low = lv_posid.
         APPEND wa_rspar to it_rspar.
         clear wa_rspar.


         clear wa_rspar.
         wa_rspar-selname = 'VERSN'.
         wa_rspar-kind = 'S'.
         wa_rspar-sign = 'I'.
         wa_rspar-option = 'EQ'.
         wa_rspar-low = '0'.

         APPEND wa_rspar to it_rspar.
         clear wa_rspar.



         SUBMIT GP4W3I7I8R7FXR220XTGLI0ZE70 WITH SELECTION-TABLE it_rspar AND RETURN.

*********************************



giving an error like below,



0 Kudos
128

i also tried with call transaction by creating parameter transaction in se93 like below,

i also checked with D_SREPOVARI-NOSELSCRN = 'X'..either way its not working....

written code in the called program as,

              SET PARAMETER ID 'PRO' FIELD lv_posid.

             SET PARAMETER ID 'KVS' FIELD '0'.


         call TRANSACTION 'ZPS106' AND SKIP FIRST SCREEN .



still initial screen is displayed...