2007 Sep 11 11:48 AM
Hi,
After using the BAPI_SALESORDER_CHANGE to change the state of the sale order, the bapi works fine, the fields are changed with no problem but
fine one time on the second time it locks the sales order by my user.
Any idea why that's happening?
Thzs in advance to all
Regards
Jaime Cordeiro
2007 Sep 11 11:56 AM
try
COMMIT WORK AND WAIT.
after bapi call
also
use the following fm
FM ENQUEUE_READ
2007 Sep 11 12:20 PM
2007 Sep 11 12:12 PM
Hi,
The problem here is that you need to come out of the FM 'BAPI_SALESORDER_CHANGE' completely after executing it to change Sales order.
After executing the FM 'BAPI_SALESORDER_CHANGE' to change the sales order, just come back to the initial screen of SE37. This will remove the lock on the sales order and solve your problem.
Reward if helpful.
Regards,
Dilli
2007 Sep 11 12:38 PM
I've find the problem, the R/3 is connected to the CRM and the one that controls is the CRM ok i've got to change the order in CRM
Thzs to all
Best Regards
Jaime Cordeiro