2010 Feb 02 12:44 PM
Hi Experts,
I am facing problem with "REUSE_ALV_HIERSEQ_LIST_DISPLAY. I am using "REUSE_ALV_COMMENTARY_WRITE" to write a heading at TOP-OF-PAGE. When the output is displayed and I click on 'BACK' button, the program does not directly come to selection-screen, rather it shows the heading and then I need to press BACk button again to get back to my selection-screen.
Please suggest.
Thanks.
Hi Experts,
I am facing problem with "REUSE_ALV_HIERSEQ_LIST_DISPLAY. I am using "REUSE_ALV_COMMENTARY_WRITE" to write a heading at TOP-OF-PAGE. When the output is displayed and I click on 'BACK' button, the program does not directly come to selection-screen, rather it shows the heading and then I need to press BACk button again to get back to my selection-screen.
Please suggest.
Thanks.
2010 Feb 02 12:58 PM
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
is_layout = wa_layout
it_fieldcat = wi_fcat
it_events = wi_events
i_tabname_header = 'WI_HEADER'
i_tabname_item = 'WI_DISPERNR'
i_screen_end_line = 1
is_keyinfo = wa_keyinfo
it_sort = wi_sortdata
TABLES
t_outtab_header = wi_header
t_outtab_item = wi_dispernr
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE text-006 TYPE 'E'.
ENDIF.
2010 Mar 05 1:22 PM
Hi guys,
I am using Grid display to display a data. but when i am clicking on back button on o/p the o/p is displaying duplicate records for the first o/p. i,e it is displaying multiple records, again clicking on back it displaying extended o/p with more duplicate data...
2010 Mar 05 2:27 PM
I got the solution. Actually 'TOP_OF_PAGE' was being triggered twice.
2010 Mar 05 2:28 PM