Hi guys,
I'm using CL_SALV_TABLE to display data in ALV Grid. For particular field I want only to display the possible values using F4. I don't want to change the data in the ALV grid. This particular field doesn't have Search help attached in the DDIC.
If I was using standard CL_GUI_ALV_GRID I would prepare table of type lvc_t_f4 and pass it with alvgrid->register_f4_for_fields.
In CL_SALV_TABLE I don't have this method.
The closest is enabling F4 in Method set_f4 of Class cl_salv_column_table. This activate the function F4 for the field but it only tries loading standard dictionary search help. I can not fire my event handler method and suppress standard F4 (as done successfully with F1 help), even I've set
SET HANDLER gr_event_handler->handle_f4_for_value FOR ALL INSTANCES. As there is no standard F4 help it raises message: 'No input help is available'.
With Method cl_salv_controller_metadata=>get_lvc_fieldcatalog I could get the generated fieldcatalog. Is there any workaround and get access to the MT_F4 table of CL_GUI_ALV_GRID and set my event handler method.
Best regards,
Kamen