IMREP_MSEG SAP (Structure for reporting material documents / inv. management) Structure details

Dictionary Type: Structure
Description: Structure for reporting material documents / inv. management




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
VGARTTransaction/Event Type VGARTCHAR2Assigned to domainVGART
BUDATPosting Date in the Document BUDATDATS8DATUM
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
USNAMUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
MAKTXMaterial Description (Short Text) MAKTXCHAR40TEXT40
MAKTGMaterial description in upper case for matchcodes MAKTGCHAR40CHAR40
NAME1Name NAME1CHAR30TEXT30
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
INSMKStock Type MB_INSMKCHAR1MB_INSMK
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
LIFNRVendor Account Number ELIFNCHAR10Assigned to domainALPHALIFNRLIFKRED_C
KUNNRAccount Number of Customer EKUNNCHAR10Assigned to domainALPHAKUNNRKUN
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
ERFMGQuantity in Unit of Entry ERFMGQUAN13(3) MENG13
ERFMEUnit of Entry ERFMEUNIT3Assigned to domainCUNITMEINS
BPMNGQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
BPRMEOrder Price Unit (Purchasing) BBPRMUNIT3Assigned to domainCUNITMEINS
EBELNPurchase Order Number BSTNRCHAR10Assigned to domainALPHAEBELNBES
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
SJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
SMBLNNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
SMBLPItem in Material Document MBLPONUMC4MBLPOPOS
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
SGTXTItem Text SGTXTCHAR50TEXT50
WEMPFGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
ABLADUnloading Point ABLADCHAR25TEXT25
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
PARGBTrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
PARBUClearing company code PARBUCHAR4Assigned to domainBUKRS
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
PROJNOld: Project number : No longer used --> PS_POSNR PROJNCHAR16PROJN
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
XRUEMAllow Posting to Previous Period (Backposting) XRUEMCHAR1XFELD
XRUEJIndicator: post to previous year XRUEJCHAR1XFELD
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
KZEARFinal Issue for This Reservation KZEARCHAR1XFELD
UMMATReceiving/Issuing Material UMMATCHAR18Assigned to domainMATN1MATNR
UMWRKReceiving/Issuing Plant UMWRKCHAR4Assigned to domainWERKS
UMLGOReceiving/Issuing Storage Location UMLGOCHAR4Assigned to domainLGORT
UMCHAReceiving/Issuing Batch UMCHACHAR10Assigned to domainCHARG
UMBARValuation Type of Transfer Batch UMBARCHAR10Assigned to domainBWTAR
UMSOKSpecial Stock Indicator for Physical Stock Transfer UMSOKCHAR1Assigned to domainSOBKZ
KZBEWMovement Indicator KZBEWCHAR1KZBEW
KZVBRConsumption Posting KZVBRCHAR1KZVBR
KZZUGReceipt Indicator KZZUGCHAR1KZZUG
WEUNBGoods Receipt, Non-Valuated WEUNBCHAR1XFELD
WEANZNumber of GR/GI Slips to Be Printed WEANZNUMC3NUM3
GRUNDReason for Movement MB_GRBEWNUMC4Assigned to domainMB_GRBEW
EVERSShipping Instructions EVERSCHAR2Assigned to domainEVERS
EVERECompliance with Shipping Instructions EVERECHAR2Assigned to domainEVERE
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
AUFPSOrder Item Number CO_POSNRNUMC4CO_POSNR
BSTMGGoods receipt quantity in order unit MB_BSTMGQUAN13(3) MENG13
BSTMEPurchase Order Unit of Measure BSTMEUNIT3Assigned to domainCUNITMEINS
EMLIFVendor to be supplied/who is to receive delivery EMLIFCHAR10Assigned to domainALPHALIFNR
EXBWRExternally Entered Posting Amount in Local Currency EXBWRCURR13(2) WERT7
VKWRTValue at Sales Prices Including Value-Added Tax VKWRTCURR13(2) WERT7
VFDATShelf Life Expiration or Best-Before Date VFDATDATS8DATUM
EXVKWExternally Entered Sales Value in Local Currency EXVKWCURR13(2) WERT7
PPRCTRPartner Profit Center PPRCTRCHAR10Assigned to domainALPHAPRCTRPPC
MATBFMaterial in Respect of Which Stock is Managed MATBFCHAR18Assigned to domainMATN1MATNR
UMMABReceiving/Issuing Material UMMATCHAR18Assigned to domainMATN1MATNR
BUSTMPosting string for quantities BUSTMCHAR4BUSTM
BUSTWPosting string for values BUSTWCHAR4BUSTW
MENGUQuantity Updating in Material Master Record MENGUCHAR1XFELD
WERTUValue Update in Material Master Record WERTUCHAR1XFELD
LBKUMTotal Valuated Stock LBKUMQUAN13(3) MENG13V
SALK3Value of Total Valuated Stock SALK3CURR13(2) WERT13N
VPRSVPrice control indicator VPRSVCHAR1VPRSV
VKWRAValue at sales prices excluding value-added tax VKWRACURR13(2) WERT7
LSMNGQuantity in Unit of Measure from Delivery Note LSMNGQUAN13(3) MENG13
LSMEHUnit of Measure From Delivery Note LSMEHUNIT3Assigned to domainCUNITMEINS
KZBWSValuation of Special Stock KZBWSCHAR1KZBWS
URZEIOriginal line in material document URZEINUMC4MBLPOPOS
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
PRZNRBusiness Process CO_PRZNRCHAR12Assigned to domainALPHACO_PRZNRKWP
LSTARActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
LLIEFSupplying Vendor LLIEFCHAR10Assigned to domainALPHALIFNRLLI

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