IMREP_MSEG SAP (Structure for reporting material documents / inv. management) Structure details
Description: Structure for reporting material documents / inv. management
Structure field list including key, data, relationships and ABAP select examples
IMREP_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 "Structure for reporting material documents / inv. management" 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_IMREP_MSEG TYPE IMREP_MSEG.
The IMREP_MSEG table consists of various fields, each holding specific information or linking keys about Structure for reporting material documents / inv. management data available in SAP. These include MBLNR (Number of Material Document), MJAHR (Material Document Year), VGART (Transaction/Event Type), BUDAT (Posting Date in the Document).. 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 (Deep)
SAP IMREP_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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
MBLNR | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
MJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
VGART | Transaction/Event Type | VGART | CHAR | 2 | Assigned to domain | VGART | |||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM | ||||
CPUTM | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
USNAM | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
MAKTX | Material Description (Short Text) | MAKTX | CHAR | 40 | TEXT40 | ||||
MAKTG | Material description in upper case for matchcodes | MAKTG | CHAR | 40 | CHAR40 | ||||
NAME1 | Name | NAME1 | CHAR | 30 | TEXT30 | ||||
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 | ||
INSMK | Stock Type | MB_INSMK | CHAR | 1 | MB_INSMK | ||||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
KUNNR | Account Number of Customer | EKUNN | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | KUN | |
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
KDEIN | Delivery Schedule for Sales Order | KDEIN | NUMC | 4 | NUM04 | ||||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
DMBTR | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
ERFMG | Quantity in Unit of Entry | ERFMG | QUAN | 13(3) | MENG13 | ||||
ERFME | Unit of Entry | ERFME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
BPMNG | Quantity in Purchase Order Price Unit | BPMNG | QUAN | 13(3) | MENG13 | ||||
BPRME | Order Price Unit (Purchasing) | BBPRM | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
EBELN | Purchase Order Number | BSTNR | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
SJAHR | Material Document Year | MJAHR | NUMC | 4 | GJAHR | GJAHR | MJA | ||
SMBLN | Number of Material Document | MBLNR | CHAR | 10 | ALPHA | BELNR | MBN | ||
SMBLP | Item in Material Document | MBLPO | NUMC | 4 | MBLPO | POS | |||
ELIKZ | 'Delivery Completed' Indicator | ELIKZ | CHAR | 1 | XFELD | ||||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
WEMPF | Goods Recipient/Ship-To Party | WEMPF | CHAR | 12 | WEMPF | ||||
ABLAD | Unloading Point | ABLAD | CHAR | 25 | TEXT25 | ||||
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
PARGB | Trading partner's business area | PARGB | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
PARBU | Clearing company code | PARBU | CHAR | 4 | Assigned to domain | BUKRS | |||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
PROJN | Old: Project number : No longer used --> PS_POSNR | PROJN | CHAR | 16 | PROJN | ||||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
ANLN1 | Main Asset Number | ANLN1 | CHAR | 12 | Assigned to domain | ALPHA | ANLN1 | AN1 | |
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
XRUEM | Allow Posting to Previous Period (Backposting) | XRUEM | CHAR | 1 | XFELD | ||||
XRUEJ | Indicator: post to previous year | XRUEJ | CHAR | 1 | XFELD | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
RSNUM | Number of Reservation/Dependent Requirement | RSNUM | NUMC | 10 | Assigned to domain | RSNUM | RES | ||
RSPOS | Item Number of Reservation/Dependent Requirement | RSPOS | NUMC | 4 | RSPOS | RPO | |||
KZEAR | Final Issue for This Reservation | KZEAR | CHAR | 1 | XFELD | ||||
UMMAT | Receiving/Issuing Material | UMMAT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
UMWRK | Receiving/Issuing Plant | UMWRK | CHAR | 4 | Assigned to domain | WERKS | |||
UMLGO | Receiving/Issuing Storage Location | UMLGO | CHAR | 4 | Assigned to domain | LGORT | |||
UMCHA | Receiving/Issuing Batch | UMCHA | CHAR | 10 | Assigned to domain | CHARG | |||
UMBAR | Valuation Type of Transfer Batch | UMBAR | CHAR | 10 | Assigned to domain | BWTAR | |||
UMSOK | Special Stock Indicator for Physical Stock Transfer | UMSOK | CHAR | 1 | Assigned to domain | SOBKZ | |||
KZBEW | Movement Indicator | KZBEW | CHAR | 1 | KZBEW | ||||
KZVBR | Consumption Posting | KZVBR | CHAR | 1 | KZVBR | ||||
KZZUG | Receipt Indicator | KZZUG | CHAR | 1 | KZZUG | ||||
WEUNB | Goods Receipt, Non-Valuated | WEUNB | CHAR | 1 | XFELD | ||||
WEANZ | Number of GR/GI Slips to Be Printed | WEANZ | NUMC | 3 | NUM3 | ||||
GRUND | Reason for Movement | MB_GRBEW | NUMC | 4 | Assigned to domain | MB_GRBEW | |||
EVERS | Shipping Instructions | EVERS | CHAR | 2 | Assigned to domain | EVERS | |||
EVERE | Compliance with Shipping Instructions | EVERE | CHAR | 2 | Assigned to domain | EVERE | |||
IMKEY | Internal Key for Real Estate Object | IMKEY | CHAR | 8 | IMKEY | ||||
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
NPLNR | Network Number for Account Assignment | NPLNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | NET | |
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
AUFPS | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
BSTMG | Goods receipt quantity in order unit | MB_BSTMG | QUAN | 13(3) | MENG13 | ||||
BSTME | Purchase Order Unit of Measure | BSTME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
EMLIF | Vendor to be supplied/who is to receive delivery | EMLIF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | ||
EXBWR | Externally Entered Posting Amount in Local Currency | EXBWR | CURR | 13(2) | WERT7 | ||||
VKWRT | Value at Sales Prices Including Value-Added Tax | VKWRT | CURR | 13(2) | WERT7 | ||||
VFDAT | Shelf Life Expiration or Best-Before Date | VFDAT | DATS | 8 | DATUM | ||||
EXVKW | Externally Entered Sales Value in Local Currency | EXVKW | CURR | 13(2) | WERT7 | ||||
PPRCTR | Partner Profit Center | PPRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PPC | |
MATBF | Material in Respect of Which Stock is Managed | MATBF | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
UMMAB | Receiving/Issuing Material | UMMAT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
BUSTM | Posting string for quantities | BUSTM | CHAR | 4 | BUSTM | ||||
BUSTW | Posting string for values | BUSTW | CHAR | 4 | BUSTW | ||||
MENGU | Quantity Updating in Material Master Record | MENGU | CHAR | 1 | XFELD | ||||
WERTU | Value Update in Material Master Record | WERTU | CHAR | 1 | XFELD | ||||
LBKUM | Total Valuated Stock | LBKUM | QUAN | 13(3) | MENG13V | ||||
SALK3 | Value of Total Valuated Stock | SALK3 | CURR | 13(2) | WERT13N | ||||
VPRSV | Price control indicator | VPRSV | CHAR | 1 | VPRSV | ||||
VKWRA | Value at sales prices excluding value-added tax | VKWRA | CURR | 13(2) | WERT7 | ||||
LSMNG | Quantity in Unit of Measure from Delivery Note | LSMNG | QUAN | 13(3) | MENG13 | ||||
LSMEH | Unit of Measure From Delivery Note | LSMEH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
KZBWS | Valuation of Special Stock | KZBWS | CHAR | 1 | KZBWS | ||||
URZEI | Original line in material document | URZEI | NUMC | 4 | MBLPO | POS | |||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
PRZNR | Business Process | CO_PRZNR | CHAR | 12 | Assigned to domain | ALPHA | CO_PRZNR | KWP | |
LSTAR | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
LLIEF | Supplying Vendor | LLIEF | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LLI |
Key field | Non-key field |
How do I retrieve data from SAP structure IMREP_MSEG using ABAP code?
As IMREP_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 IMREP_MSEG as there is no data to select.How to access SAP table IMREP_MSEG
Within an ECC or HANA version of SAP you can also view further information about IMREP_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