Resolving - SAPUser to Personal-Number to Email

Dart, Jocelyn jocelyn.dart at sap.com
Wed Jan 29 02:30:08 EST 2003


Hi Manoj,
Yes have a look at business object USR01DOHR method GetEmployee
- which links to the BAPI call Kjetil mentions.
You might consider adding the email address as a virtual attribute
of this object so that it is available to other workflows also.
Function module BAPI_USER_GET_DETAIL will retrieve the email address
in parameter ADSMTP from the user master based on the user id.
Or if you store the email address in subtype 10 of infotype 105 you could use
BAPI_EMPLCOMM_GETDETAILEDLIST (business object EMPLCOMM).
Regards,
        Jocelyn Dart
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"
SAP Australia
email: jocelyn.dart at sap.com
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
 
 
-----Original Message-----
From: Kjetil Kilhavn [mailto:kjetilk at statoil.com]
Sent: Tuesday, 28 January 2003 6:46 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Resolving - SAPUser to Personal-Number to Email
 
 
To find the employee number, use
BAPI_USR01DOHR_GETEMPLOYEE
 
The rest you have to figure out yourself. It depends on where you store the
address, but there are BAPIs to retrieve information for a user if you
store it in the user data.
--
Kjetil Kilhavn
 
 
 
 
 
                    manoj-rajan
                    <manoj-rajan at rocketm        To:     SAP-WUG at MITVMA.MIT.EDU
                    ail.com>                    cc:     (bcc: Kjetil Kilhavn)
                    Sent by: SAP                Subject:     Resolving - SAPUser  to Personal-Number to Email
                    Workflow
                    <Owner-SAP-WUG at MITVM
                    A.MIT.EDU>
 
 
                    27.01.2003 18:09
                    Please respond to
                    "SAP Workflow Users'
                    Group"
 
 
 
 
 
 
Hello,
 I am looking for a method or function module which will go fetch the
personal number and then the associated
e-mail-id based on the SAP User ID. Please advise.
Thank you,
Manoj
 
 
 
 
 
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
 


More information about the SAP-WUG mailing list