COKEY2 SAP (CO Key Subnumbers Enhancement Table) Table details
Dictionary Type: Table
Description: CO Key Subnumbers Enhancement Table
Description: CO Key Subnumbers Enhancement Table
Table field list including key, data, relationships and ABAP select examples
COKEY2 is a standard SAP Table which is used to store CO Key Subnumbers Enhancement Table data and is available within R/3 SAP systems depending on the version and release level.
The COKEY2 table consists of various fields, each holding specific information or linking keys about CO Key Subnumbers Enhancement Table data available in SAP. These include SUBKEY2 (Exclusively Reserved Sub-Number for Encoding Public Charact.), FKBER (Functional Area), PFKBER (Partner Functional Area), GEBER (Fund).. 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 COKEY2 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 | |||
SUBKEY2 | Exclusively Reserved Sub-Number for Encoding Public Charact. | EAPS_SUBNR | NUMC | 10 | CO_SUBNR | ||||
FKBER | Functional Area | FKBER | CHAR | 16 | TFKB | FKBER | FBE | ||
PFKBER | Partner Functional Area | SFKBER | CHAR | 16 | TFKB | FKBER | |||
GEBER | Fund | FM_FUND | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
PGEBER | Partner Fund | FM_PFUND | CHAR | 10 | Assigned to domain | BP_GEBER | PARTNER_FUND | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
PGRANT_NBR | Partner Grant | GM_GRANT_PARTNER | CHAR | 20 | ALPHA | GM_GRANT_NBR | GRANTS_GENERIC | ||
SEGMENT | Segment for Segmental Reporting | FB_SEGMENT | CHAR | 10 | FAGL_SEGM | ALPHA | FB_SEGMENT | ||
PSEGMENT | Partner Segment for Segmental Reporting | FB_PSEGMENT | CHAR | 10 | FAGL_SEGM | ALPHA | FB_SEGMENT | ||
BUDGET_PD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
PBUDGET_PD | FM: Partner Budget Period | FM_PBUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
PRODPER | Production Month for JVA in CO | PRODPER | NUMC | 6 | PRODPER | ||||
SUBKEY3 | Subnumber 3 Encryption of Other Fields | FCOM_SUBNR3 | NUMC | 10 | CO_SUBNR |
Key field | Non-key field |
How do I retrieve data from SAP table COKEY2 using ABAP code
The following ABAP code Example will allow you to do a basic selection on COKEY2 to SELECT all data from the tableDATA: WA_COKEY2 TYPE COKEY2.
SELECT SINGLE *
FROM COKEY2
INTO CORRESPONDING FIELDS OF WA_COKEY2
WHERE...
How to access SAP table COKEY2
Within an ECC or HANA version of SAP you can also view further information about COKEY2 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