2008 Feb 25 6:49 AM
Hi, Abapers
How can I check authority of a specified database access like MKPF.
I can check authority of specified tcode using by following codes.
AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD P_TCODE.
IF SY-SUBRC NE 0.
MESSAGE S261(SF) WITH P_TCODE.
ELSE.
CALL TRANSACTION P_TCODE.
ENDIF.
To check data base access what object and ID will have to pass.
Appreciating any help.
Regards
Rajiv singh.
Hi, Abapers
How can I check authority of a specified database access like MKPF.
I can check authority of specified tcode using by following codes.
AUTHORITY-CHECK OBJECT 'S_TCODE' ID 'TCD' FIELD P_TCODE.
IF SY-SUBRC NE 0.
MESSAGE S261(SF) WITH P_TCODE.
ELSE.
CALL TRANSACTION P_TCODE.
ENDIF.
To check data base access what object and ID will have to pass.
Appreciating any help.
Regards
Rajiv singh.
2008 Feb 25 6:55 AM
Hi,
You can use the authority object S_TABU_DIS.
The parameters are:
DICBERCLS = 'MA' "Authority Group
ACTVT = '03'
Cheers,
Aditya
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |