Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

total no of pages in the end of list in alv

Hi all,

Not able to get the total no of pages in alv through end_of_ list event .

plz go through my code :

FORM alv_event_end_of_list .

DATA: x_footer TYPE slis_listheader.

  • Page Number

CLEAR x_footer.

x_footer-typ = 'S'.

x_footer-key = 'End of List'.

x_footer-info = sy-pagno.

APPEND x_footer TO gt_footer.

CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'

EXPORTING

it_list_commentary = gt_footer

  • I_LOGO = <<If you want to set a logo, please,

  • uncomment and edit this line>>

  • I_END_OF_LIST_GRID = 'X'

  • I_ALV_FORM =

.

ENDFORM. " ALV_EVENT_END_OF_LIST

cheers,

sravan.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question