Skip to Content
avatar image
Former Member

F4 Search help in SAP CRM

Hi Everyone ,

I have implemented below code in GET_V_PROCESS_TYPE for F4 search help .

I am getting search option but once I selected any search option it is not getting filled in field.

How to select search option ,so that it will get fill in corresponding field?

SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L0S33 { color: #4DA619; } .L0S52 { color: #0000FF; } .L0S55 { color: #800080; } .L0S70 { color: #808080; }

METHOD get_v_process_type.

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.PROCESS_TYPE' .
ls_map-f4_attr = 'PROCESS_TYPE' .

APPEND ls_map TO: lt_inmap .


clear ls_map .
ls_map-context_attr = 'STRUCT.PROCESS_TYPE' .
ls_map-f4_attr = 'PROCESS_TYPE' .

APPEND ls_map TO: lt_outmap.



CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'CRMT_PROCESS_TYPE'
iv_help_id_kind = IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap .

ENDMETHOD .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers