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

function-module

Former Member
0 Likes
502

Hi,

is there any function module which can convert the sap login id to email id.

Thanks & Regards

Syed

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
447

Hi there. Try function module HR_FBN_GET_USER_EMAIL_ADDRESS. Hope this helps.

- April King

4 REPLIES 4
Read only

Former Member
0 Likes
448

Hi there. Try function module HR_FBN_GET_USER_EMAIL_ADDRESS. Hope this helps.

- April King

Read only

Former Member
0 Likes
447

this should do it.

LWE_GET_EMAIL

Award Points if useful.

Regards,

Prince

Read only

Former Member
0 Likes
447

hi Syed,

you can get the userid from Table PA0105

userid = select USRID from table PA0105 where pernr = <nnnn> and subty = <b>'0001'</b>. (<u><i>inversily you get the pernr by select pernr from PA0105 where usrid = <usrid> and usrty = '0001', </i></u>)

emailid = select USRID from table PA0105 where pernr = <nnnn> and subty = <b>'0010'</b>.

Hope this helps,

Sajan.

you can use the functiond module

Read only

0 Likes
447

Thank Guys

Regarsds

Syed