Hi Everyone,
Is it possible for me to display the column heading in REUSE_ALV_GRID_DISPLAY using a variable?
CLEAR ls_fieldcat.
ls_fieldcat-col_pos = 13.
ls_fieldcat-reptext_ddic = LWOP1. " <===Here is my variable for my
column heading
ls_fieldcat-tabname = 'ITAB'.
ls_fieldcat-fieldname = 'LWOP2'.
ls_fieldcat-datatype = 'CURR'.
ls_fieldcat-outputlen = 15.
APPEND ls_fieldcat TO rt_fieldcat.
Please help me. Thanks in advance.
Yes, it is. A simple character type field moved to the ls_fieldcat-reptext_ddic field should do it. Of course, you would have to move a value to variable.
Regards,
Rich Heilman
Add a comment