Hi,
i used lvc_fieldcatalog_merge FM to build catalog for "SFLIGHT" and made changes to key column's color settings.
while calling method set_table_for_first_display, i am passing both parameters I_STRUCTURE_NAME and IT_FIELDCATALOG as shown below. but only changes i made to non- key columns are effective and changes made for key column(CONNID) are not effective.when i pass only field catalog, key column changes are effective.
CALL METHOD GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'SFLIGHT'
IS_VARIANT = S_LAYO_GRID
I_SAVE = 'U'
I_DEFAULT = 'X'
CHANGING
IT_OUTTAB = ITAB
IT_FIELDCATALOG = T_FCAT
so is the problem is due to passing both parameters I_STRUCTURE_NAME & IT_FIELDCATALOG.
Edited by: katamanenikishore on Feb 13, 2011 2:07 PM