The simple way is to debug standard transaction which work in the same domain.
Or you can check the list of paramters with the transactions : SU20 SU21
Frédéric
This help would be very useful for you :
http://help.sap.com/saphelp_46c/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm
ABAP Programming Language --> Special Techniques --> Checking Authorisations
All information is very nicely explained, here with screen shots. So how well, I try to explain , you will miss the screenshots.
Regards,
Subramanian V.
If your particular need is checking authorization for a transaction code then you can use authorization object 'S_TCODE'. It has the only field TCD. Code snippet is:
AUTHORITY-CHECK OBJECT 'S_TCODE'
ID 'TCD' FIELD 'VF01'.
Message was edited by: Sergei Korolev
Message was edited by: Sergei Korolev
Hi,
You need the following code in your program.
authority-check object 'S_TCODE'
id 'TCD' field '<transaction code>'.
if sy-subrc <> 0.
error message.
endif.
Regards
Raja
Add a comment