cancel
Showing results for 
Search instead for 
Did you mean: 

How to calculate difference between Two condition types

Former Member
0 Kudos

Hi,

can someone tell me, how to calculate difference between two condition types?

For example

I have two condition types

MDP0 (Management decided Price) it is not a cost,you can say minimum price and

PR00 (Base Price).

PR00 will always be greater than MDP0

I need to calculate the difference between PR00 - MDP0. on which i have to calculate sales commission.

So far i have taken condition MDP0 negative and instead of PR00 - MDP0, i have done PR00 + (- MDP0). hence the end result will be difference,rather than addition.

I have also taken a condition type ZCON to calculate the sales commission and made it -ve, so as the sales commission value will be +ve.

But the problem has arises when i am maintaining Dealer as a Partner at header level. Due Update type "C", in the user exits, it recalculate the vale and changes the value of condition type ZCON to -ve.

so my all logic failed.

Requesting you to simply help me to calculate PR00 - MDP0.

Requirement type 11 is not working as it is for Profit margin.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I removed the Update "C" from user exit.so no new pricing even after maintenance of Dealer.