Skip to Content
avatar image
Former Member

Header Condition types for selected customers in SAP

Dear Experts,

Need your expert opinion and advice on a topic which I am currently working. Please help if time spares.

Requirement: Today orders are created with Inbound Idocs in SAP. There is a new agreement between Business and the customers to avail discounts. Based on the agreement we have setup 2 header discount condition types Z000 and Z001 and assigned them to the pricing procedure and it works fine.

In addition to this there was a requirement to control application of these new conditions types based on the Sold to/Ship to which comes in the IDoc and creates Orders in SAP. We then set up a Ztable in SAP and maintained “Sold to /Ship to” and developed a Requirement Routine 900 which was supposed to compare the Sales order “Sold to/Ship to “ with the Ztable and if entries are there then allow the discounts to be applied for the orders.

Applying the Discount condition types which are in percentage works well when validation of Ztable entry matches but when we want to stop the discounts when the Ztable entry does not match the systems does not allow showing an error.

“Requirement not fulfilled for condition Z000” and the condition ends up turning red and since we are creating orders from IDocs the Sale order creation fails.

The requirement here is to find out on how we can ignore the condition type when the validation fails and create an order without the discounts applied. I am not able to achieve this with Requirement routine and wondering if I should do something with condition formula calculation rule.

The Condition types has been setup as mentioned below

Cond. class A Discount or surcharge Plus/minus positive a

Calculat.type A Percentage

Cond.category

Rounding rule Commercial

StrucCond.

GrpCond.routine 0

Manual entries C Manual entry has priority

I have tried changing the Manual Entries options to : No Limitations, Manual entry has Priority etc

Your inputs are highly appreciated. Thanks a lot to help.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers