Application Development 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: 

Page up and page down is not working in program?

Former Member
0 Kudos

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 .

1 REPLY 1

Former Member
0 Kudos

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?