05-14-2006 12:10 PM
I need to retreive the <b>email id</b> of the user which is maintinted in the user profile SU01 while the profile is being created,
I had tried to find it in the address master data but was not able to find,
Is there a FM to find required data .
Awaiting your answer.
Thanx in advance
05-14-2006 12:36 PM
Hi,
Use BAPI_USER_GET_DETAIL to get the EMAIL Address of the user, just pass the User ID.
Check the internal table ADDSMTP.
Please reward if it helps.
Regards,
Amit Mishra
05-14-2006 12:36 PM
Welcome to SDN
First get the address number and pers. number from table USR21 for a given user
and then
go to table ADR6 to get the eamil address of the user.
Regards
Raja
05-14-2006 12:40 PM
Hi,
Why don't you take the address number in t001-adrnr and go to table adrc?
take a look also on the function ADDR_GET_COMPLETE
rgds,
latheesh
05-14-2006 12:43 PM
Sushi whats to retreive the email id of the user and not company.
t001 stores company code details.
Regards
Raja
05-15-2006 6:25 AM
sorry guys i had jsut seen the forum now i am not able to find the reward buttons except for the solved on my own, sorry am not able to reward anyone currently