02-14-2007 9:22 PM
Hi,
I created a report program with ALV GRID DISPLAY.
If user selectes the records from the ALV display list program will process those records.
My problem is when it display;s ALV list in menu bar page down and page up buttons are not working.
Can any one please let me know how to correct this ?
Thanks .
02-16-2007 7:44 AM
Weird...
Did you try resizing the SAP workarea to a smaller size? I tried and it worked fine for me.
Here's the code I use in the program:
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
* i_bypassing_buffer = 'X'
* i_buffer_active = ' '
i_callback_program = g_repid
i_callback_pf_status_set = l_status
i_callback_user_command = l_user_command
i_callback_top_of_page = g_top_of_page
* i_background_id = 'ALV_BACKGROUND'
i_grid_title = text-t01
i_grid_settings = gt_grid_settings
is_layout = gs_layout
it_fieldcat = lt_fieldcat
it_excluding = lt_excluding
it_filter = lt_filter
i_save = g_save
is_variant = gs_variant
it_events = gt_events[]
IMPORTING
es_exit_caused_by_user = gs_exit_caused_by_user
TABLES
t_outtab = main_output_table
EXCEPTIONS
program_error = 1
OTHERS = 2.
Pretty standard... Can you post your code?