Application Development and Automation 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: 
Read only

ALV Header Regdg ?

Former Member
0 Likes
557

Hi All,

I am using Class <b>CL_SALV_TABLE.</b> to generate my ALV report. I want to also display a header for this report. How to achieve this, is there any method which would help me to achieve this functionality.

thanks,

Navneeth K.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
521

Here are some code snippets to give you an idea of what you can use. You could also refer to demo program SALV_TEST_TABLE - it has everything.

data: gr_table   type ref to cl_salv_table.

data:
    lr_display type ref to cl_salv_display_settings,
    header type lvc_title.

....

header = 'test header'.

lr_display = gr_table->get_display_settings( ).

lr_display->set_list_header( header ).

Hi All,

I am using Class <b>CL_SALV_TABLE.</b> to generate my ALV report. I want to also display a header for this report. How to achieve this, is there any method which would help me to achieve this functionality.

thanks,

Navneeth K.

1 REPLY 1
Read only

Former Member
0 Likes
522

Here are some code snippets to give you an idea of what you can use. You could also refer to demo program SALV_TEST_TABLE - it has everything.

data: gr_table   type ref to cl_salv_table.

data:
    lr_display type ref to cl_salv_display_settings,
    header type lvc_title.

....

header = 'test header'.

lr_display = gr_table->get_display_settings( ).

lr_display->set_list_header( header ).