AGR_USERT SAP (Assignment of roles to users) Table details
Dictionary Type: Table
Description: Assignment of roles to users
Description: Assignment of roles to users
Table field list including key, data, relationships and ABAP select examples
AGR_USERT is a standard SAP Table which is used to store Assignment of roles to users data and is available within R/3 SAP systems depending on the version and release level.
The AGR_USERT table consists of various fields, each holding specific information or linking keys about Assignment of roles to users data available in SAP. These include AGR_NAME (Role Name), UNAME (User Name), FROM_DAT (Date of validity), TO_DAT (Date of validity).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP AGR_USERT table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client ID | SYMANDT | CLNT | 3 | Assigned to domain | MANDT | |||
AGR_NAME | Role Name | AGR_NAME | CHAR | 30 | Assigned to domain | AGR_NAME | AGR_NAME | ||
UNAME | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
FROM_DAT | Date of validity | AGR_FDATE | DATS | 8 | DATS | ||||
TO_DAT | Date of validity | AGR_TDATE | DATS | 8 | DATS | ||||
EXCLUDE | Exclusive | AGR_EXCL | CHAR | 1 | CHAR1 | ||||
CHANGE_DAT | Date of menu generation | MENU_DATE | DATS | 8 | DATS | ||||
CHANGE_TIM | Time when the menu was generated last | MENU_TIME | TIMS | 6 | TIMES | ||||
CHANGE_TST | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | RSTIMESTMP | DEC | 15 | TZNTSTMPS | ||||
ORG_FLAG | Flag: Assignment Comes From HR Organization Management | AGR_ORG | CHAR | 1 | CHAR1 | ||||
COL_FLAG | Flag: Assignment from composite role | AGR_COL | CHAR | 1 | CHAR1_X |
Key field | Non-key field |
How do I retrieve data from SAP table AGR_USERT using ABAP code
The following ABAP code Example will allow you to do a basic selection on AGR_USERT to SELECT all data from the tableDATA: WA_AGR_USERT TYPE AGR_USERT.
SELECT SINGLE *
FROM AGR_USERT
INTO CORRESPONDING FIELDS OF WA_AGR_USERT
WHERE...
How to access SAP table AGR_USERT
Within an ECC or HANA version of SAP you can also view further information about AGR_USERT and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects