cancel
Showing results for 
Search instead for 
Did you mean: 

SCM-DP User exit Macro

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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