I have requirement to bring business role selection page again whenever user presses a custom button. I have created a custom button in WebUI component CRM_ALLSEARCHES. In this view, requirement is when user presses button 'Switch Role', Business Role Selection should reappear.
I have create button and handling this event in method DO_HANDLE_EVENT of class ZL_CRM_ALLS_LAUNCHER_IMPL .
<thtmlb:button id = "SBR"
onClick = "SBR"
enabled = "<%= lv_btn_visible %>"
text = "Switch Role"
tooltip = "Switch Role" />
Many thanks for your help.