TXW_CUST SAP (Customer master) Structure details
Description: Customer master
Structure field list including key, data, relationships and ABAP select examples
TXW_CUST 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 "Customer 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_CUST TYPE TXW_CUST.
The TXW_CUST table consists of various fields, each holding specific information or linking keys about Customer master data available in SAP. These include KUNNR (Customer Numbers), NAME1 (Name 1), NAME2 (Name 2), VBUND (Company ID of trading partner).. 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_CUST 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 | |||
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | C_KUNNR |
NAME1 | Name 1 | TXW_NAME1 | CHAR | 40 | TEXT40 | ||||
NAME2 | Name 2 | TXW_NAME2 | CHAR | 40 | TEXT40 | ||||
VBUND | Company ID of trading partner | RASSC | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | PGS | |
STCD1 | Tax Number 1 | STCD1 | CHAR | 16 | STCD1 | ||||
STCD2 | Tax Number 2 | STCD2 | CHAR | 11 | STCD2 | ||||
MILVE | ID for mainly military use | MILVE | CHAR | 1 | XFELD | ||||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
STRAS | Street | TXW_STRAS | CHAR | 60 | TEXT60 | ||||
ORT01 | City | TXW_ORT01 | CHAR | 40 | TEXT40 | ||||
ORT02 | District | TXW_ORT02 | CHAR | 40 | TEXT40 | ||||
PSTLZ | Postal Code | PSTLZ | CHAR | 10 | PSTLZ | ||||
PFACH | PO Box | PFACH | CHAR | 10 | PFACH | ||||
PSTL2 | P.O. Box Postal Code | PSTL2 | CHAR | 10 | PSTLZ | ||||
REGIO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
LAND1 | Country Key | LAND1_GP | CHAR | 3 | Assigned to domain | LAND1 | C_LAND1 | ||
XCPDK | Indicator: Is the account a one-time account? | XCPDK | CHAR | 1 | XFELD | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
ADRNR | Address | ADRNR | CHAR | 10 | Assigned to domain | ALPHA | ADRNR | ||
ERDAT | Date on which the Record Was Created | ERDAT_RF | DATS | 8 | DATUM | ||||
BRAN1 | Industry Code 1 | BRAN1_D | CHAR | 10 | Assigned to domain | BRACO | |||
HOUSE_NUM | House Number | TXW_HSNM1 | CHAR | 10 | TEXT10 | ||||
HOUSE_NUM1 | House Number | TXW_HSNM1 | CHAR | 10 | TEXT10 | ||||
HOUSE_NUM2 | House number supplement | TXW_HSNM2 | CHAR | 10 | TEXT10 | ||||
NAME3 | Name 3 | TXW_NAME3 | CHAR | 40 | TEXT40 | ||||
NAME4 | Name 4 | TXW_NAME4 | CHAR | 40 | TEXT40 |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_CUST using ABAP code?
As TXW_CUST 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_CUST as there is no data to select.How to access SAP table TXW_CUST
Within an ECC or HANA version of SAP you can also view further information about TXW_CUST 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