TXW_MAT SAP (Material master) Structure details
Description: Material master
Structure field list including key, data, relationships and ABAP select examples
TXW_MAT 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 "Material 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_MAT TYPE TXW_MAT.
The TXW_MAT table consists of various fields, each holding specific information or linking keys about Material master data available in SAP. These include MATNR (Material Number), WERKS (Plant), MTART (Material Type), MATKL (Material Group).. 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_MAT 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 | |||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
MTART | Material Type | MTART | CHAR | 4 | Assigned to domain | MTART | MTA | ||
MATKL | Material Group | MATKL | CHAR | 9 | Assigned to domain | MATKL | MKL | S_WBWG | |
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
NORMT | Industry Standard Description (such as ANSI or ISO) | NORMT | CHAR | 18 | NORMT | ||||
PRDHA | Product hierarchy | PRODH_D | CHAR | 18 | Assigned to domain | PRODH | VPR | ||
ATTYP | Material Category | ATTYP | CHAR | 2 | ATTYP | MTY | |||
STOFF | Hazardous material number | STOFF | CHAR | 18 | Assigned to domain | MATN1 | STOFF | STO | |
KZUMW | Environmentally Relevant | KZUMW | CHAR | 1 | XFELD | ||||
TAKLV | Tax classification of the material | TAKLV | CHAR | 1 | Assigned to domain | TAXKM | |||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
ATPKZ | Replacement part | ATPKZ | CHAR | 1 | ATPKZ | ||||
PRENG | Validity date of vendor declaration | PRENG | DATS | 8 | PRENG | PNG | |||
STDPD | Configurable material | STDPD | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
EXPME | Unit of measure for commodity code (foreign trade) | EXPME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MTVER | Export/import material group | MTVER | CHAR | 4 | Assigned to domain | MTVER | |||
PREFE | Preference indicator in export/import | PREFE | CHAR | 1 | PREFE | ||||
PRENC | Exemption certificate: Indicator for legal control | PRENC | CHAR | 1 | PRENC | ||||
PRENO | Number of exemption certificate in export/import | PRENO | NUMC | 8 | PRENO | ||||
PREND | Exemption certificate: Issue date of exemption certificate | PREND | DATS | 8 | PREND | ||||
PRENE | Indicator: Vendor declaration exists | PRENE | CHAR | 1 | PRENE | PNE | |||
HERBL | State of manufacture | HERBL | CHAR | 2 | HERBL | ||||
HERKL | Country of origin of the material | HERKL | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
HERKR | Region of origin of material (non-preferential origin) | HERKR | CHAR | 3 | Assigned to domain | REGIO | |||
CUOBJ | Configuration (internal object number) | CUOBJ | NUMC | 18 | CUOBJ | CUX | |||
OTYPE | Object Type | OTYPE | CHAR | 2 | Assigned to domain | OTYPE | POT | ||
OBJID | Object ID | OBJEKTID | NUMC | 8 | NUM08 | PON | |||
EXTWG | External Material Group | EXTWG | CHAR | 18 | Assigned to domain | EXTWG | |||
SATNR | Cross-Plant Configurable Material | SATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
SCHGT | Indicator: Bulk Material | SCHGT | CHAR | 1 | XFELD | ||||
BISMT | Old material number | BISMT | CHAR | 18 | BISMT | ||||
ERSDA | Created On | ERSDA | DATS | 8 | DATUM | ||||
BWTTY | Valuation Category | BWTTY_D | CHAR | 1 | Assigned to domain | BWTTY | |||
MATNR_EXT | External Long Material Number | MATNR_EXT | CHAR | 40 | MATNL | MATNR_EXT | |||
MATNR_VERS | Material Version Number | MATNR_VERS | CHAR | 10 | MATNW | MATNR_VERS | MATVERS | ||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
STEUC | Control code for consumption taxes in foreign trade | STEUC | CHAR | 16 | Assigned to domain | STEUC | |||
CASNR | CAS number for pharmaceutical products in foreign trade | CASNR | CHAR | 15 | Assigned to domain | CASNR |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_MAT using ABAP code?
As TXW_MAT 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_MAT as there is no data to select.How to access SAP table TXW_MAT
Within an ECC or HANA version of SAP you can also view further information about TXW_MAT 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