SAP table USGRP_USER (Assignment of Users to User Groups)

SAP table USGRP_USER has 5 primary key fields being MANDT,BNAME,USERGROUP,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 CLNT 3 0 T000 MANDT
BNAME User Name in User Master Record CHAR 12 0 USR02 XUBNAME
USERGROUP User group in user master maintenance CHAR 12 0 USGRP XUCLASS
FROM_DAT Date of validity DATS 8 0 AGR_FDATE
TO_DAT Date of validity DATS 8 0 AGR_TDATE
ORGFLAG Flag: Assignment Comes From HR Organization Management CHAR 1 0 AGR_ORG

USGRP_USER foreign key relationships

Table Field Check Table Check Field
0 USGRP_USER BNAME USR02 Logon Data (Kernel-Side Use) BNAME
1 USGRP_USER MANDT T000 Clients MANDT
0 USGRP_USER USERGROUP USGRP User Groups MANDT
0 USGRP_USER USERGROUP USGRP User Groups USERGROUP