on 06-03-2005 8:35 PM
Hello,
i wrote a report to extract HR Data. I#m looking for a way to extract the information about the corrsponding SAP user which is configured in infotype 0105 (sy-name). I defined the following passage in my coding, but that's the way to extract the last user who did changes in that infotype:
*sapUsername
attributes_wa-attr_tab = 'EMPLOYEE'.
attributes_wa-attr_field = 'SAPUSERNAME'.
if p0105-uname NE ' '.
attributes_wa-value = p0105-uname.
append attributes_wa to attributes.
else.
attributes_wa-value = ' '.
append attributes_wa to attributes.
endif.
What field i have to youse to extract the information about the corresponding user in infotype 0105?
Please help!
Hi,
The user who made the last change to a record is stored
in the UNAME field of that record.If you want an employees's SAP UserId,see field USRID with SUBTY/USRTY field as 0001.If you want an employee's other identities(e-mail/fax/phone etc.),look out for other subtypes.To see all possible subtypes,press F4 on USRTY field in PA0105.
Thanks,
Nikhil Phani Polepally
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
The field to refer for username in infotype 0105 is USRID for subty 0001..
Thanks,
Aditya
Message was edited by: Aditya Balijepalli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.