Skip to content
SAP Reference

MSEG

transactionS/4HANA status: Replaced · Compat View

Document Segment: Material

Notes

In S/4HANA replaced by MATDOC; exists as CDS compatibility view

Fields

59 fields · 4 key

KeyFieldDescriptionTypeLengthReferences
Primary keyMANDTClientCLNT3T000
Primary keyMBLNRNumber of Material DocumentCHAR10MKPF
Primary keyMJAHRMaterial Document YearNUMC4
Primary keyZEILEItem in Material DocumentNUMC4
BWARTMovement Type (Inventory Management)CHAR3T156
MATNRMaterial NumberCHAR18 / 40MARA
WERKSPlantCHAR4T001W
LGORTStorage LocationCHAR4T001L
CHARGBatch NumberCHAR10
INSMKStock TypeCHAR1
SOBKZSpecial Stock IndicatorCHAR1T148
LIFNRAccount Number of Vendor or CreditorCHAR10LFA1
KUNNRAccount Number of Customer or DebtorCHAR10KNA1
KDAUFSales Order Number of Valuated Sales Order StockCHAR10
KDPOSSales Order ItemNUMC6
SHKZGDebit/Credit IndicatorCHAR1
WAERSCurrency KeyCUKY5TCURC
DMBTRAmount in Local CurrencyCURR13,2
MENGEQuantityQUAN13,3
MEINSBase Unit of MeasureUNIT3T006
ERFMGQuantity in Unit of EntryQUAN13,3
ERFMEUnit of EntryUNIT3T006
EBELNPurchase Order NumberCHAR10EKKO
EBELPItem Number of Purchasing DocumentNUMC5
RSNUMNumber of Reservation/Dependent RequirementsNUMC10
RSPOSItem Number of Reservation/Dependent RequirementsNUMC4
AUFNROrder NumberCHAR12AUFK
KOSTLCost CenterCHAR10CSKS
SAKTOG/L Account NumberCHAR10
GSBERBusiness AreaCHAR4TGSB
PRCTRProfit CenterCHAR10CEPC
BUKRSCompany CodeCHAR4T001
VBELN_IMDeliveryCHAR10
VBELP_IMDelivery ItemNUMC6
LGNUMWarehouse Number/ComplexCHAR3T300
LGTYPStorage TypeCHAR3
LGPLAStorage BinCHAR10
BWTARValuation TypeCHAR10
GRUNDReason for MovementCHAR4
EXBWRExternally Entered Posting Amount in Local CurrencyCURR13,2
EXVKWExternally Entered Sales Value in Local CurrencyCURR13,2
BUDAT_MKPFPosting Date in the DocumentDATS8
CPUDT_MKPFDay On Which Accounting Document Was EnteredDATS8
CPUTM_MKPFTime of EntryTIMS6
USNAM_MKPFUser NameCHAR12
XBLNR_MKPFReference Document NumberCHAR16
PS_PSP_PNRWork Breakdown Structure Element (WBS Element)NUMC8
NPLNRNetwork Number for Account AssignmentCHAR12
ANLN1Main Asset NumberCHAR12
ANLN2Asset Sub-NumberCHAR4
WEMPFGoods RecipientCHAR12
ABLADUnloading PointCHAR25
VFDATShelf Life Expiration or Best-Before DateDATS8
KZBEWMovement IndicatorCHAR1
KZVBRConsumption PostingCHAR1
KZZUGReceipt IndicatorCHAR1
UMWRKReceiving/Issuing PlantCHAR4T001W
UMLGOReceiving/Issuing Storage LocationCHAR4T001L
SGTXTItem TextCHAR50

Lengths shown as ECC / S/4HANA where the extended material number applies.

Field provenance: hand-curated.

Released CDS views over this table

Released SAP standard VDM views that read over MSEG. Prefer these over classic-table reads on S/4HANA where available.

Relationships

1-hop neighbors — click a table to navigate there.

Transaction Codes That Use This Table