cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro ABAP: How to get network login ID, from a webdynpro application?

Former Member
0 Kudos

Hi,

I have webdynpro application developed in ABAP. I would like to capture the network login ID (not SAP login ID), of whoever is opening the application. Is that possible and how?

Thanks,

Juwin.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Or you can build the BSP application as an entry point for you to get the network Id. In your BSP application put an IFRAME which calls the webdynpro application.

Former Member
0 Kudos

Hi,

Currently I have a BSP, and I am using the object of WScript.NetWork, to get the network ID. That method is not provided by SAP and people can hack it very easily. Hence I am searching for a better method.

Please look at this link (http://www.w3.org/Protocols/HTTP/HTRQ_Headers.html#from). The field I am looking for is "From". I looked the header fields in the http request in SAP and "From" doesn't appear in the request. Is there any configuration to be done, to activate the "From" field?

Thanks,

Juwin.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

There were some hacks in BSP that you could do using JavaScript that were IE specific. It didn't really work that well and certainly wouldn't translate to Web Dynpro's Client Independence model. Afterall, you wouldn't necessarily even have a network login ID if you were running the NetWeaver Business Client for your WD application.

You can always access the SAP ID (SY-UNAME). The best you could probably do is use some LDAP integration to do a reverse lookup from the SAP ID to the Network ID (assuming this information is stored in a central LDAP server). Nothing Web Dynpro specific here though.