Application Development 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: 

i have to show user information

former_member198900
Participant
0 Kudos

i know that i will get user name by system variable "sy-uname", but how do i get other information of that user like his telephone number, email address etc.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Atiul,

Check with the FM's

RSRA_USERS_OF_AGR_GET

CNV_GET_USER_ROLE

SO_CHECK_USER_ROLE

and in the BAPI_USER_GET_DETAIL

Export Parameters ADDRESS->E_MAIL, you will get the e-mail address of the USER.

hope these will help you.

Thanks

5 REPLIES 5

former_member205763
Active Contributor
0 Kudos

use this fm BAPI_USER_GET_DETAIL

Also check these tables USR01,USR02,USR03

Edited by: Kartik Tarla on Apr 12, 2009 12:04 PM

Former Member
0 Kudos

Hi Atiul,

Check with the FM's

RSRA_USERS_OF_AGR_GET

CNV_GET_USER_ROLE

SO_CHECK_USER_ROLE

and in the BAPI_USER_GET_DETAIL

Export Parameters ADDRESS->E_MAIL, you will get the e-mail address of the USER.

hope these will help you.

Thanks

Former Member
0 Kudos

hi Atiul Ehsan

try this Functional modules .

SUSR_USER_ADDRESS_READ

ADDR_PERS_COMP_COMM_GET

regards

chinnaiya P

Former Member
0 Kudos

Following are the tables related to user details.

Table Description

USR01 User master record (runtime data)

USR02 Logon data

USR03 User address data

USR04 User master authorizations

USR05 User Master Parameter ID

USR06 Additional Data per User

USR07 Object/values of last authorization check that failed

USR08 Table for user menu entries

USR09 Entries for user menus (work areas)

USR10 User master authorization profiles

USR11 User Master Texts for Profiles (USR10)

USR12 User master authorization values

USR13 Short Texts for Authorizations

USR14 Surchargeable Language Versions per User

USR30 Additional Information for User Menu

USH02 Change history for logon data

USH04 Change history for authorizations

USH10 Change history for authorization profiles

USH12 Change history for authorization values

UST04 User masters

UST10C User master: Composite profiles

UST10S User master: Single profiles

UST12 User master: Authorizations

Regards,

Lalit Mohan Gupta.

Former Member
0 Kudos
TH_USER_INFO " FM to give information about the current user (sessions, workstation logged in from, etc)

CALL FUNCTION 'BAPI_USER_GET_DETAIL'
  EXPORTING
    USERNAME             =
" IMPORTING
"   LOGONDATA            =
"   DEFAULTS             =
"   ADDRESS              =
"   COMPANY              =
"   SNC                  =
"   REF_USER             =
"   ALIAS                =
"   UCLASS               =
"   LASTMODIFIED         =
"   ISLOCKED             =
  TABLES
"   PARAMETER            =
"   PROFILES             =
"   ACTIVITYGROUPS       =
    RETURN               =
"   ADDTEL               =
"   ADDFAX               =
"   ADDTTX               =
"   ADDTLX               =
"   ADDSMTP              =
"   ADDRML               =
"   ADDX400              =
"   ADDRFC               =
"   ADDPRT               =
"   ADDSSF               =
"   ADDURI               =
"   ADDPAG               =
"   ADDCOMREM            =
"   PARAMETER1           =
"   GROUPS               =
"   UCLASSSYS            =
"   EXTIDHEAD            =
"   EXTIDPART            =
"   SYSTEMS              =

BAPI_USER_CHANGE " FM to change the attributes of a user

Regards,

Lalit Mohan Gupta.