Skip to Content
0

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

Mar 10, 2017 at 09:20 AM

52

avatar image

Hi,

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...

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers