Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

F4 help value is not setting in a table view.

$
0
0

Hi ,

 

We have enhanced BTOpportH with new relation ZBTXYZ 0..n under SPRO. with this new relation we created table view. in a table view one particular field enabled F4 help. when we are selecting value from F4 help the selected value is vanishing after enter. could you guide me please.

 

method get_v_abcd.
  data : lv_str_index type string,
     ls_map type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
     lt_inmap type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
     lt_outmap type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.

  lv_str_index = iv_index.

  concatenate 'table[' lv_str_index '].ABCD' into ls_map-context_attr. "#EC NOTEXT
  condense ls_map-context_attr no-gaps.
  ls_map-f4_attr = 'ABC'.
  append ls_map to : lt_inmap,lt_outmap.

* Another way also tried this is also not helping
 

    ls_map-context_attr = 'STRUCT.ABCD'.
  ls_map-f4_attr      = 'ABC'.
  append ls_map to: lt_outmap, lt_inmap.


  create object rv_valuehelp_descriptor type cl_bsp_wd_valuehelp_f4descr
    exporting
      iv_help_id        = 'Z_XYZ'
      iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
      iv_input_mapping  = lt_inmap
      iv_output_mapping = lt_outmap
      iv_object_ref     = me
      iv_trigger_submit = abap_true.
endmethod.


In a search help we have attached table under selection method.


Is issue on on new focus or in get_v method ?


After Save also entered data is vanishing and when we click on edit button after save we are getting not bound data in table view. Please guide me... what is the issue.. we have bound to component controller still we are getting these errors.


Thanks

Divya


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>