on 02-25-2008 10:16 AM
How can have the email of a person with his id or name?
Thanks
Hello,
TO get the email ID from the User ID, you have to use the table USR21 and ADR6 tables.
SELECT SINGLE * INTO l_r_usr21 FROM usr21
WHERE bname = sy-uname.
SELECT SINGLE * INTO l_r_adr6 FROM adr6
WHERE addrnumber = l_r_usr21-addrnumber
AND persnumber = l_r_usr21-persnumber
AND date_from < sy-datum.
Cheers,
Vasanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Refer to this related thread
http://www.sapdev.co.uk/reporting/email/email_sapmail.htm
Regards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.