COCC SAP (PP-PI: Attributes for Characteristics) Table details
Description: PP-PI: Attributes for Characteristics
Table field list including key, data, relationships and ABAP select examples
COCC is a standard SAP Table which is used to store PP-PI: Attributes for Characteristics data and is available within R/3 SAP systems depending on the version and release level.
The COCC table consists of various fields, each holding specific information or linking keys about PP-PI: Attributes for Characteristics data available in SAP. These include ATINN (Internal characteristic), ADZHL (Internal counter for archiving objects via engin. chg. mgmt), TXTRF (Indicator: Characteristic value is long text), ATFKT (Function module for autom. characteristic value assignment).. 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 COCC 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 | |||
ATINN | Internal characteristic | ATINN | NUMC | 10 | CABN | ATINN | ATINN | ||
ADZHL | Internal counter for archiving objects via engin. chg. mgmt | ADZHL | NUMC | 4 | NUMC4 | ||||
TXTRF | Indicator: Characteristic value is long text | CO_TXTRF | CHAR | 1 | FLAG | ||||
ATFKT | Function module for autom. characteristic value assignment | CO_ATFKT | CHAR | 30 | TFDIR | FUNCNAME | |||
DATUV | Valid-From Date | DATUV | DATS | 8 | DATUM | ||||
ATOBL | Indicator: Automatic value assignment only | CO_ATOBL | CHAR | 1 | XFELD | ||||
ATTBL | Table for automatic characteristic value assignment | CO_CHRTAB | CHAR | 2 | CO_CHRTAB | ||||
ATFLD | Table field for automatic characteristic value assignment | CO_CHRFLD | CHAR | 30 | Assigned to domain | FDNAME | |||
MCODE | Matchcode for possible entries of characteristics | CO_MCODE | CHAR | 30 | |||||
FKTBL | Structure for foreign key validation of charact. values | CO_FSTAB | CHAR | 30 | Assigned to domain | AS4TAB | |||
FKFLD | Base field for foreign key definition of char. values | CO_FSFLD | CHAR | 30 | Assigned to domain | FDNAME | |||
ATPID | SET/GET parameter for characteristic value | CO_ATPID | CHAR | 20 | Assigned to domain | MEMORYID | |||
.INCLU--AP | 0 | ||||||||
CMX_FORMAT | Manufacturing Execution: Format of a Domain | CMX_TYPES_DOMAIN_FORMAT | CHAR | 1 | CMX_TYPES_D_DOMAIN_FORMAT | ||||
CMX_MIMETYPE | Manufacturing Execution: Mime Type | CMX_TYPES_MIMETYPE | CHAR | 128 | W3_CONTTYP | ||||
CMX_LENGTH | Manufacturing Execution: Number of Position in a Domain | CMX_TYPES_LENGTH | NUMC | 3 |
Key field | Non-key field |
How do I retrieve data from SAP table COCC using ABAP code
The following ABAP code Example will allow you to do a basic selection on COCC to SELECT all data from the tableDATA: WA_COCC TYPE COCC.
SELECT SINGLE *
FROM COCC
INTO CORRESPONDING FIELDS OF WA_COCC
WHERE...
How to access SAP table COCC
Within an ECC or HANA version of SAP you can also view further information about COCC 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