CKMLBB_AGGREGATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program reads the material ledger totals records (table MLCD) and aggregates the data, in order to calculate the total receipt quantity and receipt value for each period...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter CKMLBB_AGGREGATE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
CKMLBB_AGGREGATE - Calculate Periodic Receipt Values
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selection Text: S_WERKS = D .
Selection Text: S_VBELN = D .
Selection Text: S_PSPNR = D .
Selection Text: S_POSNR = D .
Selection Text: S_POPER = D .
Selection Text: S_MATNR = D .
Selection Text: S_BWTAR = D .
Selection Text: S_BDATJ = D .
Selection Text: P_VARIAN = D .
Selection Text: P_BUKRS = D .
Title: Calculate Periodic Receipt Values
Text Symbol: S04 = FIFO Variant
Text Symbol: S03 = Detailed Selection
Text Symbol: S02 = Show/Hide Detail Selection
Text Symbol: S01 = Selection
Text Symbol: 023 = Materials have been Processed
Text Symbol: 022 = FIFO Costing Variant:
Text Symbol: 021 = The following currency and valuation types are processed:
Text Symbol: 020 = All currency and valuation types are processed
Text Symbol: 019 = Selection Parameters:
Text Symbol: 018 = Multilevel Price Differences Included in Calculation
Text Symbol: 017 = Exchange Rate Differences Included in Calculation
Text Symbol: 016 = Key Figure Scheme:
Text Symbol: 015 = Value Structure Type:
Text Symbol: 014 = Fiscal Year:
Text Symbol: 013 = Posting Period:
Text Symbol: 012 = Valuated Project Stocks are Selected
Text Symbol: 011 = Valuated Sales Order Stocks are Selected
Text Symbol: 009 = Val.Ass. Type:
Text Symbol: 008 = Material Number
Text Symbol: 007 = Company Code:
Text Symbol: 006 = Plant
Text Symbol: 005 = Periodic Totals Records Were Created or Changed
Text Symbol: 001 = Time Frame
INCLUDE CKMLBB_SELECT_OBJECTS.
INCLUDE CKMLBB_SELECT_VARIANT.
No SAP DATABASE tables are accessed within this REPORT code!
CKMLBB0_GET_FIFO_VARIANT CALL FUNCTION 'CKMLBB0_GET_FIFO_VARIANT' EXPORTING i_fifovar = p_varian IMPORTING o_fifo_variant = ls_variant.
CKMLBB0_AGGREGATE CALL FUNCTION 'CKMLBB0_AGGREGATE' EXPORTING i_bukrs = p_bukrs ir_matnr = gr_matnr ir_werks = gr_werks ir_bwtar = gr_bwtar ir_vbeln = gr_vbeln ir_posnr = gr_posnr ir_pspnr = gr_pspnr i_varian = p_varian ir_bdatj = gr_bdatj ir_poper = gr_poper IMPORTING et_statistics = lt_statistics e_mats_all = mats_all e_periods_all = periods_all.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.