cancel
Showing results for 
Search instead for 
Did you mean: 

web portal user id passing to webdynpro abap

Former Member
0 Kudos

hello,

I would like to put webdynpro application link to my company portal.

so when user click on this link, i would like to take windows user id to webdynpro aba screen.

Could you please let me know the possibility, will web portal guys can send the used id to webdynpro abap threw URL parameters.

if yes, what steps i need to take care to create URL parameters. could you please give me the answer?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srinivas,

If your company's portal can capture User ID, you can append User ID as a parameter when calling the WebDynpro App URL. Check out this blog below:

http://scn.sap.com/community/abap/blog/2013/02/21/web-dynpro-abap-url-with-query-string

Hope it helps. Cheers!

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srinivas,

You can add an import parameter( user_id of type string ) to the HANDLEDEFAULT event handler of your window(interface view) which you have used to create your application.

Now while integrating the WDA application in your company portal pass the value of the user id through this application parameter and can retrieve the value with in HANDLEDEFAULT.

If it is SAP EP , you can retrieve the portal userid through User.LogonUid.

You can refer : http://help.sap.com/saphelp_nw2004s/helpdata/en/36/5e3842134bad04e10000000a1550b0/content.htm

Hope this helps.

Thanks

Sonia