Skip to Content
0
Former Member
May 27, 2009 at 07:13 AM

Colour format in hierarchical ALV

119 Views

Hi,

I am trying to display 2 tables with ALV Hierarchical FM. Below is the way Iam calling the FM.

CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'

EXPORTING

i_callback_program = sy-cprog

i_callback_pf_status_set = 'ZSTANDARD'

i_callback_user_command = 'ZSTANDARD_UC'

is_layout = gs_layout1

it_fieldcat = fieldcat1

is_variant = gs_variant1

it_events = wa_events[]

i_tabname_header = 'GT_OUT3'

i_tabname_item = 'GT_OUT5'

is_keyinfo = gs_keyinfo

TABLES

t_outtab_header = gt_out3[]

t_outtab_item = gt_out5[].

As mentioned above there are 2 tables as gt_out3 and gt_out5. I want to give differnt colours to both the tables which is possible and Iam achieving this.

Also I want to give different colours to the records in the table gt_out5 based on its values.

I am not looking for alternate line colour display.

Please help me with this.