Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 4552

problem with Dictionary Search Help

$
0
0

verygood morning!!

 

we have a z-searchhelp called 'ZIH_TIPOIDENTIFICACION', and we wanttoselect a line fromthe helpsearch, and put the values  in two fields.This is easyif the twofields arein the same context, but the fields are indifferent contexts.Field 1is inthe contextBTADMINHandfield 2is inthe contextBTACTIVITYHandisa field of type'attribute value'. Onlyworks Field 1Ido notfill the Field 2,  the value for 'field-context_attr ls_field='

 

 

Captura.JPG

 

our code is:

  data ls_field   type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping.
  data: lt_input  type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_output type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.


  ls_field-context_attr = 'EXT.ZZAFLD00003H'.
  ls_field-f4_attr      = 'ZTAXTYPE'.
  append ls_field to lt_output.


  ls_field-context_attr = 'BTACTIVITYH/Z_TIPO_IDENT_TEXT'.
  ls_field-f4_attr      = 'TEXT'.
  append ls_field to lt_output.


  create object rv_valuehelp_descriptor type cl_bsp_wd_valuehelp_f4descr
    exporting
      iv_help_id        = 'ZIH_TIPOIDENTIFICACION'
      iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
      iv_input_mapping  = lt_input
      iv_output_mapping = lt_output.

 

 

 

 

Any ideas?

 

many thanks


Viewing all articles
Browse latest Browse all 4552

Trending Articles



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