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

Condition type price issue

Former Member
0 Kudos
227

Hello,

I have a item level condition type ZMAT. This condition type will be applicable when you order a material XXX with qty 5 and there will be 10% discount. Suppose we create an order with material XXX and qty 3, still this condition type ZMAT is appearing in condition tab with amount the discount amount as ZERO.

I don't want to appear this condition type in case if the material XXX is having qty less then 5 in an order. Please help me how to fix this issue.

Thanks,

Shreekant

1 REPLY 1
Read only

prasoon_sahay
Participant
0 Kudos
189

In your pricing routine, check if qty is less than 5 then set sy-subrc = 4.