on 04-22-2010 8:18 AM
Hi gurus,
I'm developing a WDA that is necessary to do an abap enqueue object of R/3 ( using HR_ENQUEUE_OBJECT function module), the problem is: if user press close button of the browser (cross) the release of the object is not being done and the HR object remains locked.
Is there any approach to provoke an unlock? where? how?
Thanks you guys! yoy are very helpful!
Edited by: vanbelal on Apr 22, 2010 9:19 AM
Hi,
You can try to unlock the using the DEQUEUE FM in the WDDOONCLOSE method of the window. This method is specifically for handling actions to be performed on window closing.
Regards
Runal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> You can try to unlock the using the DEQUEUE FM in the WDDOONCLOSE method of the window. This method is specifically for handling actions to be performed on window closing.
>
>
> Regards
> Runal
Thank you for the quick answer Runal, but the WDDOONCLOSE method is not being called when user close BROWSER, (Internet explorer as example).
The WDDONCLOSE method is only being executed when we are handling dialog window (as popups, external windows).
Any idea?
thank you again...
>
> Hi,
> maybe using TimedTrigger can solve this issue.
>
> Regards Jiri
Hi Jiri,
Can you explain a little bit more what is TimedTrigger? It depends on my WDA? It is a parameter of portal configuration?
Also, I've tried to put DEQUEUE on WDDOEXIT of the view, but the problem is that the dequeue should throw it when WDA it's being running on PORTAL. In fact, I've tried to execute WDA from R3 and the method is executed correctly, but not from Portal.
Thanks
I think perhaps you have a larger problem. It sounds like the session management isn't be called to destroy the session. Normally locks would be released without you having to call anything simply because the parent session is destroyed. If the WDDOEXIT isn't being called as well this is another symptom of the problem. Is your WDA running within any other framework? Another vendors portal perhaps?
Try unlocking in WDDOEXIT methodo of the view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.