SAP table AGR_USERS (Assignment of roles to users)

SAP table AGR_USERS has 5 primary key fields being MANDT,AGR_NAME,UNAME,FROM_DAT,TO_DAT.

If you're only analyzing data from a single SAP instance you may omit field MANT in your relationships as it will we the same across the entire dataset. On the other hand, if you're combining data from multiple SAP instances you need to take MANDT into account.

Field Description Data Type Length Decimals Checktable Data Element
MANDT Client ID CLNT 3 0 T000 SYMANDT
AGR_NAME Role Name CHAR 30 0 AGR_DEFINE AGR_NAME
UNAME User Name in User Master Record CHAR 12 0 USR02 XUBNAME
FROM_DAT Date of validity DATS 8 0 AGR_FDATE
TO_DAT Date of validity DATS 8 0 AGR_TDATE
EXCLUDE Exclusive CHAR 1 0 AGR_EXCL
CHANGE_DAT Date of menu generation DATS 8 0 MENU_DATE
CHANGE_TIM Time when the menu was generated last TIMS 6 0 MENU_TIME
CHANGE_TST UTC Time Stamp in Short Form (YYYYMMDDhhmmss) DEC 15 0 RSTIMESTMP
ORG_FLAG Flag: Assignment Comes From HR Organization Management CHAR 1 0 AGR_ORG
COL_FLAG Flag: Assignment from composite role CHAR 1 0 AGR_COL

AGR_USERS foreign key relationships

Table Field Check Table Check Field
0 AGR_USERS AGR_NAME AGR_DEFINE Role definition MANDT
0 AGR_USERS AGR_NAME AGR_DEFINE Role definition AGR_NAME
1 AGR_USERS MANDT T000 Clients MANDT
0 AGR_USERS UNAME USR02 Logon Data (Kernel-Side Use) BNAME