Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.