In Releases 3.0 and 3.1 macros were always calculated at the detailed level. In Release 4.0 this logic has changed. In background processing, the system now calculates the results at the planning level defined in the variant. In online processing, the system calculates the results in one of two ways:
The planning level at which you execute the macro affects the results, as the following example illustrates.
The planned sales values of your company are as follows:
Sales organization $ 100
Plants $50 $50
/ \ / \
Materials $10 $40 $20 $30
You record the following macro:
Scenario 1. You execute this macro at the sales organizational level and get the following result:
The total is 101. This total is disaggregated to the detailed level.
Scenario 2. You execute the macro at the material level (that is, the detailed level) and get the following result:
The results are aggregated to the total level. The total is 104.
If you wish the macro results to be calculated online at the detailed level, you must switch off the Aggr. planning indicator in the planning type. Any planing types that you created in Release 3.0 or 3.1 will have this indicator automatically switched on. To find out about the full functionality of this indicator, see its F1 Help.