cancel
Showing results for 
Search instead for 
Did you mean: 

Get terminal user.

Former Member
0 Kudos

Hi Experts.

How to get a logged user on terminal to use in WebDynpro??

Tks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Tks a lot

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

System variable SY-UNAME (just like in any ABAP application) gives you the current logged on user.

Former Member
0 Kudos

Tks, but I need the logged user on Windows, or other system.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

There are no APIs in WD to retrieve that information. Normally from a web application you might write some JavaScript to retrive that information. However this JavaScript is not always good cross platform. In WD you can not code custom JavaScript. Someone might be able to post some example where you can use a surrounding application to lookup the informaiton and pass it into WD via URL parameter.

Former Member
0 Kudos

Tks