Dear All,
we have a requirement on Macro,
Condition:
Before executing macro I should check a Z-table for the satus of the completion of other process, if the status is in complete I should start my macro execution.
And in macro also I am checking a Z-table entry before execution of macro step for copying of key figures.
Deatila of condition:
IF
Z-Table1 entry=X
Start macro
IF
Z-Table2 entry=X
Copy
KF1 to KF2
To achieve this I am planning to user Badi/user exit Macro
Can any one please sand some example ABAP code to complete this macro (which will help me on how to read key figure values and how to write back to another key figure.)
Hoping for the helpful code
Nagaraju