LinkedIn
RSS

Get user email from RH data in SAP

When sending one email, sometimes you use SY-UNAME as reference so this is the desired select:

select single usrid usrid_long  from pa0105
where pernr eq SY-UNAME
and subty eq 9003 (ASK HR Manager)
and begda le sy-datum
and endda ge sy-datum.

if usrid is empty use usrid_long

endselect.

And it’s this,

any doubts just post


One Response to “Get user email from RH data in SAP”

  1. SAP decision Makers Lists says:

    Ok OK, very good information

Leave a Reply