BMSEG SAP (Batch Input Structure: Material Movements) Structure details

Dictionary Type: Structure
Description: Batch Input Structure: Material Movements




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




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

BMSEG 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 "Batch Input Structure: Material Movements" 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_BMSEG TYPE BMSEG.

The BMSEG table consists of various fields, each holding specific information or linking keys about Batch Input Structure: Material Movements data available in SAP. These include TCODE (Transaction Code), BLDAT (Document Date in Document), BUDAT (Posting Date in the Document), XBLNR (Reference Document 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 BMSEG 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
MAPPESession name MAPPECHAR12MAPPE
TCODETransaction Code TCODECHAR20Assigned to domainTCODETCD
BLDATDocument Date in Document BLDATDATS8DATUM
BUDATPosting Date in the Document BUDATDATS8DATUM
XBLNRReference Document Number XBLNR1CHAR16XBLNR1
BKTXTDocument Header Text BKTXTCHAR25TEXT25
FRBNRNumber of Bill of Lading at Time of Goods Receipt FRBNR1CHAR16XBLNR1
WEVERVersion for Printing GR/GI Slip WEVERCHAR1WEVERWEV
LDESTLogical destination / printer name LDESTCHAR4LDESTPRI
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 INSMKCHAR1INSMK
ZUSCHBatch status key DZUSCHCHAR1ZUSCH
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
KDPOSSales Document Line Item (Batch Input Field) POSNR_VABICHAR6CHAR6
KDEINSchedule Line (Batch Input Field) ETENR_BICHAR4CHAR4
PLPLADistribution of Differences PLPLACHAR10PLPLA
ERFMGQuantity (Batch Input Field) MENGE_BICHAR17CHAR17
ERFMEUnit of Entry ERFMEUNIT3Assigned to domainCUNITMEINS
BPMNGQuantity (Batch Input Field) MENGE_BICHAR17CHAR17
BPRMEOrder Price Unit (Purchasing) BPRMEUNIT3Assigned to domainCUNITMEINS
EBELNPurchase Order Number BSTNRCHAR10Assigned to domainALPHAEBELNBES
EBELPLine Item Number of Purchasing Document (Batch Input Field) EBELP_BICHAR5CHAR5
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
SGTXTItem Text SGTXTCHAR50TEXT50
EQUNREquipment Number EQUNRCHAR18Assigned to domainALPHAEQUNREQNEQUI
WEMPFGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
ABLADUnloading Point ABLADCHAR25TEXT25
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
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
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
RSNUMNumber of reservation (batch input format) RSNUM_BICHAR10CHAR10RES
RSPOSItem number of reservation (batch input format) RSPOS_BICHAR4CHAR4RPO
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
UMZUSStatus key of transfer batch UMZUSCHAR1ZUSCH
UMBARValuation Type of Transfer Batch UMBARCHAR10Assigned to domainBWTAR
UMSOKSpecial Stock Indicator for Physical Stock Transfer UMSOKCHAR1Assigned to domainSOBKZ
WEANZNumber of GR/GI slips to be printed (batch input format) WEANZ_BICHAR3CHAR3
GRUNDReason for Goods Movement (Batch Input Format) GRUND_BICHAR4CHAR4
KONTOAccount number KONTOCHAR16ALPHAKTO16
EXWRTAmount in local currency (batch input field) DMBTR_BICHAR16CHAR16
XZGVHProcessing of certificate in procurement active XZGVHCHAR1QXZGVH
LGTYPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
LGPLAStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
PAOBJNRNumber for profitaility segments (CO-PA): batch input field PAOBJNR_BICHAR10CHAR10
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
PS_PSP_PNRProject account assignment: batch input field PS_PSP_BICHAR24CHAR24
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
AUFPLPlan no. for order operations: batch input field AUFPL_BICHAR10CHAR10
APLZLContinuous counter to distinguish DB entries: BI field APLZL_BICHAR8CHAR8
AUFPSNumber of order item: batch input field AUFPS_BICHAR4CHAR4
VPTNRPartner account number JV_PARTCHAR10Assigned to domainALPHAKUNNR
FIPOSCommitment Item FIPOSCHAR14Assigned to domainFIPOSFIP
EXVKWExternally entered sales value in local currency (BI field) EXVKW_BICHAR16CHAR16
MHDATSLED/Best-Before Date or Date of Production TMHHDDATS8DATUM
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
MTSNRNumber of External Material Slip MTSNR1CHAR16XBLNR1
XABLNGoods Receipt/Issue Slip Number XABLNCHAR10ALPHABELNR
SERNRSerial Number GERNRCHAR18GERNRGERNRSER
NO_CO_BLOCSuppression of account assignment block at batch input MM NO_CO_BLOCCHAR1XFELD
XSTORCheckbox XFELDCHAR1XFELD
LFBNRDocument No. of a Reference Document LFBNRCHAR10ALPHABELNR
LFPOSItem of a Reference Document LFPOSNUMC4MBLPO
LFBJAFiscal Year of a Reference Document LFBJANUMC4GJAHRGJAHR
BEMOTAccounting Indicator BEMOTCHAR2Assigned to domainBEMOT
VFDATShelf Life Expiration or Best-Before Date VFDATDATS8DATUM
HSDATDate of Manufacture HSDATDATS8DATUM
RSARTRecord type RSARTCHAR1RSART
VLIEFDelivery VBELN_VLCHAR10Assigned to domainALPHAVBELNVL
VBELPDelivery Item POSNR_VLNUMC6Assigned to domainPOSNR
PRZNRBusiness Process CO_PRZNRCHAR12Assigned to domainALPHACO_PRZNRKWP
LSTARActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY

Key field Non-key field



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

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

How to access SAP table BMSEG

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