TXW_CO_POS SAP (CO Document item) Structure details

Dictionary Type: Structure
Description: CO Document item




ABAP Code to SELECT data from TXW_CO_POS
Related tables to TXW_CO_POS
Access table TXW_CO_POS




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
BELNRDocument Number CO_BELNRCHAR10Assigned to domainALPHACO_BELNRBLN
BUZEIPosting row CO_BUZEINUMC3BUZEI
PERIOFiscal Period MONATNUMC2MONAT
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
KSTARCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
HRKFTCO key subnumber CO_SUBKEYCHAR14Assigned to domainCO_SUBKEY
VRGNGCO Business Transaction CO_VORGANGCHAR4Assigned to domainJ_VORGANG
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
BEKNZDebit/credit indicator BEKNZCHAR1BEKNZBEKNZ
WKGBTRTotal value in CO area currency TXW_WKGBTRCHAR17CHAR17
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
OBJNRTCO Object number (converted into clear text) TXW_COOBJTCHAR30CHAR30
OBJNRTPObject number - object type TXW_OBJTPCHAR2Assigned to domainJ_OBART
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
RBESTCategory of Reference Purchase Order CO_RBESTNUMC3REFBTBELEGTYP
REFBZPosting row of reference document CO_REFBZNUMC3BUZEI
SGTXTItem Text SGTXTCHAR50TEXT50
USPOBSource Object (Cost Center/Activity Type) USPOBCHAR22Assigned to domainJ_OBJNR
USPOBTOrigin object number (converted into clear text) TXW_USPOBTCHAR30CHAR30
USPOBTPOrigin object type TXW_USPTPCHAR2Assigned to domainJ_OBART
VBUNDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
PARGBTrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
PAROB1Partner object (always filled) PAROB1CHAR22Assigned to domainJ_OBJNR
PAROB1TPartner object (converted into clear text) TXW_PAROB1CHAR30CHAR30
PAROB1TPPartner object type TXW_PARTPCHAR2Assigned to domainJ_OBART
PBUKRSCompany code of partner PBUKRSCHAR4Assigned to domainBUKRSBUK
PFKBERPartner Functional Area SFKBERCHAR16Assigned to domainFKBER
PKSTARCost element of partner PKSTARCHAR10Assigned to domainALPHAKSTARKAT
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
AWKEYReference Key AWKEYCHAR20AWKEY
WOGBTRTotal value in object currency TXW_WOGXXXCHAR21CHAR21
OWAERCurrency Key OWAERCUKY5Assigned to domainWAERSOWS
WTGBTROverall value in transaction currency TXW_WTGXXXCHAR21CHAR21
TWAERTransaction Currency TWAERCUKY5Assigned to domainWAERSFWS
LOGSYSOLogical system of object LOGSYSOCHAR10Assigned to domainALPHALOGSYS
LOGSYSPLogical system of partner object LOGSYSPCHAR10Assigned to domainALPHALOGSYS
OBJNR_N1Auxiliary account assignment 1 OBJNR_N1CHAR22Assigned to domainJ_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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!