Skip to Content
0
Former Member
Feb 25, 2011 at 12:05 PM

Column Headers not chnaging in ALV

43 Views

Hi Friends,

I am using both FM :REUSE_ALV_LIST_DISPLAY & REUSE_ALV_GRID_DISPLAY to display the output, i need to change the column heading for some of the fields it is working fine when I use REUSE_ALV_GRID_DISPLAY but when I use REUSE_ALV_LIST_DISPLAY the column headers remain unchanged. I am wondering how this could be possible as it is working for "grid" and not for the u201Clistu201D. Below is the code.

Please let me know if I am missing something, I tried all the possibilities by changing the attributes of field catalog in , but nothing worked out.

Please provide me solution.

Thanks in advance.

;

oop at pt_fcat into ls_fcat.

IF Ls_FCAT-FIELDNAME = 'ZZPOST1'.

*Ls_FCAT-ROLLNAME = SPACE.

*

LS_FCAT-SELTEXt_L = LS_FCAT-SELTEXt_M = Ls_FCAT-SELTEXt_s = TEXT-003.

*

LS_fcat-reptext_ddic = TEXT-003.

LS_fcat-ddic_outputlen = 10.

ls_fcat-intlen = 10.

ls_fcat-ddictxt = TEXT-003.

*ls_fcat-text_fieldname = SPACE.

*

*Lt_FCAT-no_out = space.

*

LS_FCAT-emphasize = '$'.

modify pt_fcat from ls_fcat.

*

*

endif.

*

ENDLOOP.

*