cancel
Showing results for 
Search instead for 
Did you mean: 

get portal user logon details from abap web dynpro

Former Member
0 Kudos

Hi all,

I am developing an abap web dynpro which will be added via an iview to our ees/mss portal. What i need to know is how do i get the current user logon details in my web dynpro! i.e. if a user is loged into the portal using personnel number 111111 i need to be able to capture this value so that i can retrieve hr data for this personel number! any information would be much appreciated!

Regards

Mart

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Mart,

You can pass "iv_user=<User.LogonUid>" as application parameter in iview.

add iv_user parameter in HANDLEDEFAULT method of default window of webdynpro component.

that's it.

when u run your webdynpro application, you can have value of portal logged on userid in iv_user.

hope this will help u a lot.

[Visit this thread|]

-Haresh Khandal

Former Member
0 Kudos

Excellent thanks very much for the replies, that has sorted my problem out a treat!

Mart

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I just answered a similar thread. Take a look:

Just get the employee details for example in the WDDOINIT of your component, and put them into your context (or attributes )of the component (or custom) controller.

Regards,

Karri