Skip to Content
0
Former Member
May 12, 2010 at 08:30 AM

Group headers - cl_wd_table_column_group

37 Views

Hi all,

I use the table control and want to use dynamically!! created group headers.

I want to have the following structure:

Line 1 Headline 1 Headline 2

Line 2 Min Med Max Min Med Max

My coding:

DATA lr_column_group TYPE REF TO cl_wd_table_column_group.

lr_column_group = cl_wd_table_column_group=>new_table_column_group( ).

lr_column_group->set_header( lr_caption ).

CALL METHOD lr_column_group->add_column

EXPORTING

index = 1

the_column = lr_table_column.

But I don't know what methods I should use to get this kind of demonstration.

Any idea?

regards