TXW_CO_POS SAP (CO Document item) Structure details
Description: CO Document item
Structure field list including key, data, relationships and ABAP select examples
TXW_CO_POS 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 Document item" 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_TXW_CO_POS TYPE TXW_CO_POS.
The TXW_CO_POS table consists of various fields, each holding specific information or linking keys about CO Document item data available in SAP. These include KOKRS (Controlling Area), BELNR (Document Number), BUZEI (Posting row), PERIO (Fiscal Period).. 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: Can be enhanced (character-type or numeric)
SAP TXW_CO_POS 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 | |||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
BELNR | Document Number | CO_BELNR | CHAR | 10 | Assigned to domain | ALPHA | CO_BELNR | BLN | |
BUZEI | Posting row | CO_BUZEI | NUMC | 3 | BUZEI | ||||
PERIO | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
KSTAR | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
HRKFT | CO key subnumber | CO_SUBKEY | CHAR | 14 | Assigned to domain | CO_SUBKEY | |||
VRGNG | CO Business Transaction | CO_VORGANG | CHAR | 4 | Assigned to domain | J_VORGANG | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
BEKNZ | Debit/credit indicator | BEKNZ | CHAR | 1 | BEKNZ | BEKNZ | |||
WKGBTR | Total value in CO area currency | TXW_WKGBTR | CHAR | 17 | CHAR17 | ||||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | J_OBJNR | ONR | ||
OBJNRT | CO Object number (converted into clear text) | TXW_COOBJT | CHAR | 30 | CHAR30 | ||||
OBJNRTP | Object number - object type | TXW_OBJTP | CHAR | 2 | Assigned to domain | J_OBART | |||
FKBER | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
RBEST | Category of Reference Purchase Order | CO_RBEST | NUMC | 3 | REFBT | BELEGTYP | |||
REFBZ | Posting row of reference document | CO_REFBZ | NUMC | 3 | BUZEI | ||||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
USPOB | Source Object (Cost Center/Activity Type) | USPOB | CHAR | 22 | Assigned to domain | J_OBJNR | |||
USPOBT | Origin object number (converted into clear text) | TXW_USPOBT | CHAR | 30 | CHAR30 | ||||
USPOBTP | Origin object type | TXW_USPTP | CHAR | 2 | Assigned to domain | J_OBART | |||
VBUND | Company ID of trading partner | RASSC | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | PGS | |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PARGB | Trading partner's business area | PARGB | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
PAROB1 | Partner object (always filled) | PAROB1 | CHAR | 22 | Assigned to domain | J_OBJNR | |||
PAROB1T | Partner object (converted into clear text) | TXW_PAROB1 | CHAR | 30 | CHAR30 | ||||
PAROB1TP | Partner object type | TXW_PARTP | CHAR | 2 | Assigned to domain | J_OBART | |||
PBUKRS | Company code of partner | PBUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | ||
PFKBER | Partner Functional Area | SFKBER | CHAR | 16 | Assigned to domain | FKBER | |||
PKSTAR | Cost element of partner | PKSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
AWKEY | Reference Key | AWKEY | CHAR | 20 | AWKEY | ||||
WOGBTR | Total value in object currency | TXW_WOGXXX | CHAR | 21 | CHAR21 | ||||
OWAER | Currency Key | OWAER | CUKY | 5 | Assigned to domain | WAERS | OWS | ||
WTGBTR | Overall value in transaction currency | TXW_WTGXXX | CHAR | 21 | CHAR21 | ||||
TWAER | Transaction Currency | TWAER | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
LOGSYSO | Logical system of object | LOGSYSO | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
LOGSYSP | Logical system of partner object | LOGSYSP | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
OBJNR_N1 | Auxiliary account assignment 1 | OBJNR_N1 | CHAR | 22 | Assigned to domain | J_OBJNR |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_CO_POS using ABAP code?
As TXW_CO_POS 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 TXW_CO_POS as there is no data to select.How to access SAP table TXW_CO_POS
Within an ECC or HANA version of SAP you can also view further information about TXW_CO_POS 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