Skip to Content
0
Former Member
Sep 12, 2007 at 02:13 PM

Employee number in Master header

26 Views

Hi all,

My client wants to display the portal users' employee number next to his or her name in the portal masthead. A picture named 'employeenumber'.jpg is available on a local file system of the portal server. This also needs to be displayed in the portal masthead.

I've been thinking how to fix this:

-Call function module HRWPC_AP_GET_EMPLOYEE_FOR_USER, which gives me back employeenumber of portal user. Promblem is that I don't know how to call this RFC enabled function module from jsp. Also, this would trigger a lot of bapi calls when multiple logins occur.

-Create webservice from function module. This is an option, but I need the employeenumber as a variable to display photo using html img tag. Also SSO for webservices seems to be difficult.

-Copy database table PA105 and do a query....

Currently I'm stuck. Any help or suggestions would be greatly appreciated!