SAP Table COCH

Process Management: Control Recipe Header

COCH (Process Management: Control Recipe Header) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link COCH to other SAP tables.

COCH table fields

Field Data element Checktable Datatype Length Decimals
MANDT Client MANDT T000 CLNT 3 0
CRID Control recipe number CO_CRID NUMC 18 0
WERK Plant WERKS_D T001W CHAR 4 0
BID Process order CO_BID CHAR 12 0
PHSEQ Control Recipe Destination PHSEQ TC52 CHAR 2 0
ADRES Address of the Control Recipe Destination ADR CHAR 32 0
COTYP Type of Control Recipe Destination COMTY CHAR 1 0
1 Transfer to ABAP list-based PI sheet
2 Download to ext. system, initiated by SAP process management
3 Download to ext. system, initiated by ext. process control
4 Transfer to browser-based PI sheet
TSTKZ Indicator: Message or Control Recipe for Test Purposes TSTKZ CHAR 1 0
X Flag set. Event has occurred.
NULL Flag is Not Set
CRSTAT Control recipe status CO_CRSTAT CHAR 5 0
ANDAT Date on Which Record Was Created ERDAT DATS 8 0
ANUZT Time when the record was created ANUZT TIMS 6 0
AEDAT Changed On AEDAT DATS 8 0
KTXT Description AUFTEXT CHAR 40 0
MATNR Material Number for Order PI_MATNR MARA CHAR 18 0
MATXT Material Description PI_MATXT CHAR 40 0
PRUEFLOS Inspection Lot Number PI_QPLOS QALS NUMC 12 0
ERRKZ Processing status of the process message/the control recipe CO_ERRKZ CHAR 1 0
ARFCIPID Host ID (IP ID ARFCIPID CHAR 8 0
ARFCPID Process ID ARFCPID CHAR 4 0
ARFCTIME Time Stamp ARFCTIME CHAR 8 0
ARFCTIDCNT Transaction ID (LUW -> COMMIT WORK) ARFCTIDCNT CHAR 4 0
EXSTAT Execution status of a control recipe CO_EXSTAT CHAR 5 0
CHARG Batch Number CHARG_D CHAR 10 0
FSAVD Earliest scheduled start: Execution (date) FSAVD DATS 8 0
FSAVZ Earliest scheduled start: Execution (time) FSAVZ TIMS 6 0
DECNTRL_PRC Indicator for Decentralized Control Recipe Execution DECNTRL_PRC CHAR 1 0
XS_ID XSteps: Unique ID of a Node CMX_CR_XS_GUID CHAR 22 0

COCH foreign key relationships

Table Field Foreign key table Foreign key field Check table Check field
COCH MANDT COCH MANDT T000 Clients MANDT
COCH MATNR COCH MANDT MARA General Material Data MANDT
COCH MATNR COCH MATNR MARA General Material Data MATNR
COCH PHSEQ COCH MANDT TC52 Control Recipe Destinations MANDT
COCH PHSEQ COCH WERK TC52 Control Recipe Destinations WERKS
COCH PHSEQ COCH PHSEQ TC52 Control Recipe Destinations PHSEQ
COCH PRUEFLOS COCH MANDT QALS Inspection lot record MANDANT
COCH PRUEFLOS COCH PRUEFLOS QALS Inspection lot record PRUEFLOS
COCH WERK COCH MANDT T001W Plants/Branches MANDT
COCH WERK COCH WERK T001W Plants/Branches WERKS