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

BAPI_SAESORDER_CHANGE in simulation mode

Former Member
0 Likes
894

I am using BAPI_SALESORDER_CHANGE to change pricing date and therefore the price for a list of sales items. This is working correctly when I commit the results of the change. However, what I really need to do is first run in simulation mode to obtain the expected results from the price procedure without changing the sales items. Is it possible to obtain the detailed results of the simulation performed by the BAPI?

Edited by: David Snelgrove on Oct 22, 2010 8:51 PM

1 ACCEPTED SOLUTION
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
764

Try using is BAPI_SALESORDER_SIMULATE. you will get the results.

Nabheet

3 REPLIES 3
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
765

Try using is BAPI_SALESORDER_SIMULATE. you will get the results.

Nabheet

Read only

0 Likes
764

Try using is BAPI_SALESORDER_SIMULATE. you will get the results.

That's an old function and its limitations are well-documented in OSS, specifically regarding pricing issues. I prefer SD_ORDER_CREATE with the simulation mode - you'll get detailed results back.

Read only

Former Member
0 Likes
764

Thanks for the replies. I was hoping to use the same BAPI to do both the simulation and to perform the actual update after the users had an opportunity to review the results of the simulation. That way, I would have more confidence in getting the same results, However, it looks like I will have to use one of the suggested BAPI's for the simulation part of the effort.