AM07M SAP (Work Fields for Lists (Selection and Output)) Structure details

Dictionary Type: Structure
Description: Work Fields for Lists (Selection and Output)




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




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

AM07M 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 "Work Fields for Lists (Selection and Output)" 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_AM07M TYPE AM07M.

The AM07M table consists of various fields, each holding specific information or linking keys about Work Fields for Lists (Selection and Output) data available in SAP. These include MBLNB (Number of Material Document), MATNV (Material Number), MATNB (Material Number), WERKV (Plant).. 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 AM07M 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
MBLNVNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MBLNBNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MATNVMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
MATNBMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
WERKVPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
WERKBPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
RESWKSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4Assigned to domainWERKS
LGORVStorage Location LGORT_DCHAR4T001LLGORTLAG
LGORBStorage Location LGORT_DCHAR4T001LLGORTLAG
CHARVBatch Number CHARG_DCHAR10MCHACHARGCHA
CHARBBatch Number CHARG_DCHAR10MCHACHARGCHA
BUDAVPosting Date in the Document BUDATDATS8DATUM
BUDABPosting Date in the Document BUDATDATS8DATUM
LIFNRVendor Account Number ELIFNCHAR10LFA1ALPHALIFNRLIFKRED_C
SOBKZSpecial Stock Indicator SOBKZCHAR1T148SOBKZ
BWARTMovement Type (Inventory Management) BWARTCHAR3T156BWARTBWA
BLARTDocument Type BLARTCHAR2T003BLARTBAR
VGARTTransaction/Event Type VGARTCHAR2Assigned to domainVGART
XSELKCheckbox MB_XFELDCHAR1XFELD
IBLNVPhysical Inventory Document IBLNRCHAR10ALPHABELNRIBN
IBLNBPhysical Inventory Document IBLNRCHAR10ALPHABELNRIBN
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
ZSTATStatus of count DZSTATCHAR1ZSTAT
ZSTAXStatus of count DZSTATCHAR1ZSTAT
ZSTAAStatus of count DZSTATCHAR1ZSTAT
XZAELItem has been counted XZAELCHAR1XFELD
XZAEXItem has been counted XZAELCHAR1XFELD
XDIFFDifference posted XDIFFCHAR1XFELD
XLOEKItem is Deleted XLOEKCHAR1XFELD
XNZAEItem will be recounted XNZAECHAR1XFELD
GIDAVPlanned date of inventory count GIDATDATS8DATUM
GIDABPlanned date of inventory count GIDATDATS8DATUM
BUPEVPosting period in the form YYYYMM BUPERACCP6BUPER
BUPERPosting period in the form YYYYMM BUPERACCP6BUPER
BUPEBPosting period in the form YYYYMM BUPERACCP6BUPER
ZLDAVDate of last count DZLDATDATS8DATUM
ZLDABDate of last count DZLDATDATS8DATUM
RSTYPAccount assignment of reservation RSTYPCHAR1RSTYP
KONTIERUNGText (20 Characters) TEXT20CHAR20TEXT20
TEXTText, 40 Characters Long TEXT40CHAR40TEXT40
ABWTGLine Number DZEILENUMC3ZEILEPOS
HDLNEText, 40 Characters Long TEXT40CHAR40TEXT40
KOTXTText (20 Characters) TEXT20CHAR20TEXT20
PRTXTText editor text line TXLINECHAR72TXLINE
MAPPESession name MAPPECHAR12MAPPE
BATINCreate Batch Input Session BATINCHAR1XFELD
XLABSTUnrestricted-use stock XLABSTCHAR1XFELD
XINSMEStock in Quality Inspection XINSMECHAR1XFELD
XSPEMEBlocked Stock XSPEMECHAR1XFELD
XIMATPhysical Inventory Carried Out for This Material XIMATCHAR1XFELD
XICHAPhysical Inventory Carried Out for This Batch XICHACHAR1XFELD
XRUEJIndicator: post to previous year XRUEJCHAR1XFELD
SPERRPhysical Inventory Blocking Indicator SPERRCHAR1SPERR
MTARTMaterial Type MTARTCHAR4T134MTARTMTA
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
LGPBEStorage Bin LGPBECHAR10CHAR10
MAXPOMaximum Number of Items in Document MAXPONUMC5NUMC
MAXMAMaximum number of materials per physical inventory document MAXMANUMC5NUMC
NAME1Name 1 NAME1_GPCHAR35NAME
XPROTIssue Log XPROTCHAR1XFELD
BELPOSDocument number, item number compressed for GR/GI slip BELPOSNUMC14BELPOS
IWERTThreshold Value (As of Which Differences Are Displayed) IWERTCURR13(2) WERT7
DSNAMEName of file (dataset) when data copied/adopted MB_DSNAMECHAR50CHAR50
XTESTTest data for generation of batch input MB_XTESTCHAR1XFELD
LITXTText (20 Characters) TEXT20CHAR20TEXT20
LIBZGText (20 Characters) TEXT20CHAR20TEXT20
KZNEBTake By-Products Into Account KZNEBCHAR1KZNEBNEB
CSTUFEBatch where-used list: Level depth CSTUFECHAR10CSTUFE
MHDATSLED/Best-Before Date or Date of Production TMHHDDATS8DATUM
MHTXTText length 25 TEXT25CHAR25TEXT25
MHZTXText length 25 TEXT25CHAR25TEXT25
XDIFBPost inventory differences XDIFBCHAR1XFELD
XWAUFCheckbox - break down value-only material XWAUFCHAR1XFELD
SWBSTThreshold value for stock SWBSTQUAN13(3) MENG13
XNULBMaterials with zero stock XNULBCHAR1XFELD
KBUFIFreeze book inventory balance KBUFICHAR1XFELD
KBFRUReset frozen book inventory KBFRUCHAR1XFELD
SENEGNegative stocks SENEGCHAR1XFELD
SENULMaterials with zero stock SENULCHAR1XFELD
KGEBEValuation area level only KGEBECHAR1XFELD
ERWPRExtended Check for Split Valuation ERWPRCHAR1XFELD
SEEINSingle line SEEINCHAR1XFELD
SESUMTotals line SESUMCHAR1XFELD
XSALDBalance selection XSALDCHAR1XFELD
SWVKWThreshold limit for sales value of value-only materials SWVKWCURR13(2) WERT7
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
XUMKEExclude materials from selection XUMKECHAR1XFELD
LGBSTStorage loc./batch stock LGBSTCHAR1XFELD
BWBSTValuated stock BWBSTCHAR1XFELD
SBBSTSpecial stock SBBSTCHAR1XFELD
XCHRGMaterials handled in batches only XCHRGCHAR1XFELD
XONULMaterials without zero stock only XONULCHAR1XFELD
XVBSTChanged stock levels only XVBSTCHAR1XFELD
XNVBSUnchanged stock levels only XNVBSCHAR1XFELD
XSUMTotals only XSUMCHAR1XFELD
KNEGBMaterials with negative stock only KNEGBCHAR1XFELD
NAME2Name 1 NAME1_GPCHAR35NAME
LIBZ2Text (20 Characters) TEXT20CHAR20TEXT20
LEINFDisplay type of list of inventory differences LEINFCHAR1XFELD
AEDATDate on which the AMPL record was changed AEDAMDATS8DATS
XACCDELDelete tables ACCTHD, ACCTIT, ACCTCR XACCDELCHAR1CHECKBOX
MFRPNManufacturer Part Number MFRPNCHAR40CHAR40
P_MARICompile short documents P_MARICHAR1CHECKBOX
P_MARI2Delete short documents only P_MARI2CHAR1CHECKBOX
AR_FLAGRead documents from the database AR_FLAGCHAR1XRADI
AR_FLAG2Read short documents AR_FLAG2CHAR1XRADI
AR_FLAG1Display Archived Documents AR_FLAG1CHAR1XRADI
KSCHGTWithout bulk material KSCHGTCHAR1XFELD
DMYBGPhantom assemblies DMYBGCHAR1XFELD
MTVBSReturnable transport packaging MTVBSCHAR1XFELD
LGRLZRemaining shelf life: Warehouse LGRLZCHAR1XFELD
GSRLZTotal remaining shelf life GSRLZCHAR1XFELD
LHGUTReturnable packaging at customer LHGUTCHAR1XFELD
KUKNSConsignment stock at customer KUKNSCHAR1XFELD
RESESBlock Reservations Individually RESESCHAR1XFELD
RESTSBlock table of reservations RESTSCHAR1XFELD
RESNSDo not block reservations RESNSCHAR1XFELD
WAIT_GETWaiting time until next read attempt WAIT_GETINT410WAIT
WAIT_POWaiting time until next read attempt (PO/production order) WAIT_POINT410WAIT
WAIT_MATWaiting time until next read attempt / material WAIT_MATINT410WAIT
SPERRE_MATNo. of blocking attempts / material SPERRE_MATINT410WAIT
SPERRE_PONo. of blocking attempts (PO/production order) SPERRE_POINT410WAIT
XIWRKSelect all plants XIWRKCHAR1XFELD
XILVSDisplay WM storage locations XILVSCHAR1XFELD
XISAMCheck inventory sampling procedure XISAMCHAR1XFELD
LINOFPhys. inventory still to be executed LINOFCHAR1XFELD
LINAKPhys. inventory still to be closed LINAKCHAR1XFELD
LINVEPhys. inv. executed LINVECHAR1XFELD
LINWIPhys. inv. is active again LINWICHAR1XFELD
MW_SIZEPackage Size MW_SIZEINT410WAIT
MW_ERRORNo. of errors allowed MW_ERRORINT410WAIT
KO_SIZENo. of recds per insp.Operation KO_SIZEINT410WAIT
PER_DAYDisplay for exact days PER_DAYCHAR1XRADI
PER_PERIODDisplay by period PER_PERIODCHAR1XRADI
MAXVALUECalculation field for preventing field overflows MAXVALUEQUAN25(3) MENGEV13
NOSTONo reversal movements NOSTOCHAR1XFELD
KONSIDISPLAYDisplay consignment stocks KONSIDISPLAYCHAR1XFELD
MBVR_TESTLAUFPerform test run MBVR_TESTLAUFCHAR1XFELD
MIXKEEPHold processed sessions MIXKEEPCHAR1XFELD
MIXLGPBEStorage bin description MIXLGPBECHAR1XFELD
MIXGRUPPNew document MIXGRUPPCHAR1XFELD
MIXMATKLMaterial group MIXMATKLCHAR1XFELD
MIXSAVEGEnter grouping criterion in document header MIXSAVEGCHAR1XFELD
MIXSEITSuppress page break MIXSEITCHAR1XFELD
MISELKBPhys. inventory documents MISELKBCHAR1XFELD
MISELKPPhys. inventory items MISELKPCHAR1XFELD
MIXGVJAPrevious year MIXGVJACHAR1XFELD
MBP_WERTDisplay Prices and Values MBP_WERTCHAR1XFELD
MIXSOBKZDisplay special stocks MIXSOBKZCHAR1XFELD
MB53_AUTOSELECTAutomatic column selection MB53_AUTOSELECTCHAR1XFELD
MISORTSSort by special stock MISORTSCHAR1XFELD
XIPOSStatus of phys. inv. docmt item XIPOSCHAR1XFELD
PERCENTAGEPercentage share of return delivery PERCENTAGEDEC4(2) DECV2_2
MB5T_SELStock Transport Order Selection MB5T_SELCHAR1XFELD
DIFMG_RESDifference quantity for reservations DIFMG_RESQUAN13(3) MENGV13
FRLIFFreight vendor FRLIFCHAR10Assigned to domainALPHALIFNR
ANZIVMax. no. of items to be included ANZIVNUMC5NUMC
ALSO_ELIKZDisplay purchase orders with delivery completed too ALSO_ELIKZ_DCHAR1XFELD
ALSO_DELETEDDisplay deleted purchase orders too ALSO_DELETED_DCHAR1XFELD
MB5S_ZERODisplay items that have been cleared also MB5S_ZERO_DCHAR1XFELD
MAXKEEPAge of data record in days MAXKEEP_DINT25INT2
XSUMSTotals only (RM07MBST) ONLY_SUMCHAR1XFELD
IMMEDELEDelete selected data immediately IMMEDELE_DCHAR1XFELD
XMNULMaterials with zero stocks also XMNUL_DCHAR1XFELD
ACCOUAccount assignment of reservation RES_ACCOUNT_DCHAR22CHAR22
DABMGQuantity removed from reservation RES_DABMG_DQUAN13(3) MENG13
MB52_XSONDSpecial stock plant - Stock in stock transfer at plant level MB52_XSONDCHAR1XFELD
MB52_XMCHBDisplay batch stocks MB52_XMCHBCHAR1XFELD
MB52_NOVALDo not display values MB52_NOVALCHAR1XFELD
MB52_ALV_FLTGenerate Non-Hierarchical List MB52_ALV_FLTCHAR1XFELD
MB52_ALV_HSQGenerate Hierarchical List MB52_ALV_HSQCHAR1XFELD
MB5B_XONULOnly Materials with Stock or Goods Movements MB5B_XONULCHAR1XFELD
MB5OA_WIORAPurchase Order History with Origin Acceptance MB5OA_WIORACHAR1XFELD
MB5OA_NOORAPurchase Order History Without Origin Acceptance MB5OA_NOORACHAR1XFELD
MB5OA_WDTACDate of Origin Acceptance MB5OA_WDTACDATS8DATUM
MB5OA_WDTDLDate of Delivery After Origin Acceptances MB5OA_WDTDLDATS8DATUM
MB5OA_NDTGRDate of Delivery Without Origin Acceptances MB5OA_NDTGRDATS8DATUM
MB5OA_NDTRLDate of Release Without Origin Acceptances MB5OA_NDTRLDATS8DATUM
MB5OA_WI_STMaterials with Valuated Goods Receipt Blocked Stock MB5OA_WI_STCHAR1XFELD
MB5OA_NO_STMaterials Without Valuated Goods Receipt Blocked Stock MB5OA_NO_STCHAR1XFELD
MB5OA_KNTTPAlso Select Purchase Order Items with Account Assignment MB5OA_KNTTPCHAR1XFELD
MB5OA_WITHBAlso Select Completely Accepted Purchase Order Items MB5OA_WITHBCHAR1XFELD
MB5OA_BPRMEAlso Represent Quantities in Purchase Order Price Unit MB5OA_BPRMECHAR1XFELD
MB5OA_MEINSShow Quantities in Base Unit of Measure MB5OA_MEINSCHAR1XFELD
MIDO_PI_STATUSStatus of Physical Inventory for Relevant Stock Type MIDO_PI_STATUSCHAR3CHAR03
MB5B_XNOMCHBSelection of Batches Without MCHB Entries MB5B_XNOMCHBCHAR1XFELD
MB52_TRAUMLTotal Stock in Transit and in Transfer TRAUMLQUAN13(3) MENG13V
AR_POSArchiving of Point of Sale Documents AR_POSCHAR1XFELD
MB5T_SELCCCross-Company-Code Stock Transport Orders MB5T_SELCCCHAR1XFELD
MB5TD_SUMGenerate Totals List MB5TD_SUMCHAR1XFELD
MB5TD_SUM_VARILayout for Totals List MB5TD_SUM_VARICHAR12SLIS_VARI
MB5TD_HSQ_VARILayout for Hierarchical List MB5TD_HSQ_VARICHAR12SLIS_VARI
MB5TD_FLT_VARILayout for Non-Hierarchical List MB5TD_FLT_VARICHAR12SLIS_VARI
MSR_IDProcess Identification Number MSR_PROCESS_IDCHAR10ALPHAMSR_PROCESS_ID
MSR_ITEMItem Number MSR_PROCESS_ITEMNUMC6MSR_PROCESS_ITEM
RMA_CUSTOMERCustomer RMA Number MSR_CRMA_NRCHAR20MSR_RMA_NR
RMA_VENDORVendor RMA Number MSR_VRMA_NRCHAR20MSR_RMA_NR
MB51_SEL_MAASelect Purchase Order Items with Multiple Acct. Assignment MB51_SEL_MAACHAR1XFELD
MB51_SHARE_DMBTRProportional Amount in Local Currency MB51_SHARE_DMBTRCURR13(2) WERT7
MB51_SHARE_MENGEProportional Quantity in Purchase Order Unit MB51_SHARE_MENGEQUAN13(3) MENG13
MB51_SHARE_BPMNGProportional Quantity in Purchase Order Price Unit MB51_SHARE_BPMNGQUAN13(3) MENG13
ALSO_BLOCKEDDisplay Blocked Purchase Orders Also ALSO_BLOCKED_DCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table AM07M

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