‎2009 Feb 25 2:01 AM
Hi All,
I have a requirment where in I need to simulate the sales order based on customer and material combinations and get the pricing related data to send it across to the customers.
I am using 'SD_ORDER_CREATE' or 'PRICING' function module to get the simulated prices.
However in my case program might get run for 17000 customers and each customer needs be simulated against 60 materials. This is causing the preformance issues.
basically we can not read the database tables for the prices, becasue simulation would be give us the exact pricing infomration. Hence use of function modules is must.
Can anyone tell me the better solutions to improve the performance.
Regards,
Sanjay
‎2009 Feb 25 7:55 AM
Hi,
Use BAPI_SALESORDER_SIMULATE .
Hope this helps you
Regards,
Amitteja
‎2009 May 15 1:02 AM
‎2009 May 15 2:10 PM
Please provide an updated status if a solution was found. I encountered the same concern while running ORDER_CREATE_WWW. I tried to use the SALEORDER_SIMULATE but it did not have all the fields required for my pricing determination.
Why would the SIMULATION work better than the ORDERCREATE BAPIs?
‎2009 Nov 03 5:06 PM
Issue resolved.
I used the FM PRICING which served my problem. Howver it was giving performance issue. So, I used "PRICING_REFRESH' before calling 'PRICING'.