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

Order lock issue

Former Member
0 Likes
678

Hi,

Though I am working on Web Dynpro for ABAP application, I think the problem I am facing is more related to ABAP/Basis.

I am executing some FMs and BAPIs one after the other in a method of WDA. Sometimes when I execute the application, I am getting the error Order XXX is already being processed by ERP_RFC. The error is appearing randomly. Most of the time application is running as expected.

I have logged in to the system through my ID and not through 'ERP_RFC'. I want to know when exactly (in which FM/BAPI) any order is getting processed/locked by 'ERP_RFC' and how to avoid this? Can somebody through some light on this issue?

Thank you.

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
637

It sounds as if you are not fully aware of what's going on in your system. ERP_RFC could well be a technical user that is used for automated processes like updating (sales or purchase?) orders, e.g. availability dates or the likes.

A lock message is quite normal in a busy system, there could be another user already working on the same document.

Wait your turn and try again

Thomas

4 REPLIES 4
Read only

Former Member
0 Likes
637

Check with your basis if any user ERP_RFC has been created for any RFC connection

Read only

ThomasZloch
Active Contributor
0 Likes
638

It sounds as if you are not fully aware of what's going on in your system. ERP_RFC could well be a technical user that is used for automated processes like updating (sales or purchase?) orders, e.g. availability dates or the likes.

A lock message is quite normal in a busy system, there could be another user already working on the same document.

Wait your turn and try again

Thomas

Read only

0 Likes
637

Is there any way to unlock the locked order or do I need to use wait statement till the order gets released?

Read only

0 Likes
637

Hi,

You need to wait till the lock gets cleared.

Regards,

Nagaraj