PARAMETER INPUT HIDING:
Program to hide the parameter input on the selection screen.
REPORT Z_PARAMETER_INPUT_HIDING.
SELECTION-SCREEN : BEGIN OF BLOCK meth WITH FRAME TITLE text-001.
PARAMETERS: sample AS CHECKBOX USER-COMMAND fcode1,
hidden TYPE string default 'Hidden Field' MODIF ID id1.
SELECTION-SCREEN : END OF BLOCK meth.
SET PF-STATUS 'STATUS'.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF sample <> 'X' AND screen-group1 = 'ID1'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
OUTPUT:
By default parameter input is hidden.
If you select check box then the hidden parameter input is shown as below.
Program to hide the parameter input on the selection screen.
REPORT Z_PARAMETER_INPUT_HIDING.
SELECTION-SCREEN : BEGIN OF BLOCK meth WITH FRAME TITLE text-001.
PARAMETERS: sample AS CHECKBOX USER-COMMAND fcode1,
hidden TYPE string default 'Hidden Field' MODIF ID id1.
SELECTION-SCREEN : END OF BLOCK meth.
SET PF-STATUS 'STATUS'.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF sample <> 'X' AND screen-group1 = 'ID1'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
OUTPUT:
By default parameter input is hidden.
If you select check box then the hidden parameter input is shown as below.