Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding SD_ORDER_CREATE, performance issue.

koolsanjay83j
Explorer
0 Likes
957

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

4 REPLIES 4
Read only

Former Member
0 Likes
676

Hi,

Use BAPI_SALESORDER_SIMULATE .

Hope this helps you

Regards,

Amitteja

Read only

Former Member
0 Likes
676

This message was moderated.

Read only

Former Member
0 Likes
676

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?

Read only

0 Likes
676

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'.