Application Development and Automation 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: 
Read only

SELECTION SCREEN PARAMETERS

Former Member
0 Likes
733

HOW TO HIDE SELECTION SCREEN PARAMETERS

6 REPLIES 6
Read only

Former Member
0 Likes
702

try with NO-DISPLAY option if it works means ok other than this

in at selection-screen output event you have to code at loop at screen and change it dynamically.

regards

shiba dutta

Read only

Former Member
0 Likes
702

use NO-DISPLAY

Read only

Former Member
0 Likes
702

Hi,

use loop at screen for the field which is to be hiden and based on the condition

set INVISIBLE = 'X'.

thanks

Shiva

Read only

Former Member
0 Likes
702

Hi,

While displaying itself, do U want to hide. U can do like this,

PARAMETERS : name TYPE ybsp1-userid,

name1 TYPE ybsp1-userid1 <b>no-display</b>.

In this case, only name will be seen on the screen and name1 will be hidden.

-SatyaPriya

Read only

Former Member
0 Likes
702

If you need to Hide all the time, you can use addition <b>NO-DISPLAY</b>.

parameters: p_par ... NO-DISPLAY.

If you need to change at runtime basing on some condition:

   LOOP AT screen.
      CHECK screen-name CS 'P_PAR'.
         IF <cond>.
            screen-active = 1.
         ELSE.
            screen-active = 0.
         ENDIF.
         MODIFY screen.
   ENDLOOP.

Regards

Eswar

Read only

former_member842213
Participant
0 Likes
702

AT SELECTION-SCREEN OUTPUT.

IF pr_pid = 'X'.

LOOP AT SCREEN.

IF screen-name = PR_BSTKD.

screen-invisible = '1'.

MODIFY SCREEN.

ENDIF.

IF screen-name = PR_MATNR.

screen-invisible = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ELSE.

LOOP AT SCREEN.

IF screen-name = 'PR_BSTKD'.

screen-invisible = '0'.

MODIFY SCREEN.

ENDIF.

IF screen-name = 'PR_MATNR'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.