cancel
Showing results for 
Search instead for 
Did you mean: 

Read Business Role of the Logged in user

Former Member
0 Kudos

Hi,

We have users who assigned to multiple business role.

When he logged into the system and selected any of the business role. How can we read his business role in the program.

Please help me in this regard.

Thanks

Naveen

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I got it on my own

Former Member
0 Kudos

what's your method?

former_member189678
Active Contributor
0 Kudos

You can use the FM SUSR_USER_AUTH_FOR_OBJ_GET to get the Authorisation role for the logged in User and use the class CL_CRM_UI_PROFILE and method GET_PROFILE to get the business role profile of the logged in user. All you need to do is pass the SY_UNAME of the user.

Regards,

Harshiut

arunprakash_karuppanan
Active Contributor
0 Kudos

Hi,

Class CL_CRM_UI_PROFILE has a get_profile method which should help you out.

Refer this thread also.

[]

Regards,

Arun Prakash