OII_MSEG_LINE SAP (Transfer structure for material doc. analysis) Structure details
Description: Transfer structure for material doc. analysis
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 |
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
ZEILE | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
BWART | Movement Type (Inventory Management) | BWART | CHAR | 3 | Assigned to domain | BWART | BWA | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
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 | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
XAUTO | Indicator: Line item automatically created | XAUTO | CHAR | 1 | XFELD | ||||
INSMK | Stock Type | MB_INSMK | CHAR | 1 | MB_INSMK | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
BUSTM | Posting string for quantities | BUSTM | CHAR | 4 | BUSTM | ||||
MAT_KDAUF | Sales Order Number of Valuated Sales Order Stock | MAT_KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
MAT_KDPOS | Sales Order Item of Valuated Sales Order Stock | MAT_KDPOS | NUMC | 6 | NUM06 | KPO | |||
MAT_PSPNR | Valuated Sales Order Stock WBS Element | MAT_PSPNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
OIB_TIMESTAMP | Tank dip time stamp | OIB_TMSTM | NUMC | 14 | OII_TIMEST | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
OIB_BLTIME | Posting time in the document | OIB_BLTIME | TIMS | 6 | TIMES | ||||
MENGE_V | Quantity | OIIC_DIP_MENGE_D | QUAN | 13(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 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