COCHP SAP (PI sheet: Control Recipe Header) Table details
Dictionary Type: Table
Description: PI sheet: Control Recipe Header
Description: PI sheet: Control Recipe Header
Table field list including key, data, relationships and ABAP select examples
COCHP is a standard SAP Table which is used to store PI sheet: Control Recipe Header data and is available within R/3 SAP systems depending on the version and release level.
The COCHP table consists of various fields, each holding specific information or linking keys about PI sheet: Control Recipe Header data available in SAP. These include CRID (PI sheet (process instruction sheet)), WERK (Plant), BID (Process order number), 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 or numeric)
SAP COCHP 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 | PI sheet (process instruction sheet) | PI_CRID | NUMC | 18 | PI_CRID | PVL | |||
WERK | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
BID | Process order number | CO_BORD | CHAR | 12 | AUFK | ALPHA | AUFNR | ANR | |
PHSEQ | Control Recipe Destination | PHSEQ | CHAR | 2 | TC52 | PHSEQ | |||
ADRES | Operator or group of operators processing a PI sheet | CO_PI_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 | Status of the PI sheet | CO_PISTAT | CHAR | 5 | CO_PISTAT | ||||
ANDAT | Creation date of the PI sheet | CO_ANDAT | DATS | 8 | DATUM | ||||
ANUZT | Time when the record was created | ANUZT | TIMS | 6 | UZEIT | ||||
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
COM_NAME | Name | TDOBNAME | CHAR | 70 | TDOBNAME | ||||
S_STARO | Top Displayed List Line | SYSTARO | INT4 | 10 | SYST_LONG | ||||
S_STACO | First List Column Displayed | SYSTACO | INT4 | 10 | SYST_LONG | ||||
S_CPAGE | Page Number of List | SYCPAGE | INT4 | 10 | SYST_LONG | ||||
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 | |
VIS_VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN |
Key field | Non-key field |
How do I retrieve data from SAP table COCHP using ABAP code
The following ABAP code Example will allow you to do a basic selection on COCHP to SELECT all data from the tableDATA: WA_COCHP TYPE COCHP.
SELECT SINGLE *
FROM COCHP
INTO CORRESPONDING FIELDS OF WA_COCHP
WHERE...
How to access SAP table COCHP
Within an ECC or HANA version of SAP you can also view further information about COCHP 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