Authorization Check can be checked in SU20 – List Of Authorization Fields
And SU21- List Of Object Class
Syntax:
AUTHORITY-CHECK OBJECT 'ZMM_WERKS
ID 'ACTVT' FIELD '03' "Display
ID 'WERKS' FIELD t001w-werks.
IF SY-SUBRC <> 0.
“User has no authority
ENDIF.
Syntax:
AUTHORITY-CHECK OBJECT 'ZMM_WERKS
ID 'ACTVT' FIELD '03' "Display
ID 'WERKS' FIELD t001w-werks.
IF SY-SUBRC <> 0.
“User has no authority
ENDIF.
No comments:
Post a Comment