on 12-12-2007 12:48 PM
Hi all,
I am use a IFRAME to show webgui ITS in my WDA.
It's work correct and all good. But when i press navigate link on leave this frame, i see in SM04 that session not shut down. And when i call FRAME again, new session created and my AUFNR is blocked by old session.
How can i destroy session when i call webgui transaction again?
App points for you.
Thanks!
Hi,
I had your same problem...
I resolved it (maybe) with these function module: TH_USER_LIST and TH_DELETE_USER.
Try to add this code in WDDOAFTERACTION method of your view (with iframe):
types:
T_UINFO type standard table of uinfo with default key .
data: lt_userlist type t_uinfo,
ls_user type line of t_uinfo.
Check user session
call function 'TH_USER_LIST'
TABLES
list = lt_userlist.
Kill current frame session
read table lt_userlist into ls_user with key TCODE = wd_this->tcode protocol = '1'.
if sy-subrc = '0'.
call function 'TH_DELETE_USER'
EXPORTING
client = sy-mandt
user = sy-uname
tid = ls_user-tid.
endif.
I hope to be helpful.
Edited by: Salvatore Giannotti on Dec 20, 2007 2:08 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andrey,
Try to add the following parameter to the service you are calling in SICF:
~SAPWP_ACTIVE = 1
Hope this will help you solve your problem.
Regards,
Jos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.