cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Logged-in user detail from solution Manager.

Former Member
0 Kudos

Hi to all,

How can i get details of a user who is logged in into SAP Solution Manager through my webDynpro application. I need to read some values from SAP Solution Manager. How could i do it?? Shall i need to call RFCs??

If anybody have idea please reply.

If anybody has some code please send it.

Points will be rewarded.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

lajitha_menon
Contributor
0 Kudos

Hi Pankaj,

What exactly do you mean by logged in to solution manager through web dynpro application?

You should be able to use RFC's to read any information you need. Have you used Adaptive RFC in any web dynpro applications? If not, I can send some help material links.

cheers,

LM

Former Member
0 Kudos

Pankaj,

Here is the code to get the logged in user in Web Dynpro.

//Get the current logged user information

IWDClientUser user = WDClientUser.getLoggedInClientUser();

IUser usr = user.getSAPUser();

String userId = usr.getUniqueName();

Regards,

Anand

Former Member
0 Kudos

Hi LM,

Thanks for reply, please send me the links that will be helpful for me.

The application which i am developing in webDynpro will be accessed through Browser, and not in EP. This application will be called from SAP Solution Manger. So i need to know who is the logged-in user, and is accessing the application.

Thanks;

Pankaj Kumar.