2007 Jun 15 12:03 PM
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.
2007 Jun 15 10:55 PM
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.
2007 Jun 15 10:55 PM
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 ).
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |