SAP AGR_USERS Assignment of roles to users Table
Overview
AGR_USERS is a standard SAP S/4HANA table that stores Assignment of roles to users data. There are total 11 fields in the AGR_USERS table. The following is a list of the fields that make up this table. Key fields are marked in blue.
The table AGR_USERS belongs to ABAP Authorization and Role Management (BC-SEC-AUT-PFC) module and is located in the package ABAP Role Administration (Profile Generator) (S_PROFGEN).
In addition, following links provide an overview of foreign key relationships, if any, that link AGR_USERS to other SAP tables and standard CDS views available based on AGR_USERS table in S/4HANA 2020.
Techincal Settings of AGR_USERS
Below are technical details of the table AGR_USERS
- Buffering allowed but switched off
- Full buffering as specified by generic key
- Storage type is Column Store
List of AGR_USERS Fields
The following table gives you an overview of the fields available in AGR_USERS
| Field | Description | Data Element | Check Table | Data Type | Length |
|---|---|---|---|---|---|
| MANDT | Client ID | SYMANDT | T000 | CLNT | 3 |
| AGR_NAME | Role Name | AGR_NAME | AGR_DEFINE | CHAR | 30 |
| UNAME | User Name in User Master Record | XUBNAME | USR02 | CHAR | 12 |
| FROM_DAT | Date of validity | AGR_FDATE | DATS | 8 | |
| TO_DAT | Date of validity | AGR_TDATE | DATS | 8 | |
| EXCLUDE | Exclusive | AGR_EXCL | CHAR | 1 | |
| CHANGE_DAT | Date of menu generation | MENU_DATE | DATS | 8 | |
| CHANGE_TIM | Time when the menu was generated last | MENU_TIME | TIMS | 6 | |
| CHANGE_TST | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | RSTIMESTMP | DEC | 15 | |
| ORG_FLAG | Flag: Assignment Comes From HR Organization Management | AGR_ORG | CHAR | 1 | |
| COL_FLAG | Flag: Assignment from composite role | AGR_COL | CHAR | 1 |
Foreign Key Relationships
A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for AGR_USERS
| Table Name | Field | Cardinality | Check Table |
|---|---|---|---|
| AGR_USERS | AGR_NAME | 1: CN | AGR_DEFINE |
| AGR_USERS | MANDT | 1: CN | T000 |
| AGR_USERS | UNAME | 1: CN | USR02 |