Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP code for calculation rule in TK = M/08

Former Member
0 Likes
337

Hi,

In M/08 transaction, we need the following:

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.

Hi,

In M/08 transaction, we need the following:

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.

1 REPLY 1
Read only

Former Member
0 Likes
307

Irrelevant