It can look as follows:
tables SSCRFIELDS.
PARAMETERS: p_chxbox as checkbox USER-COMMAND CHCK.
at selection-screen.
if SSCRFIELDS-ucomm eq 'CHCK'.
authority-check....
....
if sy-subrc ne 0.
message e(...)
endif.
endif
start-of-selection.
Hi giri,
try like this..
AUTHORITY-CHECK OBJECT 'ZSAMPLE'
ID 'TCD' FIELD '*'
ID 'Check box' FIELD 'p_chk'.
regards,
Nagaraj
Add a comment