Application Development and Automation 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: 
Read only

BAPI - getting emails ?

Former Member
0 Likes
544

Hi All,

In my assignment , I want to send some notifications to outlook of users . As an input I have to provide users SAP login IDs and as an output I want their email ids .

For this purpose , I tried using BAPI_USER_GET_DETAILS, but not all users are authorized to display users , so have to avoid using this BAPI ..

Can anyone please suggest how to take care of getting emails corresponding to user login IDs...

All help will be highly appreciated...

Thanks

Priya

2 REPLIES 2
Read only

Former Member
0 Likes
481

Go to USR21 table. Pass user name to BNAME and get the address number in ADDRNUMBER.

Pass ADDRNUMBER to table ADR6 and get the email id in SMTP_ADDR field.

Regards,

Ravi kanth Talagana

Read only

Former Member
0 Likes
481

Hi,

use FM SSFH_PASSWORD_PROMPT .

Regards