on 09-12-2011 7:05 AM
Hi Experts,
Scenario : we are developing custom portal application, and we are not maintaining SSO.
if we maintain SSO, I can get pern from HR_GET_EMPLOYEES_FROM_USER. Function module. ( Because same portal user id will work as user id for SAP Server ).
now we are not maintaining portal SSO, so,how can i read the portal user id?
in the wddoinit method of my application, i have to write a piece of code, which will read Portal User id. So please let me know the ways to read portal user id in webdynpro?
Regards
Srinivas
Hi srinivas,
check my article : [How to integrate WDA in portal and capture portal Log On User ID|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/008fc414-997f-2e10-3899-fd895ec8eb5e]
hope this helps u.,
Thanks & Regards,
Kiran
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 use the below code to get the portal user in webdynpro abap :
1. go to HANDLEDEFAULT method of your main Window
2. in the parameters add userid type string
3. create a variable in Attributes tab of the component controller userid type string
4. code in the HANDLEDEFAULT method of the Window
wd_comp_controller->userid = userid.
5. now you can access userid in any method in the component.
Ask your portal admin, to create iView with parameter userid=<User.UserId>
Thanks
Ritushree
Edited by: Ritushree Saha on Sep 12, 2011 1:13 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.