SAP RCOCHAPI Process Management: Control Recipe Header for RFC Interface Table data and field list

RCOCHAPI 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 "Process Management: Control Recipe Header for RFC Interface" 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_RCOCHAPI TYPE RCOCHAPI.

The RCOCHAPI table consists of various fields, each holding specific information or linking keys about Process Management: Control Recipe Header for RFC Interface data available in SAP. These include WERK (Plant), BID (Process order), ADRES (Address of the Control Recipe Destination), TSTKZ (Indicator: Message or Control Recipe for Test Purposes)... 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. .

RCOCHAPI structure Technical Details:

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


SAP RCOCHAPI 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 RCOCHAPI 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
CRIDControl recipe number CO_CRIDNUMC18Assigned to domainALPHACO_CRID
WERKPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
BIDProcess order CO_BIDCHAR12ALPHACO_BID
ADRESAddress of the Control Recipe Destination ADRCHAR32CHAR32
TSTKZIndicator: Message or Control Recipe for Test Purposes TSTKZCHAR1FLAG
CRSTATControl recipe status CO_CRSTATCHAR5Assigned to domainCO_CRSTAT
KTXTDescription AUFTEXTCHAR40TEXT40
MATNRMaterial Number for Order PI_MATNRCHAR18Assigned to domainMATN1MATNRMAT
MATXTMaterial Description PI_MATXTCHAR40TEXT40
INSPLOTInspection Lot Number PI_QPLOSNUMC12Assigned to domainQPLOSQLSQALS
BATCHBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
DESTControl Recipe Destination PHSEQCHAR2Assigned to domainPHSEQ
SCHED_START_DATEEarliest scheduled start: Execution (date) FSAVDDATS8DATUM
SCHED_START_TIMEEarliest scheduled start: Execution (time) FSAVZTIMS6ATIME

Key field Non-key field



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

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

How to access SAP table RCOCHAPI

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

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