Skip to Content
0
Former Member
Jul 01, 2009 at 06:02 AM

Newly created PERNR is locked till I log off from my webdynpro application

25 Views

Hi all,

I am sorry to cross post this thread in this forum. But I thought i would get some help here as I am not resolve this issue.

The issue is as follows

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 after the new PERNR is generated,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