Skip to Content
0
Former Member
Jun 03, 2005 at 07:35 PM

Sap Username Infotype 0105

678 Views

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!