EMSEG SAP (MMIM: Output Structure For General FM To Post Goods Movement) Structure details
Description: MMIM: Output Structure For General FM To Post Goods Movement
Structure field list including key, data, relationships and ABAP select examples
EMSEG 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 "MMIM: Output Structure For General FM To Post Goods Movement" 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_EMSEG TYPE EMSEG.
The EMSEG table consists of various fields, each holding specific information or linking keys about MMIM: Output Structure For General FM To Post Goods Movement data available in SAP. These include LINE_ID (Unique identification of document line), PARENT_ID (Identifier of immediately superior line), LINE_DEPTH (Hierarchy level of line in document), MAA_URZEI (Original Line for Account Assignment Item in Material Doc.).. 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 EMSEG 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 |
LINE_ID | Unique identification of document line | MB_LINE_ID | NUMC | 6 | MB_LINE_ID | ||||
PARENT_ID | Identifier of immediately superior line | MB_PARENT_ID | NUMC | 6 | MB_LINE_ID | ||||
LINE_DEPTH | Hierarchy level of line in document | MB_LINE_DEPTH | NUMC | 2 | MB_LINE_DEPTH | ||||
MAA_URZEI | Original Line for Account Assignment Item in Material Doc. | MAA_URZEI | NUMC | 4 | MBLPO | POS | |||
TABIX | Field defined as in SY-TABIX | TABIX_D | INT4 | 10 | TABIX | ||||
AZEIL | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
YZEIL | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
XZEIL | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
MSGID | Message Class | SYMSGID | CHAR | 20 | Assigned to domain | ARBGB | |||
MSGNO | System Message Number | MSGNO | CHAR | 3 | Assigned to domain | MSGNR | |||
MSGTY | Message Type | SYMSGTY | CHAR | 1 | SYCHAR01 | ||||
MSGV1 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV2 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV3 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
MSGV4 | Message Variable | SYMSGV | CHAR | 50 | SYCHAR50 | ||||
XMSGX | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
MBLPO | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
DMBTR | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
BNBTR | Delivery costs in local currency | BNBTR | CURR | 13(2) | WERT13N | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
UMZEI | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
UMDMB | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
UMWAE | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BSTMG | Purchase Order Quantity | BSTMG | QUAN | 13(3) | MENG13 | ||||
BSTME | Purchase Order Unit of Measure | BSTME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
VKWRT | Value at Sales Prices Including Value-Added Tax | VKWRT | CURR | 13(2) | WERT7 | ||||
YCLAS | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
UMYCL | Checkbox | XFELD | CHAR | 1 | XFELD | ||||
E_CLASS | Class number | KLASSE_D | CHAR | 18 | KLASSE | KLA | |||
E_UMCLA | Class number | KLASSE_D | CHAR | 18 | KLASSE | KLA | |||
E_CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
E_UMCHA | Receiving/Issuing Batch | UMCHA | CHAR | 10 | Assigned to domain | CHARG | |||
KZBWA | Movement type category | KZBWA | CHAR | 2 | CHAR2 | ||||
QINSPST | Status of Goods Receipt Inspection | QINSPST | CHAR | 1 | QINSPST | ||||
XWOFF | Calculation of val. open | XWOFF | CHAR | 1 | XFELD | ||||
GLOBAL_COUNTER | Unique number for one line | MIGO_GLOBAL_COUNTER | NUMC | 6 | NUMC6 |
Key field | Non-key field |
How do I retrieve data from SAP structure EMSEG using ABAP code?
As EMSEG 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 EMSEG as there is no data to select.How to access SAP table EMSEG
Within an ECC or HANA version of SAP you can also view further information about EMSEG 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