Skip to Content
0
Former Member
May 27, 2008 at 10:19 PM

Custom Z search help does not appear on ALV grid cell

208 Views

Does anyone know how to attach a custom Z search help to a ALV grid editable cell? I have gone thru the following steps but the search help does not show up on the ALV.

1. Create a Z text table with the search help values.(ZHELP_TEXT)**

2. Create a Z search help (ZHELP)

3. Create a Z data element (ZCHAR20) using the Z search help for a field in a custom table(YALV_TEST-YCHAR)

4. In the field catelog of the source code, use:

fieldcatelog-edit = 'X'.
fieldcatelog-ref_fieldname = 'YCHAR'
fieldcatelog-ref_tabname = 'YALV_TEST'

My program is NOT using ABAP object. Is there a different way to pull in the search help if the ref_fieldname and ref_tabnam would not take custom table?

Any advice is appreciated and point will be rewarded!