SAP Table Authorizations
SAP Table Authorizations
2012-01-21 Search …
In this post, we’ll dive deep into SAP table else for a
transport request
authorizations.
(using RDDIT076)
Due to the extent of this topic, we need an… How to fix critical
SAP rights found
Agenda in an audit
Customer name
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 1/24
02/09/2020 SAP table authorizations
checks backdoor:
Detecting hard-
Auditors often criticize extensive table coded user names
in ABAP
authorizations and (shortly afterward) security
Mastering S_RFC
consultants are asked to check those table rights… authorizations //
So, let’s see how SAP allows us to limit direct table Part 2
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 3/24
02/09/2020 SAP table authorizations
1.4. Overview
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 5/24
02/09/2020 SAP table authorizations
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 8/24
02/09/2020 SAP table authorizations
REPORT.
TABLES: pa0008. " HR Master Record: Infotype 00
SELECT * FROM pa0008 CLIENT SPECIFIED.
" SAP Client, User Name, Personnel Number, Annual
WRITE: / pa0008-mandt, pa0008-uname, pa0008-pernr
ENDSELECT.
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 9/24
02/09/2020 SAP table authorizations
S_DEVELOP ACTVT 03
DEVCLASS ''
OBJNAME ''
OBJTYPE ''
P_GROUP ''
S_DEVELOP ACTVT 16
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 10/24
02/09/2020 SAP table authorizations
DEVCLASS SCTS_REQ
OBJNAME STRJ
OBJTYPE FUGR
P_GROUP ''
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 11/24
02/09/2020 SAP table authorizations
S_DEVELOP ACTVT 03
DEVCLASS S*
OBJNAME S*
OBJTYPE FUGR
P_GROUP ''
DEVCLASS ''
OBJNAME ''
OBJTYPE DEBUG
P_GROUP ''
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 12/24
02/09/2020 SAP table authorizations
… and then …
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 13/24
02/09/2020 SAP table authorizations
… et voilà.
4. Conclusion
Bye.
SAP SECURITY
14 comments
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 15/24
02/09/2020 SAP table authorizations
Bruno says:
2020-06-29 at 15:41
Hi Daniel,
let’s say you have a role with T-CODE SE16
S_TABU_DIS: ACTVT: 03
DICBERCLS: SS
S_TABU_NAM: ACTVT: 03
TABLE: AGR_1016
Reply
Hi Bruno,
i checked VIEW_AUTHORITY_CHECK in a 750 release
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 16/24
02/09/2020 SAP table authorizations
Reply
Hi Daniel,
thanks!
Regards, Bruno
Reply
Hi Daniel,
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 17/24
02/09/2020 SAP table authorizations
Thank you,
Akash
Reply
Hey Akash.
Yes and yes:
When you try to edit table ABC, the system checks
S_TABU_DIS first — and since you don’t have _DIS
with 02 / &NC& in your example role, this check will
fail and result in a failed auth.-check (in SU53 and in
a trace).
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 18/24
02/09/2020 SAP table authorizations
Reply
Bruno says:
2020-06-29 at 14:40
Hello Daniel,
It’s not correct as I can see in trace file.
The system first check for S_TABU_NAM and if it
fails, then a check is made in S_TABU_DIS.
Reply
Emran says:
2016-01-28 at 12:53
Thanks,
Emran
Reply
Prachi says:
2015-12-08 at 17:05
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 19/24
02/09/2020 SAP table authorizations
Hi,
very informative blog!! It really helped me a lot.
Thanks in advance!! 🙂
Reply
Kind regards,
Daniel
Reply
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 20/24
02/09/2020 SAP table authorizations
Hi Daniel,
Reply
Hi,
just a few words about the PA0008 as this can lead to
confusion.
UNAME is actually the field that old the SAP user who
lastly modified the data. If you want to get the SAP user
related to the employee, simply perform a SQL to JOIN
PA0008 with PA0105 (Communication) for subtype
0001.
In the same idea, you can get the name of the
employee from either PA0001-ENAME or PA0002
(Identity).
Best regards,
Guillaume
SAP Senior HCM consultant
Reply
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 21/24
02/09/2020 SAP table authorizations
Hi Guillaume,
thanks for this helpful remark!
I added a link to this comment to the post above.
Reply
SMS says:
2013-12-02 at 10:17
Hi Daniel,
I just stiblerd across your blog and have been busy
reading a lot of the posts and on the whole very good.
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 22/24
02/09/2020 SAP table authorizations
ANY ADVICE??
Reply
Reply
Leave a Reply
Comment
Name
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 23/24
02/09/2020 SAP table authorizations
Website
Post Comment
This site uses Akismet to reduce spam. Learn how your comment
data is processed.
https://www.daniel-berlin.de/security/sap-sec/table-authorizations/ 24/24