Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

A table contains user data.

Is there a table that contains User data(logon account).

At SU01->Address , There are 'Person' box.

I'm looking for a table contains those contents..

Thank you

Tags:
Former Member
replied

hi Seung,

have a look:

DATA : lv_name TYPE adrp-name_text,

lv_persnr TYPE usr21-persnumber.

  • User personal number

SELECT SINGLE persnumber

INTO lv_persnr

FROM usr21

WHERE bname EQ sy-uname.

  • User full name

IF sy-subrc EQ 0.

SELECT SINGLE name_text

INTO lv_name

FROM adrp

WHERE persnumber EQ lv_persnr.

ENDIF.

hope this helps

ec

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question