Skip to Content
0
Jan 24, 2008 at 07:33 PM

ABAP code for calculation rule in transaction M/08

194 Views

Hi,

In M/08 transaction, we need to do this:

When maintaining a PO, the user manually creates a condition like this:

ZXXX Value (+10 %) positive value.

However, in order to get the belonging negative condition (for accounting purpose), we need to automatically create that when the one above has been created:

Automatic at the same time:

ZYYY Value (- 10 %) negative value.

In transaction M/08 you can enter ABAP code to each condition in the calculation rule. How can I program that ZYYY is created at the same time as ZXXX, when created for a PO ?

Any help is appreciated.