Skip to Content
0
Former Member
Apr 16, 2010 at 09:36 AM

F4 help from value table

377 Views

Hi

I have a field where i need to implment f4 help. the domain of this field has a value table assocaited with it.I need to implement the

code in GET_V_propname where i can populate data from value table. but this is not happeneing.Can you please help me out on this.

The coding i have written is as follows

data:

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.

ls_map-context_attr = 'struct.SRV_SERWI'.

ls_map-f4_attr = 'KEY'.

append ls_map to: lt_inmap, lt_outmap.

create object rv_valuehelp_descriptor type CL_BSP_WD_VALUEHELP_F4DESCR

exporting

iv_help_id = '/1CN/WORKING_SET_E_D_CRM-SRV_SERWI'

iv_help_id_kind = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_COMP

iv_input_mapping = lt_inmap

iv_output_mapping = lt_outmap.

Kindly help me out on what i may be doing wrong.

Thanks

Abishek