TXI_COKEY SAP (CO key sub-numbers) Structure details
Description: CO key sub-numbers
Structure field list including key, data, relationships and ABAP select examples
TXI_COKEY is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "CO key sub-numbers" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_TXI_COKEY TYPE TXI_COKEY.
The TXI_COKEY table consists of various fields, each holding specific information or linking keys about CO key sub-numbers data available in SAP. These include MANDT (Client), HRKFT (CO key subnumber), WERKS (Plant), MATNR (Material Number).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP TXI_COKEY structure 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 | Assigned to domain | MANDT | |||
HRKFT | CO key subnumber | CO_SUBKEY | CHAR | 14 | Assigned to domain | CO_SUBKEY | |||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
HKGRP | Origin Group as Subdivision of Cost Element | HRKFT | CHAR | 4 | Assigned to domain | HRKFT | |||
PCVER | COPC Area of Responsibility | CO_VERANB | CHAR | 14 | CO_VERANB | ||||
CBRKE | External Value Added Ranking (CO-OM-ABC) | CO_CBRKE | NUMC | 2 | CBRK | CO_CBRKG | |||
CBRKI | Internal Value Added Ranking (CO-OM-ABC) | CO_CBRKI | NUMC | 2 | CBRK | CO_CBRKG | |||
CBART | Business Process Attribute: Category | CO_CBART | CHAR | 2 | CBAR | CO_CBART | |||
DRVTP | Business Process Attribute: Allocation Category (CO-OM-ABC) | CO_DRVTP | CHAR | 3 | CBDT | ALPHA | CO_DRVTP | ||
CBAT | Business Process Attribute: Additional Attribute (CO-OM-ABC) | CO_CBAT | CHAR | 10 | CBAT | ALPHA | CO_CBAT | ||
RECIND | Recovery Indicator | JV_RECIND | CHAR | 2 | T8JJ | ALPHA | JV_RECIND | ||
BEMOT | Accounting Indicator | BEMOT | CHAR | 2 | Assigned to domain | BEMOT | |||
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
RSRCE | Resource | CO_RESSOURCE | CHAR | 10 | Assigned to domain | ALPHA | CO_RESSOURCE | RCE | |
SUBKEY2 | Exclusively Reserved Sub-Number for Encoding Public Charact. | EAPS_SUBNR | NUMC | 10 | CO_SUBNR |
Key field | Non-key field |
How do I retrieve data from SAP structure TXI_COKEY using ABAP code?
As TXI_COKEY is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on TXI_COKEY as there is no data to select.How to access SAP table TXI_COKEY
Within an ECC or HANA version of SAP you can also view further information about TXI_COKEY 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