‎2017 May 29 10:32 AM - edited ‎2024 Feb 03 11:57 PM
I am using HR_FBN_GET_USER_EMAIL_ADDRESS to email address of users but this FM HR_FBN_GET_USER_EMAIL_ADDRESS dumps when email address is not maintained, normally test id sont have email address .
any another FM/API ?
Request clarification before answering.
Which value did you provide for REACTION parameter and/or did you set some EXCEPTIONS for ERROR_MESSAGE. Else try BAPI_USER_GET_DETAIL, this one shouldn't triogger any dump.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Volker,
Thanks but issue is not getting email , issue is it dumps when email id is not maintained .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Instead of using FM, you can find out email id from ADR6 and USR21 table.
data: bname type usr01-bname.
select Single usr21~bname into bname
from usr21
inner join adr6
on usr21~addrnumber = adr6~addrnumber
and usr21~persnumber = adr6~persnumber
where adr6~smtp_addr = YOU@YOURCOMPANY.COM'.
write:/ bname.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
usually email address is stored in infotype 0105 subtype 0010; so you could use HR_READ_INFOTYPE instead
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.