cancel
Showing results for 
Search instead for 
Did you mean: 

Reading the menu role user logged onto

Former Member
0 Kudos

Folks,

Is there a way to find out in a program invoking say a static class or reading table, which user menu role MDGS_MENU_04 or MDGC_MENU_04 a user in current session logged onto. I want to make certain enhancement active based on menu role they logged onto. Can't use security role as user can have multiple diverse roles assigned.

Thanks in advance.

Sincerely,

Kartik.

Accepted Solutions (1)

Accepted Solutions (1)

raghu3
Contributor
0 Kudos

Hi Kartik,

Check class CL_NWBC and method context_get

This returns the role name.

Regards,
Raghu

Answers (0)