SMATNR_HDR SAP (Retail Data Transfer: Material Master Header Record) Structure details

Dictionary Type: Structure
Description: Retail Data Transfer: Material Master Header Record




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




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

SMATNR_HDR 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 "Retail Data Transfer: Material Master Header Record" 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_SMATNR_HDR TYPE SMATNR_HDR.

The SMATNR_HDR table consists of various fields, each holding specific information or linking keys about Retail Data Transfer: Material Master Header Record data available in SAP. These include TRANC (Transaction counter for data transfer), D_IND (Which number within a transaction must be reset?), MATNR (Material Number), MTART (Material Type).. 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: Cannot Be Enhanced


SAP SMATNR_HDR 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
TRANCTransaction counter for data transfer TRANSCOUNTNUMC10NUMC10
D_INDWhich number within a transaction must be reset? M_DELINDNUMC10NUMC10
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MTARTMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
ATTYPMaterial Category ATTYPCHAR2ATTYPMTY
MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
CLASSCharacteristic profile WMKMPCHAR18KLASSEKLA
REF_MATNRReference material REF_MATNRCHAR18Assigned to domainMATN1MATNRRMAMAT1
KZ_NUMKRSIndicator: Check external material number against no. range CHNKRCHAR1XFELD
GRUNDInclude Basic Data View SICHT_0CHAR1XFELD
LISTDIndicator: Consider Listing view SICHT_1CHAR1XFELD
EINKDIndicator: Consider Purchasing view SICHT_3CHAR1XFELD
VERKDIndicator: Consider Sales view SICHT_4CHAR1XFELD
LOVZDIndicator: Consider Logistics Distribution Center view SICHT_5CHAR1XFELD
LOFIDIndicator: Consider Logistics Store view SICHT_6CHAR1XFELD
POSDAIndicator: Consider POS view SICHT_7CHAR1XFELD

Key field Non-key field



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

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

How to access SAP table SMATNR_HDR

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