cancel
Showing results for 
Search instead for 
Did you mean: 

Pricing Conditions Alternate to each other.

Former Member
0 Kudos

Hi,

Lets say i have two conditions

ZPR1

ZPR2

The validation of ZPR2 depends on ZPR1, i.e. if ZPR1 is automatically determined in sales order, then ZPR2 should not be determined in the pricing calculation. If ZPR1 is not determined in sales order, then ZPR2 should be determined.

how can i achieve it?????

I hope I have cleared the point.

thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Requirement is quite simple one.

Goto VOFM>requirement>pricing.

Write a routine such that

read "xkomv" structure and search ZPR1,

if found

make sy-subrc =4

else

sy-subrc =0.

end if.

Assign this routine to ZPR2 in pricing procedure.

try and revert.

P.S. you may require ABAPer.

Edited by: Yadav on Dec 14, 2009 3:20 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can try standard condition exclusion concept.

Assign both this conditions to two differenent exclusion groups.

Assign these groups withing pricing procedure (keep exclusion proceduer as D)

Try & revert.

Regards

Sanjay

Former Member
0 Kudos

But to achieve the same , there would be some minimum requirements which might be different for both the Condition Types..

As per those requirements , maintain the Condition record which helps you determine one of them in the Sales order.

Else if requirements are same for both the Condition types ,then ask your ABAPer to maintain the same logic as mentioned by you in the User Exit.

Best Regards,

Ankur