MWZMSEG SAP (ZMSEG:Interface for Posting of Value) Table details

Dictionary Type: Table
Description: ZMSEG:Interface for Posting of Value




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




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

MWZMSEG is a standard SAP Table which is used to store ZMSEG:Interface for Posting of Value data and is available within R/3 SAP systems depending on the version and release level.

The MWZMSEG table consists of various fields, each holding specific information or linking keys about ZMSEG:Interface for Posting of Value data available in SAP. These include MBLNR (Number of Material Document), MJAHR (Material Document Year), ZEILE (Item in Material Document), LINE_ID (Unique identification of document line).. 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: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP MWZMSEG 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
MANDTClient MANDTCLNT3Assigned to domainMANDT
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
LINE_IDUnique identification of document line MB_LINE_IDNUMC6MB_LINE_ID
PARENT_IDIdentifier of immediately superior line MB_PARENT_IDNUMC6MB_LINE_ID
LINE_DEPTHHierarchy level of line in document MB_LINE_DEPTHNUMC2MB_LINE_DEPTH
MAA_URZEIOriginal Line for Account Assignment Item in Material Doc. MAA_URZEINUMC4MBLPOPOS
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
XAUTOItem automatically created MB_XAUTOCHAR1MB_XAUTO
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
INSMKStock Type MB_INSMKCHAR1MB_INSMK
ZUSCHBatch status key DZUSCHCHAR1ZUSCH
ZUSTDBatch in Restricted-Use Stock DZUSTDCHAR1XFELD
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
KUNNRAccount Number of Customer EKUNNCHAR10Assigned to domainALPHAKUNNRKUN
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
PLPLADistribution of Differences PLPLACHAR10PLPLA
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
BNBTRDelivery costs in local currency BNBTRCURR13(2) WERT13N
BUALTAmount posted in alternative price control BUALTCURR13(2) WERTV7
SHKUMDebit/credit indicator in revaluation SHKUMCHAR1SHKZG
DMBUMRevaluation amount on back-posting to a previous period DMBUMCURR13(2) WERT7
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
ERFMGQuantity in Unit of Entry ERFMGQUAN13(3) MENG13
ERFMEUnit of Entry ERFMEUNIT3Assigned to domainCUNITMEINS
BPMNGQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
BPRMEOrder Price Unit (Purchasing) BBPRMUNIT3Assigned to domainCUNITMEINS
EBELNPurchase Order Number BSTNRCHAR10Assigned to domainALPHAEBELNBES
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
LFBJAFiscal Year of a Reference Document LFBJANUMC4GJAHRGJAHR
LFBNRDocument No. of a Reference Document LFBNRCHAR10ALPHABELNR
LFPOSItem of a Reference Document LFPOSNUMC4MBLPO
SJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
SMBLNNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
SMBLPItem in Material Document MBLPONUMC4MBLPOPOS
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
SGTXTItem Text SGTXTCHAR50TEXT50
EQUNREquipment Number EQUNRCHAR18Assigned to domainALPHAEQUNREQNEQUI
WEMPFGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
ABLADUnloading Point ABLADCHAR25TEXT25
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
PARGBTrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
PARBUClearing company code PARBUCHAR4Assigned to domainBUKRS
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
PROJNOld: Project number : No longer used --> PS_POSNR PROJNCHAR16PROJN
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
XSKSTIndicator: Statistical posting to cost center XSKSTCHAR1XFELD
XSAUFIndicator: Posting to order is statistical XSAUFCHAR1XFELD
XSPROIndicator: Posting to project is statistical XSPROCHAR1XFELD
XSERGIndicator: Posting to prof.analysis is statistical XSERGCHAR1XFELD
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
XRUEMAllow Posting to Previous Period (Backposting) XRUEMCHAR1XFELD
XRUEJIndicator: post to previous year XRUEJCHAR1XFELD
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BELNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
BELUMAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BUZUMNumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
KZEARFinal Issue for This Reservation KZEARCHAR1XFELD
PBAMGQuantity MENGE_DQUAN13(3) MENG13
KZSTRTransaction/event is relevant to statistics KZSTRCHAR1KZSTR
UMMATReceiving/Issuing Material UMMATCHAR18Assigned to domainMATN1MATNR
UMWRKReceiving/Issuing Plant UMWRKCHAR4Assigned to domainWERKS
UMLGOReceiving/Issuing Storage Location UMLGOCHAR4Assigned to domainLGORT
UMCHAReceiving/Issuing Batch UMCHACHAR10Assigned to domainCHARG
UMZSTStatus of Transfer Batch UMZSTCHAR1ZUSTD
UMZUSStatus key of transfer batch UMZUSCHAR1ZUSCH
UMBARValuation Type of Transfer Batch UMBARCHAR10Assigned to domainBWTAR
UMSOKSpecial Stock Indicator for Physical Stock Transfer UMSOKCHAR1Assigned to domainSOBKZ
KZBEWMovement Indicator KZBEWCHAR1KZBEW
KZVBRConsumption Posting KZVBRCHAR1KZVBR
KZZUGReceipt Indicator KZZUGCHAR1KZZUG
WEUNBGoods Receipt, Non-Valuated WEUNBCHAR1XFELD
PALANWMS Number of pallets PALANDEC11PALAN
LGNUMWarehouse Number / Warehouse Complex LGNUMCHAR3Assigned to domainLGNUMLGN
LGTYPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
LGPLAStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
BESTQStock Category in the Warehouse Management System BESTQCHAR1BESTQ
BWLVSMovement Type for Warehouse Management BWLVSNUMC3Assigned to domainBWLVSBWL
TBNUMTransfer Requirement Number TBNUMNUMC10Assigned to domainTBNUMTBN
TBPOSTransfer Requirement Item TBPOSNUMC4TBPOSTBP
XBLVSIndicator: posting in warehouse management system XBLVSCHAR1XFELD
VSCHNInd: interim storage posting for source stor.type and bin T333_VSCHNCHAR1XFELD
NSCHNInd.: interim storage posting for dest.stor.type and bin T333_NSCHNCHAR1XFELD
DYPLAIndicator: dynamic storage bin DYPLACHAR1XFELD
UBNUMPosting Change Number UBNUMNUMC10UBNUMUBN
TBPRITransfer Priority TBPRICHAR1TBPRI
TANUMTransfer Order Number TANUMNUMC10TANUMTAN
WEANZNumber of GR/GI Slips to Be Printed WEANZNUMC3NUM3
GRUNDReason for Movement MB_GRBEWNUMC4Assigned to domainMB_GRBEW
EVERSShipping Instructions EVERSCHAR2Assigned to domainEVERS
EVERECompliance with Shipping Instructions EVERECHAR2Assigned to domainEVERE
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT
AUFPSOrder Item Number CO_POSNRNUMC4CO_POSNR
VPTNRPartner account number JV_PARTCHAR10Assigned to domainALPHAKUNNR
FIPOSCommitment Item FIPOSCHAR14Assigned to domainFIPOSFIP
SAKTOG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
BSTMGGoods receipt quantity in order unit MB_BSTMGQUAN13(3) MENG13
BSTMEPurchase Order Unit of Measure BSTMEUNIT3Assigned to domainCUNITMEINS
XWSBRReversal of GR allowed for GR-based IV despite invoice XWSBRCHAR1XFELD
EMLIFVendor to be supplied/who is to receive delivery EMLIFCHAR10Assigned to domainALPHALIFNR
EXBWRExternally Entered Posting Amount in Local Currency EXBWRCURR13(2) WERT7
VKWRTValue at Sales Prices Including Value-Added Tax VKWRTCURR13(2) WERT7
AKTNRCOUPON WAKTIONCHAR10Assigned to domainALPHAWAKTIONWAK
ZEKKNSequential Number of Account Assignment DZEKKNNUMC2NUM02
VFDATShelf Life Expiration or Best-Before Date VFDATDATS8DATUM
CUOBJ_CHInternal object number of the batch classification CUOBJ_CHNUMC18CUOBJ
EXVKWExternally Entered Sales Value in Local Currency EXVKWCURR13(2) WERT7
PPRCTRPartner Profit Center PPRCTRCHAR10Assigned to domainALPHAPRCTRPPC
RSARTRecord type RSARTCHAR1RSART
GEBERFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
MATBFMaterial in Respect of Which Stock is Managed MATBFCHAR18Assigned to domainMATN1MATNR
UMMABReceiving/Issuing Material UMMATCHAR18Assigned to domainMATN1MATNR
BUSTMPosting string for quantities BUSTMCHAR4BUSTM
BUSTWPosting string for values BUSTWCHAR4BUSTW
MENGUQuantity Updating in Material Master Record MENGUCHAR1XFELD
WERTUValue Update in Material Master Record WERTUCHAR1XFELD
LBKUMTotal Valuated Stock LBKUMQUAN13(3) MENG13V
SALK3Value of Total Valuated Stock SALK3CURR13(2) WERT13N
VPRSVPrice control indicator VPRSVCHAR1VPRSV
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
DABRBZReference Date for Settlement DABRBEZDATS8DDAT
VKWRAValue at sales prices excluding value-added tax VKWRACURR13(2) WERT7
DABRZReference Date for Settlement DABRBEZDATS8DDAT
XBEAUPurchase order created at time of goods receipt XBEAUCHAR1XFELD
LSMNGQuantity in Unit of Measure from Delivery Note LSMNGQUAN13(3) MENG13
LSMEHUnit of Measure From Delivery Note LSMEHUNIT3Assigned to domainCUNITMEINS
KZBWSValuation of Special Stock KZBWSCHAR1KZBWS
QINSPSTStatus of Goods Receipt Inspection QINSPSTCHAR1QINSPST
URZEIOriginal line in material document URZEINUMC4MBLPOPOS
J_1BEXBASEAlternate base amount in document currency J_1BEXBASECURR13(2) WERT7
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
EMATNMaterial Number Corresponding to Manufacturer Part Number EMATNCHAR18Assigned to domainMATN1MATNRHTN
J_1AGIRUPDGoods issue revaluation performed J_1AGIRUPDCHAR1J_1AGIRUPD
VKMWSTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
HSDATDate of Manufacture HSDATDATS8DATUM
BERKZMaterial Staging Indicator for Production Supply BERKZCHAR1LVS_BERKZ
MAT_KDAUFSales Order Number of Valuated Sales Order Stock MAT_KDAUFCHAR10Assigned to domainALPHAVBELNAUN
MAT_KDPOSSales Order Item of Valuated Sales Order Stock MAT_KDPOSNUMC6NUM06KPO
MAT_PSPNRValuated Sales Order Stock WBS Element MAT_PSPNRNUMC8Assigned to domainKONPRPS_POSNR
XWOFFCalculation of val. open XWOFFCHAR1XFELD
BEMOTAccounting Indicator BEMOTCHAR2Assigned to domainBEMOT
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
BUDGET_PDFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER

Key field Non-key field



How do I retrieve data from SAP table MWZMSEG using ABAP code

The following ABAP code Example will allow you to do a basic selection on MWZMSEG to SELECT all data from the table
DATA: WA_MWZMSEG TYPE MWZMSEG.

SELECT SINGLE *
FROM MWZMSEG
INTO CORRESPONDING FIELDS OF WA_MWZMSEG
WHERE...

How to access SAP table MWZMSEG

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