on 11-19-2008 3:07 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your input. This helped me solve the problem.
Regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.