cancel
Showing results for 
Search instead for 
Did you mean: 

pricing based on some conditions

Former Member
0 Kudos

Hi,

I have a condition Type 'ZDAN' which has to be pulled only if the following conditions are satisfied.

1. line items should be greater than one

2. reason for rejection field should be blank

3. item category should not be equal to TAN.

i have written the code in the pricing procedure -> requirements.

if all the above conditions satisfied then pull 'ZDAN' condition type

thensy-subrc = 0.

and if not satisfies

then sy-subrc = 4

but this code is not work

if i delete all the line items and retain one( does not do new pricing)

It does not do new pricing for any change i do on a sales order.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Gulab

This should work, if your coding is correct. Please take help of your ABAPer and try to debug the code and find out bug