Hi Prabhat,
In macros, the KFs are identified by their sequence in the planning book or data view.
So, whenever you copy the macros or changing the sequence of KF in the planning, we must be very careful to adjust the macros accordingly.
Regards,
Manimaran M.