EMSEG SAP (MMIM: Output Structure For General FM To Post Goods Movement) Structure details

Dictionary Type: Structure
Description: MMIM: Output Structure For General FM To Post Goods Movement




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




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_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
TABIXField defined as in SY-TABIX TABIX_DINT410TABIX
AZEILItem in Material Document MBLPONUMC4MBLPOPOS
YZEILItem in Material Document MBLPONUMC4MBLPOPOS
XZEILItem in Material Document MBLPONUMC4MBLPOPOS
MSGIDMessage Class SYMSGIDCHAR20Assigned to domainARBGB
MSGNOSystem Message Number MSGNOCHAR3Assigned to domainMSGNR
MSGTYMessage Type SYMSGTYCHAR1SYCHAR01
MSGV1Message Variable SYMSGVCHAR50SYCHAR50
MSGV2Message Variable SYMSGVCHAR50SYCHAR50
MSGV3Message Variable SYMSGVCHAR50SYCHAR50
MSGV4Message Variable SYMSGVCHAR50SYCHAR50
XMSGXCheckbox XFELDCHAR1XFELD
MBLPOItem in Material Document MBLPONUMC4MBLPOPOS
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
BNBTRDelivery costs in local currency BNBTRCURR13(2) WERT13N
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
UMZEIItem in Material Document MBLPONUMC4MBLPOPOS
UMDMBAmount in Local Currency DMBTRCURR13(2) WERT7
UMWAECurrency Key WAERSCUKY5Assigned to domainWAERSFWS
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
BSTMGPurchase Order Quantity BSTMGQUAN13(3) MENG13
BSTMEPurchase Order Unit of Measure BSTMEUNIT3Assigned to domainCUNITMEINS
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
VKWRTValue at Sales Prices Including Value-Added Tax VKWRTCURR13(2) WERT7
YCLASCheckbox XFELDCHAR1XFELD
UMYCLCheckbox XFELDCHAR1XFELD
E_CLASSClass number KLASSE_DCHAR18KLASSEKLA
E_UMCLAClass number KLASSE_DCHAR18KLASSEKLA
E_CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
E_UMCHAReceiving/Issuing Batch UMCHACHAR10Assigned to domainCHARG
KZBWAMovement type category KZBWACHAR2CHAR2
QINSPSTStatus of Goods Receipt Inspection QINSPSTCHAR1QINSPST
XWOFFCalculation of val. open XWOFFCHAR1XFELD
GLOBAL_COUNTERUnique number for one line MIGO_GLOBAL_COUNTERNUMC6NUMC6

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 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!