on 02-14-2012 6:14 PM
Hi all,
How to get user's Email address which is defined in SU01- communication, in WD Java?
i have used the following code
IWDClientUser clientUser = WDClientUser.getLoggedInClientUser();
if(clientUser != null) {
IUser user = clientUser.getSAPUser();
if(user != null) {
String eMailAddress = user.getEmail();
}
}
but it returns the email address which is maintained in the portal.
but for the same user no email address is defined in SU01- Communication.
my requirement is to check whether email is maintained in SU01 or not.
so i need code to get mail id of a user which is defined in SU01- communication
any suggestions will be rewarded high.
Thanks in advance.
Hi
standard BAPI available for user information in su01 : BAPI_GET_USER_DETAILS
create model based on this BAPI in nwds, give portal user name as input and execute, you will get email id from su01.
(creating model and executing, you will find good articles in sdn)
regards,
mahesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhu,
I think you need an RFC for this purpose, where you pass the user Id and the corresponding email address will be returned from R3.
Please sit down with the ABAP team to discuss the requirement.
Hope it helps.
Sattam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.