Hi, I need a contact search help(button) on contact assignment(next to edit button) in account overview page. I have followed the link giving by christian, and i have added the code. however it gives dump as The following error text was processed in the system:
Create Outbound Plug 'FIND_CONTACT' in Window 'BP_DATA/Contacts'. Exception Class CX_BSP_WD_INCORRECT_IMPLEMENT
I need standard search help like contact add BP_DATA\AccountcontactEF'-> (OP_FINDCONTACT)
I am trying to add outbound plug on BP_DATA\AccountOV <
steps followed: 1) created events (On search)
DATA: lr_window TYPE REF TO cl_bsp_wd_window, lr_entity TYPE REF TO cl_crm_bol_entity. DATA: lr_coll TYPE REF TO cl_crm_bol_bo_col. * lr_entity ?= typed_context->builheader->collection_wrapper->get_current( ). lr_window = me->view_manager->get_window_controller( ). lr_window->call_outbound_plug( iv_outbound_plug = 'FIND_CONTACT'). 2) created outbound plug (op_find_contact) DATA: lv_title TYPE string. DATA: lr_node TYPE REF TO cl_bsp_wd_context_node, lr_access TYPE REF TO if_bol_bo_property_access. * Get title 'Search: Contacts' lv_title = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BP_DATA/CONTACT_SEARCH' ). * Retrieve Employee Search Window IF gr_contact_search_popup IS NOT BOUND. gr_contact_search_popup = comp_controller->window_manager->create_popup( iv_interface_view_name = 'SearchHelpWindow' iv_usage_name = 'CUContactSearchHelp' iv_title = lv_title ). ENDIF. gr_contact_search_popup->set_on_close_event( iv_view = me iv_event_name = 'SEL_CONTACT' ). gr_contact_search_popup->set_window_width( cl_crm_uiu_bp_tools=>gv_advsearchhelp_width ). ** gr_contact_search_popup->set_window_height( cl_crm_uiu_bp_tools=>gv_advsearchhelp_height ). gr_contact_search_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ). * display OK Button within Contact Quick Create pop-up lr_node ?= gr_contact_search_popup->get_context_node( 'UI' ). IF lr_node IS BOUND. lr_access ?= lr_node->collection_wrapper->get_current( ). IF lr_access IS BOUND. lr_access->set_property( iv_attr_name = 'DISPLAY_QC_OK' iv_value = abap_true ). ENDIF. 3) Window BP_Data/Contacts added outboundplug(op_outbound) blanks code. 4) Component Usage- CUContactsearch->Interfaceview->searchhelpwindow->added outbound plug (op_find_contact) blanks 5) Under BP_HEAD Runtime reposotory added view as BP_DATA\AccountContactOV and BP_CONT_SEARCH/Searchhelp. please advise how to achieve this. Steps are welcome