Former Member

### Calulate condition value by adding / substracting previous calculated conds

Hi gurus,

We need to calculate condition values only by adding / substracting previous calculated conditions, e.g:

ZPR0 --> calculated automatically

ZPR1 --> calculated automatically

CONDITION A = ZPR0 - ZPR1 --> Is it possible to set it somehow via standard? or a new routine development is required?

Thanks,

VL

10|10000 characters needed characters exceeded

Former Member
Mar 21, 2011 at 11:37 AM

Hi there is a standard routin available in alternative calculation. routine no = 80

you need to define ZPR0 and ZPR1 in following manner

Step No. Condition Type From to Cal. Routine

10 ZPRO

20 ZPR1 80

30 New Condition 10 20

10|10000 characters needed characters exceeded
• Former Member
Mar 21, 2011 at 11:10 AM

Yes,check below If ZPR0 is price and ZPR1 is discount,

you need define condition type ZPR1 in V/06 " Plus/minus" X means Negative, it will deduct.

In pri.pro, you need to place as below

10 ZPR0

20 ZPR1

30 Net price from 10 to 20

10|10000 characters needed characters exceeded
• Mar 21, 2011 at 11:14 AM

Hi Victor,

Please kindly inform whether zpr1 is a price condition or a discount/surcharge discount?

you can use subtotal column of the pricing procedure to add conditions but you will need a condition value routine (VOFM) to move the final value to the required condition type.

Thank you and best regards

10|10000 characters needed characters exceeded
• Former Member
Mar 21, 2011 at 04:58 PM

Hey Gurus,

To Ram:

ZPR0 is a price condition

ZPR1 is a condition calculated base on a Z routine

CONDITION A = ZPR1 - ZPR0 --> only difference of values (KWERT)

To Khaled:

The idea was to reduce number of routines....

To Dhiraj:

Issue is that according to your squema:

Step# Condition Type From to Cal Routine

10 XXXX

20 YYY AAA

30 ZZZZ

Step 20 is already using a routine..

Any idea?

Thanks,

VL