cancel
Showing results for 
Search instead for 
Did you mean: 

Portal User Details-Additional Information

Former Member
0 Kudos

Hello Friends,

I need to access portal user details, I have gone through forum and got info how to get user id, ( so far I also implemented )..but my problem is to get the Portal user ->additional information and then field position....

userid I have got while setting following in ivews application parameter

iv_userid=<User.LogonUid>

I need to konw from where comes this USER class ( how I can see remaings fields of user class to access the position ) ?

Hope I am clear ,

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

ChrisPaine
Active Contributor
0 Kudos

Hello Shah H,

what I'm not clear on is how this is related to Web Dynpro ABAP.

You've referenced portal iView parameters, so I could see that this post might make sense in a portal forum, but nothing to do with WDA.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello, At last I got the solution

thanks all for your input and help...

Regards,

dao_ha
Active Contributor
0 Kudos

Hi Shah,

It should work assuming that the data exists (not null) in the portal

Would you please share your solution to help others in the future? Thanks.

Best regards,

Dao

Former Member
0 Kudos

Try using <User.jobtitle>.

Former Member
0 Kudos

data: lv_userid type sy-uname.

lv_userid = sy-uname.

thanks!

PV

Former Member
0 Kudos

in this fourum I have got the answer for getting portal user id in wda, so that's why I have asked this queston here....

any hint how I can get the user details in WDA ?

Regards,

abhimanyu_lagishetti7
Active Contributor
0 Kudos

<User.xyz>: the value of the xyzattribute defined in the user profile.

(for example, <User.country> is mapped to the country attribute value that is stored in the user profile).

Available UME attributes:

<User.displayname>; <User.uniquename>; <User.firstname>; <User.lastname>; <User.salutation>; <User.jobtitle>; <User.department>; <User.email>;

Former Member
0 Kudos

hi Abhimanyu,

Where I can look for all defiend atributes of USER class ?

I tried with <USER.position>, but it did not work for me.... ( position is field under addiction information )...

Regards,

abhimanyu_lagishetti7
Active Contributor
0 Kudos

There is a list of available contexts and variables in this link https://cw.sdn.sap.com/cw/docs/DOC-15280

Thanks

Abhi

Former Member
0 Kudos

Hello Abhi,

This link does not help me as I cant find a clue , of how to find the additional information like positon for User.

Any suggestion ?

Regards,

dao_ha
Active Contributor
0 Kudos

Hi Shah,

Please refer to this link (and check the link "Logical attributes" in the last section of the page for supported attributes).

http://help.sap.com/saphelp_nw2004s/helpdata/en/d3/ab0b5decd045e482d0deae9f9c90d5/frameset.htm

Hope it helps.

Regards,

Dao

ChrisPaine
Active Contributor
0 Kudos

Hi Shah,

within your application you can use FM HR_GETEMPLOYEEDATA_FROMUSER.

This should provide you with most of the details that you could conceivable want about the user (without you having to worry about where they come from).

Hope this helps.

Chris

Former Member
0 Kudos

Hello Dao,

Thanks for providing me with link, well there is an attribute called 'position', but when I use User.position, then it did not work....

you have an idea how I can call this attribute ?

Regards,

Haider