SAP ABAP Data Element IM_IL_AGGREGATION_OVER_BATCHES (Aggregate Stock Data Across Batches)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-IM (Application Component) Inventory Management
     MB_INV_LOOKUP (Package) Stock Search
Basic Data
Data Element IM_IL_AGGREGATION_OVER_BATCHES
Short Description Aggregate Stock Data Across Batches  
Data Type
Category of Dictionary Type D   Domain
Type of Object Referenced     No Information
Domain / Name of Reference Type XFELD    
Data Type CHAR   Character String 
Length 1    
Decimal Places 0    
Output Length 1    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Batch Aggr 
Medium 15 Batch Aggregat. 
Long 20 Batch Aggregation 
Heading 17 Batch Aggregation 
Documentation

Definition

Specifies that the system also aggregates the stock data that is determined by the stock query across batches.

Use

If you query stock data broken down according to batches, you can set this indicator in order to make the system also provide the stock data in aggregated form, across batches. The aggregation is for all the queried stocks, including stocks at storage location level, special stocks, and stock commitments.

Dependencies

By setting the Aggregation Across Storage Locations and Aggregation Across Plants indicators, you can also aggregate the stock data across storage locations and plants.

For information about how the queried stock data (broken down or aggregated, if applicable) is made available, see the documentation for method GET of class CL_INVENTORY_LOOKUP.

Example

You run a stock query for stock data at storage location level for material M001 plant P001, and set the Break Down Into Storage Locations and Break Down Into Batches indicators. Plant P001 has storage locations SL01 and SL02. Material M001 has batches B001 and B002. First, the stock data for the following key combinations is determined:

Material    Plant    Storage Location    Batch   

M001    P001    SL01    B001   

M001    P001    SL01    B002   

M001    P001    SL02    B001   

M001    P001    SL02    B002   

If you set the indicator for aggregation across batches, the system also provides the stock data for the following key combinations:

Material    Plant    Storage Location

M001    P001    SL01

M001    P001    SL02

History
Last changed by/on SAP  20100310 
SAP Release Created in 700