You are on page 1of 4

Define aggregation level for QMAG

Planning function 5: (using the above aggregation


with right filters - copy the

Planning function 6:
Filters : Read data from bo

c_th_Data

itab_tot_qty_p1 = c_Th_da
itab_tot_qty_p2 = c_Th_da

itab_data_ref = c_th_Data

loop at itab_data_Ref into

Planning function 7:

Price + volume + (sales & F


Mix = sales& fcp variance -
el for QMAG
sing the above aggregation level)
with right filters - copy the data from REF to QMAG

Filters : Read data from both REF & QMAG with right selections = Comparable & Outlier N

c_th_Data

itab_tot_qty_p1 = c_Th_data where info = QMAG and P1


itab_tot_qty_p2 = c_Th_data where info = QMAG and P2

itab_data_ref = c_th_Data where info = ref

loop at itab_data_Ref into wa_itab_p1 where p1

Step 1: Determine the P1 mix percentage


read itab_tot_qty_p1 into wa_tot_qty_p1 with key <<>>>
P1 mix % = wa_itab_p1-Quantity / wa_tot_qty_p1-quantity

Step 2: Determine the P2 quantity at P1 mix


P2 quantity at P1 mix = P1 mix % x Total quantity P2 at MAG level

read itab_tot_qty_p2 into wa_tot_qty_p2 with key <<>>>


p2_qty_p1mix = p1_mix_perc * wa_tot_qty_p2-quantity

Step 3: Determine the change in quantity between P2 quantity at P1 mix and P1 quantity
Change in quantity = P2 quantity at P1 mix – P1 quantity

change_in_qty = p2_qty_p1mix - (wa_itab_p1-quantity)

Step 4: Use the change in quantity to calculate the volume effect


Volume effect = change in quantity x P1 Unit price

Unit_p1 = wa_itab_p1-sales/wa_itab_p1-quantity
volume_Effect = change_in_qty * unit_p1

Price + volume + (sales & FCP variance) + Mix


Mix = sales& fcp variance - (price + volume)

You might also like