SAP AGR_DEFINE Role definition Table
Overview
AGR_DEFINE is a standard SAP S/4HANA table that stores Role definition data. There are total 12 fields in the AGR_DEFINE table. The following is a list of the fields that make up this table. Key fields are marked in blue.
The table AGR_DEFINE 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_DEFINE to other SAP tables and standard CDS views available based on AGR_DEFINE table in S/4HANA 2020.
Techincal Settings of AGR_DEFINE
Below are technical details of the table AGR_DEFINE
- Buffering switched on
- Single entries of table were buffered
- Storage type is Column Store
List of AGR_DEFINE Fields
The following table gives you an overview of the fields available in AGR_DEFINE
| Field | Description | Data Element | Check Table | Data Type | Length |
|---|---|---|---|---|---|
| MANDT | Client ID | SYMANDT | T000 | CLNT | 3 |
| AGR_NAME | Role Name | AGR_NAME | CHAR | 30 | |
| PARENT_AGR | Name of imparting role | PAR_AGR | AGR_DEFINE | CHAR | 30 |
| CREATE_USR | User Name | SYUNAME | CHAR | 12 | |
| CREATE_DAT | Date of menu generation | MENU_DATE | DATS | 8 | |
| CREATE_TIM | Time when the menu was generated last | MENU_TIME | TIMS | 6 | |
| CREATE_TMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | RSTIMESTMP | DEC | 15 | |
| CHANGE_USR | User Name | SYUNAME | CHAR | 12 | |
| CHANGE_DAT | Date of menu generation | MENU_DATE | DATS | 8 | |
| CHANGE_TIM | Time when the menu was generated last | MENU_TIME | TIMS | 6 | |
| CHANGE_TMP | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | RSTIMESTMP | DEC | 15 | |
| ATTRIBUTES | Attributes of the menu | MENU_ATTR | CHAR | 10 |
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_DEFINE
| Table Name | Field | Cardinality | Check Table |
|---|---|---|---|
| AGR_DEFINE | MANDT | 1: CN | T000 |
| AGR_DEFINE | PARENT_AGR | 1: CN | AGR_DEFINE |