Hi ,
No need to do the code in BP_CONT/BPCONTOverview to default the employee responsible.
You can enhance the view 'BP_CONT/SalesEmployee' and then redefine the method 'do_init_context' of thye impl class and here you can initialize the Sales employee with default value and it will be automatically saved when you press the save button.
Just do the below code in 'do_init_context' method:-
method DO_INIT_CONTEXT.
CALLMETHOD SUPER->DO_INIT_CONTEXT
.
DATA: lr_entity typeREFTO if_bol_bo_property_access,
lv_sales_emp TYPE string.
lr_entity ?= me->typed_context->salesemployee->collection_wrapper->get_current( ).
lv_sales_emp = lr_entity->get_property_as_string( 'SALESEMPLOYEE').
if lv_sales_emp isINITIAL.
****here put your logic to get the sales employee into a variable lv_emp
CALLMETHOD LR_ENTITY->SET_PROPERTY
EXPORTING
IV_ATTR_NAME = 'SALESEMPLOYEE'
IV_VALUE = lv_emp *Sales employee
.
ENDIF.
endmethod.
Hope it helps
Thanks
Kumar gaurav