AGR_DEFINE SAP (Role definition) Table details

Dictionary Type: Table
Description: Role definition




ABAP Code to SELECT data from AGR_DEFINE
Related tables to AGR_DEFINE
Access table AGR_DEFINE




Table field list including key, data, relationships and ABAP select examples

AGR_DEFINE 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_DEFINE 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), PARENT_AGR (Name of imparting role), CREATE_USR (User Name), CREATE_DAT (Date of menu generation).. 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 areas
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced

Text table = AGR_TEXTS


SAP AGR_DEFINE 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
MANDTClient ID SYMANDTCLNT3T000MANDT
AGR_NAMERole Name AGR_NAMECHAR30AGR_NAMEAGR_NAME
PARENT_AGRName of imparting role PAR_AGRCHAR30AGR_DEFINEAGR_NAMEAGR_SINGLE
CREATE_USRUser Name SYUNAMECHAR12SYCHAR12
CREATE_DATDate of menu generation MENU_DATEDATS8DATS
CREATE_TIMTime when the menu was generated last MENU_TIMETIMS6TIMES
CREATE_TMPUTC Time Stamp in Short Form (YYYYMMDDhhmmss) RSTIMESTMPDEC15TZNTSTMPS
CHANGE_USRUser Name SYUNAMECHAR12SYCHAR12
CHANGE_DATDate of menu generation MENU_DATEDATS8DATS
CHANGE_TIMTime when the menu was generated last MENU_TIMETIMS6TIMES
CHANGE_TMPUTC Time Stamp in Short Form (YYYYMMDDhhmmss) RSTIMESTMPDEC15TZNTSTMPS
ATTRIBUTESAttributes of the menu MENU_ATTRCHAR10CHAR10

Key field Non-key field



How do I retrieve data from SAP table AGR_DEFINE using ABAP code

The following ABAP code Example will allow you to do a basic selection on AGR_DEFINE to SELECT all data from the table
DATA: WA_AGR_DEFINE TYPE AGR_DEFINE.

SELECT SINGLE *
FROM AGR_DEFINE
INTO CORRESPONDING FIELDS OF WA_AGR_DEFINE
WHERE...

How to access SAP table AGR_DEFINE

Within an ECC or HANA version of SAP you can also view further information about AGR_DEFINE and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!