‎2007 Mar 06 3:43 PM
Hi Experts,
I am trying to update a order thru bapi. if the order is open in standard transaction in change the bapi throw an error saying that 'the order is locked' , this is ok. but even when i exit the order from standard transaction and try to update thru bapi without exiting the program it still throws the same error saying that 'the order is locked' .
I wanted to know if there is any function module thru which i can refresh and the error doesnt occur when i exit the order in standard transaction.
Regards,
Divakar
‎2007 Mar 06 3:46 PM
Hi Diwakar,
Once you come out of the transaction, open the se38 editor once again and then run your program. If it still says that the order is locked, then it means the order is locked..:)
Regards,
Ravi
‎2007 Mar 06 3:56 PM
I have a custom transaction, thru which the order is being updated. i dont wanna go out of the custom transaction.
Regards
Divakar
‎2007 Mar 06 4:02 PM
Hi Diwakar,
A wild suggestion..i am not sure this will work...
try calling the BAPI_TRANSACTION_ROLLBACK fm 2nd time around and call the BAPI again...
btw...Which is the BAPI you are using to update the order ..?
Thanks,
Renjith