‎2006 Dec 22 9:06 AM
iSales document 0000064570 was not changed
|Object requested is currently locked by user
The sales document is not yet complete: Edit data
call function 'BAPI_SALESORDER_CHANGE'
exporting
salesdocument = i_vbeln
order_header_in = order_header_in
order_header_inx = order_header_inx
tables
return = ret1.
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = 'X'
importing
return = ret2.
‎2006 Dec 22 9:08 AM
See if anybody has opened the same sales order in any other session(VA02 or the same bapi ).
REgards,
ravi
‎2006 Dec 22 9:10 AM
Hello Manthira,
This error indicates that the Sales order 64570 is open for change by some other user. U can check in SM04 trx to c who has locked the sales order.
‎2006 Dec 22 9:11 AM
‎2006 Dec 22 9:11 AM
Hi,
Make sure that you didn't opened the VA02 in another session.
Check here for sample code.