MSTA SAP (Material Master Status) Table details
Dictionary Type: Table
Description: Material Master Status
Description: Material Master Status
Table field list including key, data, relationships and ABAP select examples
MSTA is a standard SAP Table which is used to store Material Master Status data and is available within R/3 SAP systems depending on the version and release level.
The MSTA table consists of various fields, each holding specific information or linking keys about Material Master Status data available in SAP. These include MATNR (Material Number), STATM (Maintenance status of material master record), ZHLER (Counter), ERSDA (Created On).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP MSTA table 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 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
STATM | Maintenance status of material master record | STATM | CHAR | 1 | T132 | STATM | |||
ZHLER | Counter | DZHLER | CHAR | 5 | CHAR5 | ||||
ERSDA | Created On | ERSDA | DATS | 8 | DATUM | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
LAEDA | Date of Last Change | LAEDA | DATS | 8 | DATUM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | MARC | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | MARD | LGORT | LAG | ||
LGNUM | Warehouse Number / Warehouse Complex | LGNUM | CHAR | 3 | MLGN | LGNUM | LGN | ||
LGTYP | Storage Type | LGTYP | CHAR | 3 | MLGT | LGTYP | LGT | H_T301 | |
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | MVKE | VTWEG | VTW | C_VTWEG | |
BWKEY | Valuation Area | BWKEY | CHAR | 4 | T001K | BWKEY | BWK | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | MBEW | BWTAR | BWT |
Key field | Non-key field |
How do I retrieve data from SAP table MSTA using ABAP code
The following ABAP code Example will allow you to do a basic selection on MSTA to SELECT all data from the tableDATA: WA_MSTA TYPE MSTA.
SELECT SINGLE *
FROM MSTA
INTO CORRESPONDING FIELDS OF WA_MSTA
WHERE...
How to access SAP table MSTA
Within an ECC or HANA version of SAP you can also view further information about MSTA 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