01-19-2005 4:43 AM
Hi everybody,
I am displaying the output in ALV.
I want display the total number of records at the top of page.( before the columns).
Can any one throw light on this plz.
Karunakar reddy
01-19-2005 6:24 AM
To get the number of entries in your displayed table use:
<i>DESCRIBE TABLE tab LINES wg_lines.</i>
To display the value in a ALV Grid Control, use something like this:
<i>DATA: sl_layout TYPE lvc_s_layo.
sl_layout-grid_title = wl_lines.
CALL METHOD og_alv->set_table_for_first_display
EXPORTING
is_layout = sl_layout
....</i>
Regards,
Martin
01-19-2005 7:48 AM
Hi,
In case you are working with ALV List Control, you can try out FM REUSE_ALV_COMMENTARY_WRITE and fill its table parameter IT_LIST_COMMENTARY to show multiple lines before the columns.
Regards