MDIFF_MSEG SAP (Help Structure for Quantity Difference Handling in BORGR) Structure details
Description: Help Structure for Quantity Difference Handling in BORGR
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 |
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
ZEILE | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
VBELN | Delivery | VBELN_VL | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VL | |
POSNR | Delivery Item | POSNR_VL | NUMC | 6 | Assigned to domain | POSNR | |||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BLDAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
BWART_NEXT | Subsequent Movement Type (Inventory Management) | BWART_NEXT | CHAR | 3 | Assigned to domain | BWART | BWA | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
LFIMG | Actual quantity delivered (in sales units) | LFIMG | QUAN | 13(3) | MENG13 | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
GRUND | Reason for Movement | MB_GRBEW | NUMC | 4 | Assigned to domain | MB_GRBEW | |||
EBUMG | Quantity to Book In in SUn (Sales Unit) | EBUMG | QUAN | 13(3) | MENG13 | ||||
VBUMGX | GR-Posted Quantity in SUn | VBUMG | QUAN | 13(3) | MENG13 | ||||
COMPL_MARK | Completed indicator | COMPL_MARK | CHAR | 1 | XFELD | ||||
FZGLS_MARK | Do Not Adjust Cumulative Received Quantity | FZGLS | CHAR | 1 | XFELD | ||||
ETANP_MARK | Adjust Open Quantity in Scheduling Agreement Item | ETANP | CHAR | 1 | XFELD | ||||
POPUP_MARK | Display Dialog Box | POPUP | CHAR | 1 | KENZX | ||||
NOWAB | Indicator: Item Not Relevant for Goods Movements | NOWAB | CHAR | 1 | NOWAB | ||||
POSAR | Item type | POSAR | CHAR | 1 | POSAR | ||||
BUTTON | Selection Button | SEL_BUTTON | CHAR | 1 | CHAR01 |
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 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