MSTA

Transparent Table Application Table

Material Master Status

MSTA is an SAP database table in S/4HANA. Material Master Status. It contains 16 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
I_ProductMasterStatus view_entity from BASIC Product Master Status

Fields (16)

KeyField Data ElementDescription DomainTypeLength
KEY mandt mandt Client
KEY matnr matnr Material
KEY statm statm Maint. status
KEY zhler dzhler Counter
ersda ersda Created On
ernam ernam Created By
laeda laeda Last Change
aenam aenam Changed By
werks werks_d Plant
lgort lgort_d Location
lgnum lgnum Warehouse No.
lgtyp lgtyp Storage Type
vkorg vkorg Sales Org.
vtweg vtweg Distr. Channel
bwkey bwkey Valuation Area
bwtar bwtar_d Valuation Type

Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.

-- Material Master Status
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE MSTA (
    MANDT,  -- Client [mandt]
    MATNR,  -- Material [matnr]
    STATM,  -- Maint. status [statm]
    ZHLER,  -- Counter [dzhler]
    ERSDA,  -- Created On [ersda]
    ERNAM,  -- Created By [ernam]
    LAEDA,  -- Last Change [laeda]
    AENAM,  -- Changed By [aenam]
    WERKS,  -- Plant [werks_d]
    LGORT,  -- Location [lgort_d]
    LGNUM,  -- Warehouse No. [lgnum]
    LGTYP,  -- Storage Type [lgtyp]
    VKORG,  -- Sales Org. [vkorg]
    VTWEG,  -- Distr. Channel [vtweg]
    BWKEY,  -- Valuation Area [bwkey]
    BWTAR,  -- Valuation Type [bwtar_d]
    PRIMARY KEY (MANDT, MATNR, STATM, ZHLER)
);