on 04-15-2014 6:18 AM
Hi All,
I created a WDC and initialized some of the user data in the component controller WDDOINIT method. For testing purposes i am logging in with two different user id in the same system , when i execute the instance , the initialize method is only being called once for the first user. And strangely i am getting the data of the first user in the application instance of the second user.
I am using a tcode (WDYID and then the application name in se93) rather than URL for testing purposes.
can someone tell me what might be the issue ? or am i missing something here ?
Thanks.
Hi,
There are some restrictions with WDA in SAP GUI. Check the SAP Note: 989286 and 1098009.
hope this helps u,
Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Kiran.
Well now i do know there are many restrcitions if i try to run it with tcode.
Is there a way when set startapplication as BROWSER we can set that it always opens in a new session ?
In the browser we can set the settings through registry to open a new window always in a new session but is it possible if somehow we can set it in SAP to open browser in new session rather than new window.
Hi,
As said by Rama, definitely your WDDOINIT will be called irrespective of the way you calling for each instance.
Try to check that are you using any condition(If Clause) in your code.
BR,
RAM.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manoj,
When you run application ( either in WDYID or URL ), each time it creates a session and initialiazation of component happens accordingly irrespective of user id. i.e. even if you execute application for same user id in two different windows, the session is different and WDDONIT of component controller should trigger per instance.
Try to set external break point in WDDONIT and check if WDDONIT is called per instance of application run.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rama,
If i use the URL and create a new session, it is working fine.
Problem is when i use tcode the browser session is not opened in new session in the system and if i set Default as GUI even the the WDDOINIT method is only run once i.e. for the first user id who executed the application.
I have already set the breakpoints and saw that WDDOINIT is not getting triggered for the second user id.
Thanks.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.