TXW_COMPC SAP (Company code master) Structure details
Description: Company code master
Structure field list including key, data, relationships and ABAP select examples
TXW_COMPC 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 "Company code 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_COMPC TYPE TXW_COMPC.
The TXW_COMPC table consists of various fields, each holding specific information or linking keys about Company code master data available in SAP. These include BUKRS (Company Code), RCOMP (Company), BUKRS_GLOB (Name of global company code), BUTXT (Name of Company Code or Company).. 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_COMPC 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 | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
RCOMP | Company | RCOMP_D | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | GCC | |
BUKRS_GLOB | Name of global company code | BUKRS_GLOB | CHAR | 6 | Assigned to domain | BUKRS_GLOB | |||
BUTXT | Name of Company Code or Company | BUTXT | CHAR | 25 | TEXT25 | ||||
KTOPL | Chart of Accounts | KTOPL | CHAR | 4 | Assigned to domain | KTOPL | KPL | C_KTOPL | |
XPROD | Indicator: Productive company code? | XPROD_001 | CHAR | 1 | XFELD | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
ADRNR | Address | ADRNR | CHAR | 10 | Assigned to domain | ALPHA | ADRNR | ||
NAME1 | Name 1 | TXW_NAME1 | CHAR | 40 | TEXT40 | ||||
STRAS | Street | TXW_STRAS | CHAR | 60 | TEXT60 | ||||
HOUSE_NUM | House Number | TXW_HSNM1 | CHAR | 10 | TEXT10 | ||||
ORT01 | City | TXW_ORT01 | CHAR | 40 | TEXT40 | ||||
ORT02 | District | TXW_ORT02 | CHAR | 40 | TEXT40 | ||||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
LAND1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
PSTLZ | Postal code | PSTLZ_BAS | CHAR | 10 | PSTLZ | ||||
PFACH | PO box | PFACH_BAS | CHAR | 10 | PFACH | ||||
PSTL2 | PO Box postal code | PSTL2_BAS | CHAR | 10 | PSTLZ | ||||
TXJCD | Tax Jurisdiction | AD_TXJCD | CHAR | 15 | AD_TXJCD | TXJ | |||
PERIV | Fiscal Year Variant | PERIV | CHAR | 2 | Assigned to domain | PERIV | |||
STCEG | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
UMKRS | Sales/Purchases Tax Group | UMKRS | CHAR | 4 | Assigned to domain | UMKRS | FI_UMKRS_COLL | ||
KTOP2 | Chart of Accounts According to Country Legislation | KTOP2 | CHAR | 4 | Assigned to domain | KTOPL | |||
NAME2 | Name 2 | TXW_NAME2 | CHAR | 40 | TEXT40 | ||||
XJVAA | Indicator: JVA Active | JV_ACTIVE | CHAR | 1 | XFELD | ||||
TXKRS | Foreign Currency Translation for Tax Items | TXKRS | CHAR | 1 | TXKRS | ||||
XSTDT | Indicator: Document date as the basis for tax determination | XSTDT_001 | CHAR | 1 | XFELD | ||||
MWSKV | Input Tax Code for Non-Taxable Transactions | MWSKZ_NSTV | CHAR | 2 | Assigned to domain | MWSKZ | |||
MWSKA | Output Tax Code for Non-Taxable Transactions | MWSKZ_NSTA | CHAR | 2 | Assigned to domain | MWSKZ | |||
IMPDA | Foreign Trade: Import Data Control in MM Purchase Orders | IMPDATEN | CHAR | 1 | IMPDATEN | ||||
XNEGP | Indicator: Negative Postings Permitted | XNEGP_ACT | CHAR | 1 | XFELD | ||||
XKKBI | Indicator: Can credit control area be overwritten? | XKKBI | CHAR | 1 | XFELD | ||||
WT_NEWWT | Indicator: Extended withholding tax active | WT_NEWWT | CHAR | 1 | XFELD | ||||
XCOS | Cost of sales accounting status | XCOS | CHAR | 1 | XCOS | ||||
DTAXR | Deferred Tax Rule | DTAXR | CHAR | 4 | DTAXR | ||||
XVATDATE | Tax Reporting Date Active in Documents | XVATDATE | CHAR | 1 | XFELD | ||||
HOUSE_NUM1 | House Number | TXW_HSNM1 | CHAR | 10 | TEXT10 |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_COMPC using ABAP code?
As TXW_COMPC 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_COMPC as there is no data to select.How to access SAP table TXW_COMPC
Within an ECC or HANA version of SAP you can also view further information about TXW_COMPC 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