SAP GRAC_S_API_ROLE_VALIDITY Role Connector (system) Validity Table data and field list

GRAC_S_API_ROLE_VALIDITY is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "Role Connector (system) Validity" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_GRAC_S_API_ROLE_VALIDITY TYPE GRAC_S_API_ROLE_VALIDITY.

The GRAC_S_API_ROLE_VALIDITY table consists of various fields, each holding specific information or linking keys about Role Connector (system) Validity data available in SAP. These include CONNECTOR_GRP (Connector Group), CONNECTOR (System), SYSTEM_ENVIRONMENT (Environment), ROLE_EXISTS (Role Exists)... 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. .

GRAC_S_API_ROLE_VALIDITY structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)


SAP GRAC_S_API_ROLE_VALIDITY structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the GRAC_S_API_ROLE_VALIDITY table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
ROLEIDRole ID GRAC_ROLEIDCHAR32GRFN_GUID
CONNECTOR_GRPConnector Group GRFN_CONNECTORGRPCHAR10Assigned to domainGRFN_CONNECTORGRP
CONNECTORSystem GRAC_SYSTEMCHAR32Assigned to domainRFCDEST
SYSTEM_ENVIRONMENTEnvironment GRAC_ENVIRONMENTCHAR50CHAR50LOW
ROLE_EXISTSRole Exists GRAC_ROLE_EXISTSCHAR1GRAC_RC_BOOLEAN
PROV_ALLOWProvisioning Allowed GRAC_PROV_ALLOWCHAR1GRAC_PROV_ALLOW
ACTUAL_END_DATEActual End Date GRAC_ACTUAL_END_DATEDATS8GRAC_DATE
MAX_DUR_DAYSMaximum Days of Assignment GRAC_MAX_DURATION_DAYSINT25INT2
MAX_DUR_MONTHSMaximum Months of Assignment GRAC_MAX_DURATION_MONTHSINT25INT2
MAX_DUR_YEARSMaximum Years of Assignment GRAC_MAX_DURATION_YEARSINT25INT2
SYSTEM_VALIDITYSystem Validity Period GRAC_SYS_VALIDITYCHAR50CHAR50LOW
ENVIRONMENTSystem Environment GRAC_SYS_TYPECHAR3GRAC_SYS_TYPE
AUTO_PROV_ALLOWAllow Auto-provisioning GRAC_AUTO_PROV_ALLOWCHAR1GRAC_PROV_ALLOW
CHANGED_BYUser Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
CHANGED_ONTime Stamp GRFN_TIMESTAMPDEC15TSTPSGRFN_TIMESTAMP
CREATED_BYUser Name in User Master Record XUBNAMECHAR12Assigned to domainXUBNAMEXUS
CREATED_ONTime Stamp GRFN_TIMESTAMPDEC15TSTPSGRFN_TIMESTAMP
ROLE_NAMERole Name GRAC_ROLE_NAMECHAR300GRAC_ROLE_NAME

Key field Non-key field



How do I retrieve data from SAP structure GRAC_S_API_ROLE_VALIDITY using ABAP code?

As GRAC_S_API_ROLE_VALIDITY is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on GRAC_S_API_ROLE_VALIDITY as there is no data to select.

How to access SAP table GRAC_S_API_ROLE_VALIDITY

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

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