on 05-27-2008 8:26 AM
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
Hi Raju,
This can also be achieved by creating a function module in se37. Call the same function module from the macro workbench (Edit->User Function). Check the argument value of the function module before copying the key figure values.
Regards,
Siva.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The user exit macro is available through the enhancement APODM005 (Tcode SMOD). The details on creating a user exit macro is available in the SAP Note: 418801
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.