cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

header condition distribution base on minimum price condition

suresh1987
Participant
0 Likes
769

Hi Team,

There is one requirement from client. There is one header discount condition ZX02- (fix amount) which distributed on line item level on base of net value. It is working fine. 

Now there is requirement that if any item has minimum price (PMIN) condition in that case discount(ZX02) amount for those lines should not be greater than difference of ( price - minimum price ) . Example Price(pr00) 1300 , Minimum Discount(PMIN) 1250, So in this case ZX02 not be greater then 50. Problem is that how we can achieve this. Further how another item (where PMIN not exist) ZX02  amount adjust to meet total discount amount. 
@SAPSupport 

Accepted Solutions (0)

Answers (2)

Answers (2)

jignesh_mehta3
Active Contributor
0 Likes

Hello Suresh, 

The Base Value for Calculation is the PR00 Value for the Item and from this the code need to subtract the PMIN Value. 

The result is the maximum possible discount for the Item. 

Thanks,  

suresh1987
Participant
0 Likes
Hi Jignesh , Again thanks for response. Yes i can get maximum possible discount. But facing problem who to get relevant base value to set this maximum possible discount. In condition base formula there is PR00 value , PMIN value , maximum possible discount , system calculated discount. I am unable to figure out how to get relevant base value with these information so system set only maximum discount for the item.
jignesh_mehta3
Active Contributor
0 Likes

Hello, 

I believe you will a new "Alternative Formula for Condition Base Value for Header Discount Condition ZX02. 

The Coding here will be a little complex and the method to distribute ZX02 to Items without PMIN will be based on Business Requirements. 

Thanks, 

suresh1987
Participant
0 Likes
Hi Jignesh,Thanks for response . I try with alternative base formula. But problem is that I have only exact value which I want to set. Like in above scenario I want 50 for for 2nd line where PMIN exist. But unable to figure out how I get exact base value for this.