Skip to Content

How to create F4 help in ALV using slis_t_fieldcat_alv as fieldcatalog?


I am trying to create a F4 help in an ALV. I'm using slis_t_fieldcat_alv for the fieldcatalog. How to create a F4 help on a ALV field using slis_t_fieldcat_alv as fieldcatalog?

In most of the thread I found that they are solving the problem using the OO approach but I want to solve it by procedural approach.

I have tried this:

DATA: gt_fcat TYPE slis_t_fieldcat_alv,
gs_fcat TYPE slis_fieldcat_alv.

gs_fcat-fieldname = 'DNAME'.
gs_fcat-seltext_m = 'Dept. Name'.
gs_fcat-ref_tabname = 'ZDEPT'.
gs_fcat-ref_fieldname = 'DNAME'.APPEND gs_fcat TO gt_fcat.

But its not working...

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

0 Answers