‎2007 Jan 30 5:30 AM
‎2007 Jan 30 5:33 AM
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
‎2007 Jan 30 5:34 AM
‎2007 Jan 30 5:34 AM
Hi,
use loop at screen for the field which is to be hiden and based on the condition
set INVISIBLE = 'X'.
thanks
Shiva
‎2007 Jan 30 5:35 AM
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
‎2007 Jan 30 5:41 AM
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
‎2007 Jan 30 5:44 AM
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.