‎2011 Sep 07 10:17 AM
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.
‎2011 Sep 07 10:29 AM
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
‎2011 Sep 07 10:27 AM
Check with your basis if any user ERP_RFC has been created for any RFC connection
‎2011 Sep 07 10:29 AM
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
‎2011 Sep 07 10:37 AM
Is there any way to unlock the locked order or do I need to use wait statement till the order gets released?
‎2011 Sep 07 10:40 AM
Hi,
You need to wait till the lock gets cleared.
Regards,
Nagaraj