SAP GRFN_S_API_CONTROL Control Structure Table data and field list

GRFN_S_API_CONTROL 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 "Control Structure" 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_GRFN_S_API_CONTROL TYPE GRFN_S_API_CONTROL.

The GRFN_S_API_CONTROL table consists of various fields, each holding specific information or linking keys about Control Structure data available in SAP. These include CN_AUTOM (Automation), CN_CATEGORY (Control Category), CN_CNGROUP (Control Group), CN_CNTR_RISK (Control Risk)... 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. .

GRFN_S_API_CONTROL structure Technical Details:

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


SAP GRFN_S_API_CONTROL 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 GRFN_S_API_CONTROL 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
CN_ALLOW_REFERData element for domain BOOLE: TRUE (='X') and FALSE (=' ') BOOLE_DCHAR1BOOLE
CN_AUTOMAutomation GRPC_CNTR_AUTOMATIONCHAR10
CN_CATEGORYControl Category GRPC_CNTR_CATEGORYCHAR10
CN_CNGROUPControl Group GRPC_CNTR_GROUPCHAR10GRPC_ATTRVALUE
CN_CNTR_RISKControl Risk GRPC_CNTR_CONTROL_RISKCHAR10GRPC_ATTRVALUE
CN_CNTR_RISK_SSControl Risk GRPC_CNTR_CONTROL_RISKCHAR10GRPC_ATTRVALUE
CN_CNTR_RISK_USSCheckbox XFELDCHAR1XFELD
CN_DTitle/Short Name GRFN_NAMECHAR40GRFN_NAME
CN_DOC_COUNTNatural Number INT4INT410INT4
CN_DTEVTTrigger ID GRFN_REP_CONTROL_DATE_EVENTCHAR1GRFN_REP_CONTROL_DATE_EVENT
CN_EVIDENCELevel of Evidence GRPC_CNTR_LEVEL_OF_EVIDENCECHAR10GRPC_ATTRVALUE
CN_EVIDENCE_SSLevel of Evidence GRPC_CNTR_LEVEL_OF_EVIDENCECHAR10GRPC_ATTRVALUE
CN_EVIDENCE_USSCheckbox XFELDCHAR1XFELD
CN_EVT_DESCEvent description GRFN_REP_CONTROL_EVT_DESCSTRG0
CN_FREQFrequency GRPC_CNTR_FREQUENCYCHAR10
CN_INPUTString GRFN_TEXTSTRG0
CN_IS_CONTROLProcess Step Is a Control GRPC_IS_CONTROLCHAR1GRPC_IS_CONTROL
CN_NATURENature of Control GRPC_CNTR_NATURECHAR10
CN_OBJECT_IDGRPC ID of the individual object GRPC_API_OBJECT_IDCHAR50GRPC_API_OBJECT_ID
CN_OUTPUTString GRFN_TEXTSTRG0
CN_PURPControl Purpose GRPC_CNTR_PURPOSECHAR10GRPC_CNTR_PURPOSE
CN_REG_SPECIFICRegulation specific data GRPC_REG_SPEC_DATA_FLAGCHAR1GRFN_XFELD
CN_SIGControl Significance GRPC_CNTR_SIGNIFICANCECHAR10GRPC_CNTR_SIGNIFICANCE
CN_TString GRFN_TEXTSTRG0
CN_TESTTo Be Tested GRPC_CNTR_TO_BE_TESTEDCHAR1GRPC_CNTR_TO_BE_TESTED
CN_TEST_PLANGRPC ID of the individual object GRPC_API_OBJECT_IDCHAR50GRPC_API_OBJECT_ID
CN_TPROCTesting Procedure GRFN_REP_CONTROL_TESTPROCSTRG0
CN_TSTAUTTest Automation (ID) GRPC_CNTR_TEST_AUTOMATIONCHAR10
CN_TTECHTesting Technique GRPC_CNTR_TESTING_TECHNIQUECHAR10GRPC_CNTR_TESTING_TECHNIQUE
CN_VALID_FROMStart Date GRFN_BEGDADATS8GRFN_DATUM
CN_VALID_TOEnd Date GRFN_ENDDADATS8GRFN_DATUM
CN_SPObject ID GRFN_API_OBJECT_IDCHAR50CHAR50
CN_OUObject ID GRFN_API_OBJECT_IDCHAR50CHAR50
CN_PRObject ID GRFN_API_OBJECT_IDCHAR50CHAR50
CN_AC_CONTROL_IDSOD Control ID GRAC_CONTROL_IDCHAR10GRAC_CONTROL_IDGRAC_CONTROLID
CN_AC_BPROCBusiness Process GRAC_BPROCCHAR10Assigned to domainGRACBPROC
CN_AC_BSUBPROCSubprocess GRAC_BSUBPROCCHAR10Assigned to domainGRAC_BSUBPROC

Key field Non-key field



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

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

How to access SAP table GRFN_S_API_CONTROL

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

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