OII_MSEG_LINE SAP (Transfer structure for material doc. analysis) Structure details

Dictionary Type: Structure
Description: Transfer structure for material doc. analysis




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




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

OII_MSEG_LINE 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 "Transfer structure for material doc. analysis" 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_OII_MSEG_LINE TYPE OII_MSEG_LINE.

The OII_MSEG_LINE table consists of various fields, each holding specific information or linking keys about Transfer structure for material doc. analysis data available in SAP. These include MJAHR (Material Document Year), ZEILE (Item in Material Document), BWART (Movement Type (Inventory Management)), MATNR (Material Number).. 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 OII_MSEG_LINE 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
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
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
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
XAUTOIndicator: Line item automatically created XAUTOCHAR1XFELD
INSMKStock Type MB_INSMKCHAR1MB_INSMK
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
BUSTMPosting string for quantities BUSTMCHAR4BUSTM
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
OIB_TIMESTAMPTank dip time stamp OIB_TMSTMNUMC14OII_TIMEST
BUDATPosting Date in the Document BUDATDATS8DATUM
OIB_BLTIMEPosting time in the document OIB_BLTIMETIMS6TIMES
MENGE_VQuantity OIIC_DIP_MENGE_DQUAN13(3) MENG13V

Key field Non-key field



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

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

How to access SAP table OII_MSEG_LINE

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