Hi All,
I have created a webdynpro application to call an RFC using Adaptive RFC model. The RFC creates a PERNR with all the details provided from portal and returns PERNR number generated.
I am able to call the RFC successfully and PERN is also being returned. So far so good.
But if I try to edit the PERNR in backend using PA30,I get an error that PERNR is locked by the user accessing Webdypro Application.
The lock will be released only when I log off and log in again to the application
or When I refresh the application.
I tried using BAPI_EMPLOYEE_DEQUEUE to unlock the generated PERNR immediately after calling the RFC(which creates PERNR) but still the lock is not going to be released. Also I had my ABAPER written unlock PERNR statements with in the RFC.
Nothing works.
Please let me know if I am missing some thing...
Thanks
Santhosh