Skip to Content
Dec 11, 2018 at 10:28 PM

Limint the search in BP_HEAD_SEARCH popup to a specific role - BBP000


Hello, I've enhanced SRQM_INCIDENT_S component and added an BP search. But I have to limit it to only Role BBP000. How do I pass the Role that I want to limit the search on?

In the EH_ON_SELECT_PARTNER a window popup is called from the BP_HEAD_SEARCH:

partnervaluehelp_popup = comp_controller->window_manager->create_popup( iv_interface_view_name = 'SearchHelpWindow' iv_usage_name = 'CUPartnerValueHelp' iv_title = lv_title ).

But I want to limit it only to certain roles because fo security reasons.

Could you please share the piece of code if you know how to do that?

I'm looking at a "no employee " filter...

cl_crm_uiu_bp_partner_popup=>account_f4_no_emp_filter( partnervaluehelp_popup ).

But how do we exclude others?

Thank you