cancel
Showing results for 
Search instead for 
Did you mean: 

How to map personal number of employee of ESS Portal to an web dynpro iView

Former Member
0 Kudos

Hi,

I have created an WebDynpro ABAP application which update an infotype. We have also created an Iview for this and integrated it into the ESS portal. How can I map the employee number (PERNR) of the logged in user to this iView/WebDynpro?

Thanks in advance!

Andreas

Accepted Solutions (1)

Accepted Solutions (1)

Madhu2004
Active Contributor
0 Kudos

Hi .

In the infotype 0105(communications) and for the subtype i.e system user...set your user id.

now in web dynpro call the function HRCA_GETEMPLOYEEDATA_FROMUSER to get the user details from the login id.

Regards,

Madhu

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks for your input. This helped me solve the problem.

Regards

Andreas

Former Member
0 Kudos

Well, you can find the employee number linked to the user ID from infotype 105 subtype 0001 (take a look into table PA0105). Just make a select to the table with sy-uname.

There are also plenty of standard function modules for your purpose. You just give the current user ID to them as import parameter, and they give you the employee information such as the employee number, name etc.. Just take a look in SE37 functions getemployee*, and you should find few useful functions.

Regards,

Karri