T-code to create a new authorization object is SU21.
Example syntax :
Here, we are checking whether the user has change('02') authority for Bank data.
The authorization will be assigned to the role of a particular user-id by the Basis team.
This statement checks whether a particular user has authorization to perform a certain action.
Based on the sy-subrc value after this statement we can proceed further in the program flow.
The authorization will be assigned to the role of a particular user-id by the Basis team.
This statement checks whether a particular user has authorization to perform a certain action.
Based on the sy-subrc value after this statement we can proceed further in the program flow.