Skip to Content
0

SD PRICING - HEADER CONDITIONS

Apr 13, 2017 at 10:07 AM

272

avatar image

Dear community,

I am dealing with a requirement in which our customers asks us to create an automatic header condition that applies only at the header level. The condition is a surcharge and a fixed amount to apply if the total gross value of the sales order is lower than a certain threshold - for instance, being the threshold 100 €, if the gross value is 80 € the surcharge to apply will be 5 €.

We told him that that's not SAP standard as header conditions are manual (not access sequences) and are split or duplicated at an item level... and I am thinking about the right solution.

My approach now is to create TWO conditions (statistical, applying at header & position levels - threshold and surcharge). If "total gross value" > "threshold" => "surcharge" would apply <= these code would be written in routines affecting the respective conditions.

If one of the conditions applies, I would block the sales order with a "threshold reason" so that the user knows that she needs to add an additional item with value the statistical surcharge and amount 1.

I anticipate that he won't be happy with the solution but I don't have a better idea.

Would you please give me a different approach? What do you think about mine?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Shanthi Kumar Juluru Apr 13, 2017 at 12:46 PM
0

This should be possible by appending a header condition type and it's price manually to XKOMV table in USEREXIT_PRICING_PREPARE_TKOMK (MV45AFZZ). All the validations can be done by reading XKOMV table and then append header condition. I have not done this earlier but please give a try.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks for your comment Shanthi,

I keep you informed if I try it. Nevertheless it looks like my client will buy the "additional item" solution - if so, we will be done.

0
Robert Forster Apr 28, 2017 at 05:41 AM
0

Hi,

you can use header condition with formula and create a condition record for it.

BR

Share
10 |10000 characters needed characters left characters exceeded
David Rodríguez de Francisco Apr 28, 2017 at 12:55 PM
0

Hi there, thank you Shanthi and Robert for your answer. I think that it really looks to me like impossible to achieve it. I guess that I could get a header condition thru programming BUT I think it would be impossible for me to prevent the condition to be copied to the positions.

And, by the way, talking to our customer it looks like they tried to avoid a problem they are having in outbound deliveries and they thought they would avoid so... as they are probably not right everything needs to be studied again. So, I thank you very much again to you and close the thread.

Best Regards,

Share
10 |10000 characters needed characters left characters exceeded