TXW_MAT SAP (Material master) Structure details

Dictionary Type: Structure
Description: Material master




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MTARTMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40
NORMTIndustry Standard Description (such as ANSI or ISO) NORMTCHAR18NORMT
PRDHAProduct hierarchy PRODH_DCHAR18Assigned to domainPRODHVPR
ATTYPMaterial Category ATTYPCHAR2ATTYPMTY
STOFFHazardous material number STOFFCHAR18Assigned to domainMATN1STOFFSTO
KZUMWEnvironmentally Relevant KZUMWCHAR1XFELD
TAKLVTax classification of the material TAKLVCHAR1Assigned to domainTAXKM
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
ATPKZReplacement part ATPKZCHAR1ATPKZ
PRENGValidity date of vendor declaration PRENGDATS8PRENGPNG
STDPDConfigurable material STDPDCHAR18Assigned to domainMATN1MATNR
EXPMEUnit of measure for commodity code (foreign trade) EXPMEUNIT3Assigned to domainCUNITMEINS
MTVERExport/import material group MTVERCHAR4Assigned to domainMTVER
PREFEPreference indicator in export/import PREFECHAR1PREFE
PRENCExemption certificate: Indicator for legal control PRENCCHAR1PRENC
PRENONumber of exemption certificate in export/import PRENONUMC8PRENO
PRENDExemption certificate: Issue date of exemption certificate PRENDDATS8PREND
PRENEIndicator: Vendor declaration exists PRENECHAR1PRENEPNE
HERBLState of manufacture HERBLCHAR2HERBL
HERKLCountry of origin of the material HERKLCHAR3Assigned to domainLAND1LND
HERKRRegion of origin of material (non-preferential origin) HERKRCHAR3Assigned to domainREGIO
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
OTYPEObject Type OTYPECHAR2Assigned to domainOTYPEPOT
OBJIDObject ID OBJEKTIDNUMC8NUM08PON
EXTWGExternal Material Group EXTWGCHAR18Assigned to domainEXTWG
SATNRCross-Plant Configurable Material SATNRCHAR18Assigned to domainMATN1MATNR
SCHGTIndicator: Bulk Material SCHGTCHAR1XFELD
BISMTOld material number BISMTCHAR18BISMT
ERSDACreated On ERSDADATS8DATUM
BWTTYValuation Category BWTTY_DCHAR1Assigned to domainBWTTY
MATNR_EXTExternal Long Material Number MATNR_EXTCHAR40MATNLMATNR_EXT
MATNR_VERSMaterial Version Number MATNR_VERSCHAR10MATNWMATNR_VERSMATVERS
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
STEUCControl code for consumption taxes in foreign trade STEUCCHAR16Assigned to domainSTEUC
CASNRCAS number for pharmaceutical products in foreign trade CASNRCHAR15Assigned to domainCASNR

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 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!