Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Colour format in hierarchical ALV

Former Member
0 Kudos
189

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.

2 REPLIES 2

Former Member
0 Kudos
64

Hi Vikram,

Please check BCALV_TEST_HIERSEQ_LIST demo program. It has different settings for color at row/column or cell level. You need to select color check boxes on selection screen.

Hope this might help you.

Regards,

PB

0 Kudos
64

Actualy I am having

Header table

Item table

For one enrty in header multiple entries in ITEM and for one entry in item I am having multiple entries in item only.

Means

Material in header

Transfer requirements in item ( 1material,multiple TR'S)

Transfer Orders in item only.( 1TR ,multiple TO's)

So my requirement is to give different colours to Material, TR'S and TO's.

I am able to give colour to Material but not able to give different colour to TR and TO.

Please suggest

Regards

Vikram