‎2010 Oct 22 7:48 PM
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
‎2010 Oct 22 9:01 PM
Try using is BAPI_SALESORDER_SIMULATE. you will get the results.
Nabheet
‎2010 Oct 22 9:01 PM
Try using is BAPI_SALESORDER_SIMULATE. you will get the results.
Nabheet
‎2010 Oct 22 9:51 PM
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.
‎2010 Oct 23 4:54 AM
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.