COCH SAP (Process Management: Control Recipe Header) Table details
Dictionary Type: Table
Description: Process Management: Control Recipe Header
Description: Process Management: Control Recipe Header
Table field list including key, data, relationships and ABAP select examples
COCH is a standard SAP Table which is used to store Process Management: Control Recipe Header data and is available within R/3 SAP systems depending on the version and release level.
The COCH table consists of various fields, each holding specific information or linking keys about Process Management: Control Recipe Header data available in SAP. These include CRID (Control recipe number), WERK (Plant), BID (Process order), PHSEQ (Control Recipe Destination).. 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. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP COCH table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
CRID | Control recipe number | CO_CRID | NUMC | 18 | ALPHA | CO_CRID | |||
WERK | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
BID | Process order | CO_BID | CHAR | 12 | ALPHA | CO_BID | |||
PHSEQ | Control Recipe Destination | PHSEQ | CHAR | 2 | TC52 | PHSEQ | |||
ADRES | Address of the Control Recipe Destination | ADR | CHAR | 32 | CHAR32 | ||||
COTYP | Type of Control Recipe Destination | COMTY | CHAR | 1 | COMTY | ||||
TSTKZ | Indicator: Message or Control Recipe for Test Purposes | TSTKZ | CHAR | 1 | FLAG | ||||
CRSTAT | Control recipe status | CO_CRSTAT | CHAR | 5 | Assigned to domain | CO_CRSTAT | |||
ANDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
ANUZT | Time when the record was created | ANUZT | TIMS | 6 | UZEIT | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
KTXT | Description | AUFTEXT | CHAR | 40 | TEXT40 | ||||
MATNR | Material Number for Order | PI_MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | |
MATXT | Material Description | PI_MATXT | CHAR | 40 | TEXT40 | ||||
PRUEFLOS | Inspection Lot Number | PI_QPLOS | NUMC | 12 | QALS | QPLOS | QLS | QALS | |
ERRKZ | Processing status of the process message/the control recipe | CO_ERRKZ | CHAR | 1 | CHAR1 | ||||
ARFCIPID | Host ID (IP ID | ARFCIPID | CHAR | 8 | ARFCIPID | ||||
ARFCPID | Process ID | ARFCPID | CHAR | 4 | ARFCPID | ||||
ARFCTIME | Time Stamp | ARFCTIME | CHAR | 8 | ARFCTIME | ||||
ARFCTIDCNT | Transaction ID (LUW -> COMMIT WORK) | ARFCTIDCNT | CHAR | 4 | ARFCTIDCNT | ||||
EXSTAT | Execution status of a control recipe | CO_EXSTAT | CHAR | 5 | Assigned to domain | CO_CRSTAT | |||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
FSAVD | Earliest scheduled start: Execution (date) | FSAVD | DATS | 8 | DATUM | ||||
FSAVZ | Earliest scheduled start: Execution (time) | FSAVZ | TIMS | 6 | ATIME | ||||
DECNTRL_PRC | Indicator for Decentralized Control Recipe Execution | DECNTRL_PRC | CHAR | 1 | CHAR1 | ||||
XS_ID | XSteps: Unique ID of a Node | CMX_CR_XS_GUID | CHAR | 22 | SYSUUID_22 |
Key field | Non-key field |
How do I retrieve data from SAP table COCH using ABAP code
The following ABAP code Example will allow you to do a basic selection on COCH to SELECT all data from the tableDATA: WA_COCH TYPE COCH.
SELECT SINGLE *
FROM COCH
INTO CORRESPONDING FIELDS OF WA_COCH
WHERE...
How to access SAP table COCH
Within an ECC or HANA version of SAP you can also view further information about COCH and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects