‎2009 Jan 09 4:43 AM
Hi friends,
I am using function module BAPI_SALESORDER_CREATEFROMDAT2 for sales order creation. We are having one condition ZDIF as header and item condition. When we are entering the data in ORDER_CONDITON table and executing the BAPI, then it is taking as item condition. I need to use this condition as header condition and should pick in header only. Please suggest the way how can I use it as a header condition only.
Kraheja.
‎2009 Jan 09 6:45 AM
Hi,
Conditions that you are entering in ORDER_CONDITIONS_IN is for items only and you need to enter the item conditions here .
And once your sales order is created with these conditions you will see that the header condition is also created with the total of the item conditions ...
For Example you have 2 items in your sales order.
Net Price of 1st item - 10,000 Rs
Net Price of 2nd Item - 40,000 Rs
THen Net Price in your header will be 50,000 .. that is 10,000 + 40,000.
so just enter the item conditions in ORDER_CONDITIONS_IN . .