2012 Sep 11 11:48 AM
Hello to all,
I have a somehow twisted issue with the SAP logon, I will describe in detail my situation so that you can understand it well. I have the following landscape, for the same user multiple SAP GUI loggons, from the same machine/computer aswell as from different computers, multiple web loggons (WebDynpro) and maybe some mobileApp loggons. My problem is that I want to know if for the same user I can get the information somehow that he is in the same loggon, off-course it doesn't matter how many sessions he opened, I am only interested if it is in the same loggon. I will also give a short example so that you get the right idea:
user1 logs in SAP GUI ...he opens n sessions
user1 logs in again in SAP GUI.....opens n sessions
user1 logs in from web when using a WebDynpro application
I want to have a way to determine if it is in the same login or not.
I have tried with the TH_USER_INFO to use the TID parameter but it gives back different values which don't help me too much or maybe I'm not using it right.
Anyway, any kind of information/help is welcomed.
Thank you,
Regards,
Nick.
2012 Sep 11 12:04 PM
Hi Nick,
TH_USER_INFO should work( With TID). I checked it just now and its is working fine. Only thing I am passing as import parameter is my user name.
Please check.
Regards,
R
2012 Sep 11 12:04 PM
Hi Nick,
TH_USER_INFO should work( With TID). I checked it just now and its is working fine. Only thing I am passing as import parameter is my user name.
Please check.
Regards,
R
2012 Sep 11 12:25 PM
Hello Roy,
You reply is correct, for the SAP GUI using the TH_USER_INFO is working fine but if you try to use it in a WebDynpro context then it is not reliable. I have tried it and it gives me different TID's each time I run the WD application. Maybe I am missing something or maybe I am don't have the right know-how regarding the web applications loggin sessions.
If you know of a way how to get the right information also from WebDynpro side would be great.
Also, another issue I forgot in the initial post is how can you identify a NWBC instance log on, do you have a unique ID or something ? I mean if you open the NWBC in the same area/window you can open other sessions, how do you identify the NWBC overall login session ?
Thank you,
Regards,
N.