Skip to Content
avatar image
Former Member

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 14, 2008 at 08:12 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2008 at 03:08 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.