SAP GRAC_S_API_MIT_ASSIGNMENT Generic structure for mitigation API Table data and field list

GRAC_S_API_MIT_ASSIGNMENT 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 "Generic structure for mitigation API" 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_MIT_ASSIGNMENT TYPE GRAC_S_API_MIT_ASSIGNMENT.

The GRAC_S_API_MIT_ASSIGNMENT table consists of various fields, each holding specific information or linking keys about Generic structure for mitigation API data available in SAP. These include OBJECTID (Generic mitigation object), USERID (User ID), ORGRULEID (Orgrule Id), PROFILE (Profile Name)... 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_MIT_ASSIGNMENT structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP GRAC_S_API_MIT_ASSIGNMENT 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_MIT_ASSIGNMENT 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
OBJECTTYPEContains object type GRAC_OBJECT_TYPEINT13GRAC_OBJECT_TYPE
OBJECTIDGeneric mitigation object GRAC_MITIGATION_OBJCHAR50
USERIDUser ID GRAC_USERCHAR50GRAC_USER
ORGRULEIDOrgrule Id GRAC_ORGRULE_IDCHAR10GRAC_ORGRULE_ID
PROFILEProfile Name GRAC_PROFILECHAR20GRAC_PROFILE
ROLE_NAMERole Name GRAC_ROLE_NAMECHAR300GRAC_ROLE_NAME
OBJECTNAMEDescription GRAC_DESCNCHAR132GRAC_DESCN
SAVE_ERRORCheckbox XFELDCHAR1XFELD
CONNECTORConnector Id GRFN_CONNECTORIDCHAR32Assigned to domainRFCDEST
RISKIDAccess Risk ID GRAC_SODRISK_IDCHAR8GRAC_SODRISK_ID
ACTRULEIDSOD Rule ID GRAC_ACTRULE_IDCHAR4GRAC_ACTRULE_ID
ACCONTROLIDSOD Control ID GRAC_CONTROL_IDCHAR10GRAC_CONTROL_IDGRAC_CONTROLID
VALIDFROMValidity Start Date GRAC_VALID_FROMDATS8GRAC_DATE
VALIDTOValidity End Date GRAC_VALID_TODATS8GRAC_DATE
MONITOROwner Description GRAC_OWNERCHAR12Assigned to domainXUBNAME
ACTIVEActive indicator GRAC_ACTIVECHAR1GRAC_ACTIVE
UPDATED_BYField Last Updated by Username GRAC_UPDATED_BYCHAR12Assigned to domainXUBNAME
UPDATED_ONTime Stamp GRFN_TIMESTAMPDEC15TSTPSGRFN_TIMESTAMP
CHGMODEOperation Type GRAC_OPERATION_TYPECHAR1
TYPEMessage type: S Success, E Error, W Warning, I Info, A Abort BAPI_MTYPECHAR1SYCHAR01
IDMessage Class SYMSGIDCHAR20T100AARBGB
NUMBERMessage Number SYMSGNONUMC3SYMSGNO
MESSAGEMessage Text BAPI_MSGCHAR220TEXT220
LOG_NOApplication log: log number BALOGNRCHAR20BALHDRBALOGNR
LOG_MSG_NOApplication log: Internal message serial number BALMNRNUMC6BALMBALMNR
MESSAGE_V1Message Variable SYMSGVCHAR50SYCHAR50
MESSAGE_V2Message Variable SYMSGVCHAR50SYCHAR50
MESSAGE_V3Message Variable SYMSGVCHAR50SYCHAR50
MESSAGE_V4Message Variable SYMSGVCHAR50SYCHAR50
PARAMETERParameter Name BAPI_PARAMCHAR32SWC_ELEM
ROWLines in parameter BAPI_LINEINT410INT4
FIELDField in parameter BAPI_FLDCHAR30Assigned to domainFDNAME
SYSTEMLogical system from which message originates BAPILOGSYSCHAR10Assigned to domainALPHALOGSYS

Key field Non-key field



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

As GRAC_S_API_MIT_ASSIGNMENT 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_MIT_ASSIGNMENT as there is no data to select.

How to access SAP table GRAC_S_API_MIT_ASSIGNMENT

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

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