Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem with REUSE_ALV_HIERSEQ_LIST_DISPLAY back button issue

Former Member
0 Likes
689

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.

4 REPLIES 4
Read only

Former Member
0 Likes
625

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.

Read only

Former Member
0 Likes
625

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...

Read only

Former Member
0 Likes
625

I got the solution. Actually 'TOP_OF_PAGE' was being triggered twice.

Read only

Former Member
0 Likes
625

Resolved by myself.