AGR_AGRS2 SAP (Role definition) Table details
Dictionary Type: Table
Description: Role definition
Description: Role definition
Table field list including key, data, relationships and ABAP select examples
AGR_AGRS2 is a standard SAP Table which is used to store Role definition data and is available within R/3 SAP systems depending on the version and release level.
The AGR_AGRS2 table consists of various fields, each holding specific information or linking keys about Role definition data available in SAP. These include AGR_NAME (Role Name), CHILD_AGR (Role Name), ATTRIBUTES (Attributes of the menu).. 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: E - Control table, SAP and customer have separate key areasDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP AGR_AGRS2 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 | ||
CHILD_AGR | Role Name | AGR_NAME | CHAR | 30 | Assigned to domain | AGR_NAME | AGR_NAME | ||
ATTRIBUTES | Attributes of the menu | MENU_ATTR | CHAR | 10 | CHAR10 |
Key field | Non-key field |
How do I retrieve data from SAP table AGR_AGRS2 using ABAP code
The following ABAP code Example will allow you to do a basic selection on AGR_AGRS2 to SELECT all data from the tableDATA: WA_AGR_AGRS2 TYPE AGR_AGRS2.
SELECT SINGLE *
FROM AGR_AGRS2
INTO CORRESPONDING FIELDS OF WA_AGR_AGRS2
WHERE...
How to access SAP table AGR_AGRS2
Within an ECC or HANA version of SAP you can also view further information about AGR_AGRS2 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