Email ID of an User
How to find the Email id of an User.
I have user name in USR02-BNAME. I want to find the Email ID related to
that User-ID. From which table I can get these details?
is there any function module to get these details?
Please help me how to procede to find this.
Try to use
call function 'BAPI_USER_GET_DETAIL' exporting username = i_user-bapibname importing address = wa_address tables return = i_return. move wa_address-e_mail to wa_recipients-recipient.