Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch Email address for the user in SU01

former_member199126
Participant
0 Kudos

Hi. My requirement is to fetch the email address(SU01) of the user name . I know that the email address is in  ADR6 table (SMTP_ADDR) and username in usr02 table(bname).. When i checked the usr02 table, it has relationships with TTZZ and USRGRP which is no way releated in fetching the email adress.

Do any one know how the relationships are maintained ???

2 REPLIES 2

former_member199126
Participant

BAPI_USER_GET_DETAIL ... Checking this FM solved the prob ....

former_member186052
Active Participant

Hi Karthik,

If you want the table relation.

Go to table USR21, fetch persnumber and addrnumber fields and pass them to ADR6 table.

You will get the email address.

Regards,

Sandeep