‎2010 Apr 30 9:22 AM
Hi Experts,
I have price and price unit in my template. I use this to create sales order by using BAPI_SALESORDER_CREATEFROMDAT2. After the order is created, i see that there are two conditions in the conditions tab. Although this does not affect the total value, which is correct, it is not good to look at:). As per the pricing analysis, one condition is entered manually and the other is through info records. Is there any way to avoid this duplication? Below, is the example. The first condition has a yellow warning icon and second has a green icon, in the condition tab of the sales order.
Non-Active CnTy Name Amount Crcy Per
yellow icon ZPTK Price-TurnKey 10.00 USD 1
green icon ZPTK Price-TurnKey 10.00 USD 1
Thanks in advance.
‎2010 Apr 30 9:38 AM
If the pricing condition is determined automatically based on the info recrods, then don't fill this pricing condition data in "ORDER_CONDITIONS_IN" and "ORDER_CONDITIONS_INX" strucutes while calling the BAPI.
Regards
Vinod
‎2010 Apr 30 10:03 AM
HI Vinod,
Thanks for your reply. But the user would want to insert price regardless of condition records being present. Any other solution?
‎2010 Apr 30 10:47 AM
Have you tried to pass ORDER_CONDITIONS_INX-UPDATEFLAG = 'U' for this pricing condition ?
Regards
Vinod
‎2010 May 03 3:30 AM
‎2010 May 11 9:34 AM
The issue was resolved.
LOGIC_SWITCH-COND_HANDL = 'X'
LOGIC_SWITCH-PRICING should not be passed.
Currency in conditions .
This helped me resolve the issue.