Hi Andie,
I think you have missed some of my previous threads, you need to create global variable bpsearch_account_popup type if_bsp_wd_popup in view impl class.
You need to get the selected partner value from popup as shown below code
DATA:
lr_context_node TYPE REF TO cl_bsp_wd_context_node,
lr_current TYPE REF TO if_bol_bo_property_access,
lr_ent TYPE REF TO cl_crm_bol_entity,
lr_partner TYPE REF TO cl_crm_bol_entity,
lv_partner_no TYPE string.
lr_context_node = bpsearch_account_popup->get_context_node( iv_cnode_name = 'PARTNER' ).
lr_current = lr_context_node->collection_wrapper->get_current( ).
CHECK lr_current IS BOUND.
lv_partner_no = lr_current->get_property_as_string( iv_attr_name = 'BP_NUMBER' ).
Set this lv_partner_no value to your new attribute using set_property method.
Regards,
Dharmakasi.