Hi Ravi,
Please check whether you did the following things properly or not.
1. After selecting the value from search help are you setting that value to your corresponding attribute of the table view?. On close of search help popup you should call an event an inside that event you can set the attribute parameter with selected value.
Eg: valuehelp_popup->set_on_close_event( iv_view = me iv_event_name = 'PARTNER_SELECTED' ).
method EH_ONPARTNER_SELECTED.
"Data Declaration
DATA: lo_context_node TYPE REF TO cl_bsp_wd_context_node,
lo_current TYPE REF TO if_bol_bo_property_access,
lo_current1 TYPE REF TO if_bol_bo_property_access,
lv_partner_id_str TYPE string.
"Get query result context node
lo_context_node = partnervaluehelp_popup->get_context_node( iv_cnode_name = 'PARTNER' ).
CHECK lo_context_node IS BOUND.
lo_current = lo_context_node->collection_wrapper->get_current( ).
CHECK lo_current IS BOUND.
lv_partner_id_str = lo_current->get_property_as_string( iv_attr_name = 'BP_NUMBER' ).
lo_current1 = me->typed_context->cobjrelpscba->collection_wrapper->get_current( ).
"Set partner No
lo_current1->set_property_as_string( iv_attr_name = 'BPARTNER' iv_value = lv_partner_id_str ).
endmethod.
3. When you are creating new entity inside EH_ONINSERT method are you setting the focus to that entity?
Eg: me->typed_context->cobjrelpscba>collection_wrapper>add(
EXPORTING iv_entity = lo_entity iv_set_focus = 'X').
2. Are you accessing the node as a mixed node every where in coding. Put debugger in all of your method which are getting called in every server round trip and check.
Please check everything and let me know if still you are facing problem.
Thanks & Regards
Chhanda Sarkar