Skip to Content
0
May 08, 2008 at 08:42 AM

ALV search help register problem

32 Views

Hello Gurus, i am using this code:

data: wa_searchhelp type LVC_S_F4,
      searchhelp type LVC_T_F4.
      clear wa_searchhelp.
      wa_searchhelp-FIELDNAME = 'LIFNR'.
      wa_searchhelp-REGISTER = 'X'.
      wa_searchhelp-GETBEFORE = 'X'.
      wa_searchhelp-chngeafter = 'X'.
      append wa_searchhelp to searchhelp.
      call method grid->register_f4_for_fields exporting it_f4 = searchhelp.

to register the search help for LIFNR field. The field is set to editable, there is a search help defined in the database table and still it won`t work. Please help, i will reward points.