Skip to Content
0
Former Member
Apr 20, 2009 at 01:53 PM

Page numbers in block ALV

26 Views

Hai Friends,

I am using the following functions for Block_ALV_List

'REUSE_ALV_BLOCK_LIST_INIT'
'REUSE_ALV_BLOCK_LIST_APPEND'
'REUSE_ALV_BLOCK_LIST_DISPLAY'

DATA: GT_FEVENTS TYPE SLIS_T_EVENT.
DATA: XS_EVENT  TYPE SLIS_ALV_EVENT.
CLEAR: XS_EVENT.
  XS_EVENT-NAME = SLIS_EV_TOP_OF_PAGE.
  XS_EVENT-FORM = 'XTOP_OF_PAGE'.
  APPEND XS_EVENT TO GT_FEVENTS.
  CLEAR XS_EVENT.

FORM TOP_OF_PAGE.

  WRITE : /1 'Plant      :' , PM_WERKS,
          /1 'Material   :' , PM_MTNRV,
          /1 'Description:' , SELPOOL-MAKTX,
          /1 'Report Date:' , SY-DATUM,
          /1 'Total Weight (4th Level):' , LW_TOTAL,
          /.
ENDFORM.

I want the page numbers to be displayed in all the pages and the also the TOP_OF_PAGE. how can i do this.