01-09-2007 2:57 AM
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.
01-09-2007 3:28 AM
for me isfielldcat-seltext_l = v_heading. working properly .
i think you cant give
ls_fieldcat-reptext_ddic = LWOP1.
but i m not sure.
regards
shiba dutta
01-09-2007 3:05 AM
01-09-2007 3:22 AM
Hi again,
Yes there is a value I just don't know why it doesn't display. Is it possible if you could give me a code sample? Thanks a lot.
01-09-2007 3:05 AM
Hi,
I don't think so, either u need to assign a text-symbol or character string [in single quotes].
-Satya Priya
01-09-2007 3:28 AM
for me isfielldcat-seltext_l = v_heading. working properly .
i think you cant give
ls_fieldcat-reptext_ddic = LWOP1.
but i m not sure.
regards
shiba dutta