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

Problem with order locks

Former Member
0 Likes
576

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

3 REPLIES 3
Read only

Former Member
0 Likes
466

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

Read only

0 Likes
466

I have a custom transaction, thru which the order is being updated. i dont wanna go out of the custom transaction.

Regards

Divakar

Read only

0 Likes
466

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