Hi there,
I've been trying for some time now, to use the event "TOP_OF_PAGE" in my "REUSE_ALV_HIERSEQ_ LIST_DISPLAY" but I have a problem.
I'll try to explain:
I have this table gt_itab with some values:
BUKRSL HBKIDL DISKBL
aa10 .... 20EUR
aa10 .... 20EUR
aa10 .... 30EUR
aa20 .... 20EUR
aa20 .... 30EUR
aa20 .... 30EUR
aa20 .... 40EUR
aa30 .... 20EUR
aa30 .... 20EUR
aa30 .... 40EUR
aa30 .... 40EUR
and Table gt_febre with details to each line.
Here is the called function :
CALL FUNCTION 'REUSE_ALV_HIERSEQ_ LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = report_id
I_CALLBACK_USER_ COMMAND = 'USER_COMMAND'
IS_LAYOUT = gs_layout
IT_FIELDCAT = gt_fcat[]
IT_SORT = gt_sort[]
I_SAVE = g_save
IS_VARIANT = gs_variant
IT_EVENTS = gt_events[]
I_TABNAME_HEADER = 'GT_ITAB'
I_TABNAME_ITEM = 'GT_FEBRE'
IS_KEYINFO = gs_key
IMPORTING
ES_EXIT_CAUSED_ BY_USER = g_exit
TABLES
T_OUTTAB_HEADER = gt_itab[]
T_OUTTAB_ITEM = gt_febre[]
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
My issue sounds like this: How can I find in front of or after what line the "TOP_OF_PAGE" event is called ?