Google Search - Blog...........

ABAP - Checkbox In Selection Screen.

report ztestmail.


Parameters:
p_check as checkbox default 'X' user-command comm,
p_field type mara-matnr.

At selection-screen output.

if p_check = 'X'.
Loop at screen.
if screen-name cs 'P_FIELD'.
screen-active = 1.
Modify screen.
Endif.
Endloop.
Elseif p_check = ' '.
Loop at screen.
if screen-name cs 'P_FIELD'.
screen-active = 0.
Modify screen.
Endif.
Endloop.
Endif.



No comments:

Post a Comment