on 11-29-2011 4:26 PM
A WDA application runs under a service account. How to get the real userid (i mean, the human user)?
When running as a service user, the application is anonymous. In other words no user authentication or identification takes place. What kind of "real" user information would you expect to get? Are you running in the NetWeaver Portal? Or standalone? What informaiton are you looking for? Of course nothing within ABAP is going to be able to "see" the real user since the user session is running as the service account. Why exactly are you using a service user anyway? There are only very few instances where service users in WDA applications wouldn't be a violation of your license agreement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
Thank you for your time on my issue.
The WDA application is run in NetWeaver Portal. I need log his/her operation along with his/her userid when someone logs on to the portal and run this application. It would be very easy if the WDA app is not run with a service user since we can use sy-uname. However, the WDA app is run under a service user we cannot use sy-uname here. Then my question is, how can I know who logged on to portal and ran this app?
The solution can be found at
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/008fc414-997f-2e10-3899-fd895ec8eb5e
Thank you guys for your time!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.