MDIFF_MSEG SAP (Help Structure for Quantity Difference Handling in BORGR) Structure details

Dictionary Type: Structure
Description: Help Structure for Quantity Difference Handling in BORGR




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




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

MDIFF_MSEG 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 "Help Structure for Quantity Difference Handling in BORGR" 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_MDIFF_MSEG TYPE MDIFF_MSEG.

The MDIFF_MSEG table consists of various fields, each holding specific information or linking keys about Help Structure for Quantity Difference Handling in BORGR data available in SAP. These include MBLNR (Number of Material Document), ZEILE (Item in Material Document), VBELN (Delivery), POSNR (Delivery Item).. 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: Can be enhanced (character-type or numeric)


SAP MDIFF_MSEG 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
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
VBELNDelivery VBELN_VLCHAR10Assigned to domainALPHAVBELNVL
POSNRDelivery Item POSNR_VLNUMC6Assigned to domainPOSNR
BUDATPosting Date in the Document BUDATDATS8DATUM
BLDATDocument Date in Document BLDATDATS8DATUM
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
BWART_NEXTSubsequent Movement Type (Inventory Management) BWART_NEXTCHAR3Assigned to domainBWARTBWA
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
MENGEQuantity MENGE_DQUAN13(3) MENG13
LFIMGActual quantity delivered (in sales units) LFIMGQUAN13(3) MENG13
VRKMESales unit VRKMEUNIT3Assigned to domainCUNITMEINS
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
GRUNDReason for Movement MB_GRBEWNUMC4Assigned to domainMB_GRBEW
EBUMGQuantity to Book In in SUn (Sales Unit) EBUMGQUAN13(3) MENG13
VBUMGXGR-Posted Quantity in SUn VBUMGQUAN13(3) MENG13
COMPL_MARKCompleted indicator COMPL_MARKCHAR1XFELD
FZGLS_MARKDo Not Adjust Cumulative Received Quantity FZGLSCHAR1XFELD
ETANP_MARKAdjust Open Quantity in Scheduling Agreement Item ETANPCHAR1XFELD
POPUP_MARKDisplay Dialog Box POPUPCHAR1KENZX
NOWABIndicator: Item Not Relevant for Goods Movements NOWABCHAR1NOWAB
POSARItem type POSARCHAR1POSAR
BUTTONSelection Button SEL_BUTTONCHAR1CHAR01

Key field Non-key field



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

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

How to access SAP table MDIFF_MSEG

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