TXW_COSTC SAP (Cost center master) Structure details

Dictionary Type: Structure
Description: Cost center master




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




Structure field list including key, data, relationships and ABAP select examples

TXW_COSTC 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 "Cost center master" 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_COSTC TYPE TXW_COSTC.

The TXW_COSTC table consists of various fields, each holding specific information or linking keys about Cost center master data available in SAP. These include BUKRS (Company Code), KOSTL (Cost Center), KOKRS (Controlling Area), KTEXT (General Name).. 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)


SAP TXW_COSTC 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
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
KTEXTGeneral Name KTEXTCHAR20TEXT20
LTEXTLong Text LTEXTCHAR40TEXT40
KOSARCost Center Category KOSARCHAR1Assigned to domainKOSARPCA_KOSAR
FUNKTFunction of cost center FUNKT_DLKCHAR3LSORT
ABTEIDepartment ABTEICHAR12ABTEI
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
STRASHouse number and street STRAS_GPCHAR35TEXT35
ORT01City ORT01_GPCHAR35TEXT35
ORT02District ORT02_GPCHAR35TEXT35
REGIOSTATE (State, Province, County) REGIOCHAR3Assigned to domainREGIO
PSTLZPostal Code PSTLZCHAR10PSTLZ
LAND1Country Key LAND1CHAR3Assigned to domainLAND1LND
PFACHPO Box PFACHCHAR10PFACH
PSTL2P.O. Box Postal Code PSTL2CHAR10PSTLZ
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
OBJNRTCO Object number (converted into clear text) TXW_COOBJTCHAR30CHAR30
STAKZIndicator. object is statistical STAKZCHAR1CHAR1
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
KHINRStandard Hierarchy Area KHINRCHAR12SETNR
DATBIValid To Date DATBIDATS8DATUM
DATABValid-From Date DATABDATS8DATUM
ERSDACreated on ERFDTDATS8DATUM

Key field Non-key field



How do I retrieve data from SAP structure TXW_COSTC using ABAP code?

As TXW_COSTC 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_COSTC as there is no data to select.

How to access SAP table TXW_COSTC

Within an ECC or HANA version of SAP you can also view further information about TXW_COSTC 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!