Skip to Content
0
Former Member
Jun 11, 2013 at 11:20 AM

F4 Help WebUI does not get value

404 Views

Hi experts,

in order to create a F4 help I implemented the V-Getter as follows:

method GET_V_ACTION.

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.ACTION'.
ls_map-F4_ATTR = 'ACTION'.
APPEND ls_map to: lt_inmap, lt_outmap.


CREATE OBJECT rv_valuehelp_descriptor TYPE CL_BSP_WD_VALUEHELP_F4DESCR
EXPORTING
iv_help_id = <Name Dataelement>
iv_help_id_kind = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_DTEL
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.

endmethod.

In WebUI the values are shown in valuehelp popup like they should after clicking valuehelp.

Unfortunately the selected one is not put into the field afterwards.

Question is how to put the selected value one in form field?

Since I implemented the above coding manual input in the form field is not possible anymore and webUI dumps.

If I delete the coding above manual input works properly.

Regards