Hello Team
We have a KF (Planned Production) and another KF (Revised Allocation).
We make changes in the KF Revised Allocation at each 9ALOCNO & 9AMATNR level.
But we want that after performing the changes, a macro should check the cumulative allocation for each 9AMATNR value againt its production.
If the total Production for each 9MATNR < total allocation of all 9ALOCNOs for that 9MATNR , it should change the cell color and also should not save the changed value. We faced two issues -
1) How to build a macro to compare Production for each 9MATNR with total allocation of all 9ALOCNOs for that 9MATNR?
2) How can we prevent saving of data based on this condition?
The macro is built as -
We tried with the "aggregation level" functionality at macro header level but it does not work as we need comparision of result at different aggregation levels.
Please support