Skip to Content
author's profile photo Former Member
Former Member

ALV list heading

Hello ABAPers,

I am displaying some records in an internal table in the form of an ALV list.

I need 'Number of records displayed: xxx' at the header level or at the end of the list.

(xxx number of records in the internal table)

I am using the function module and calling this in form top_of_page.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = lt_list_top_of_page.

but it seems like it is not working. Any suggestions.

Thanks,

Naren

Message was edited by: Naren Somen

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 07, 2005 at 03:22 PM

    You have to fill the Record count into this table, with

    describe <itab> lines <record_count>

    data: ls_line type slis_listheader.

    data: c_date(12), c_time(12).

    • LIST HEADING LINE: TYPE H

    clear ls_line.

    ls_line-typ = 'H'.

    • LS_LINE-KEY: NOT USED FOR THIS TYPE

    • write p_datum to c_date.

    • concatenate sy-title 'as of' c_date into ls_line-info.

    ls_line-info = sy-title.

    append ls_line to lt_top_of_page.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.