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

Page down on ALV grid using OOPS

Former Member
0 Likes
779

Hi,

I am displaying ALV grid using OOPS, But when I press the page down button on the keyboard, in the o/p the page is not getting down, But if I scroll the bar on right side of the o/p screen, page gets down and i can see the remaining values.

I am not understanding what I am missing

Thanks

4 REPLIES 4
Read only

Former Member
0 Likes
579

Is the focus in ALV gird?

Please select a cell / row / column and press page down and see.

Thanks.

Read only

former_member182010
Active Participant
0 Likes
579

Hello Robert,

Here is some code below that works for me.

Kind Regards,

Rae Ellen Woytowiez




    DATA:  gr_table TYPE REF TO cl_salv_table.
    DATA:  lt_output_list TYPE TABLE OF toutput_list.
    DATA:  gv_repid TYPE syrepid.
    DATA:  gr_display   TYPE REF TO cl_salv_display_settings.

    gv_repid = sy-repid.

*
* ALV
*... Create Instance
    TRY.
        CALL METHOD cl_salv_table=>factory
          IMPORTING
            r_salv_table = gr_table
          CHANGING
            t_table      = lt_output_list.
      CATCH cx_salv_msg.
    ENDTRY.

    gr_table->set_screen_status(
                 pfstatus      =  'SALV_STANDARD'
                 report        = gv_repid
                 set_functions = gr_table->c_functions_all ).

    gr_display = gr_table->get_display_settings( ).
    gr_display->set_list_header( 'Canada FI Report Documents to Backup CO' ).
*... Display Table
    gr_table->display( ).




Read only

rathishr_nair
Explorer
0 Likes
579

In the Screen Painter double click on the Container you have placed and Check Vertical and Horizontal options under Resizing Attribute.

Thanks

Rathish R Nair

Read only

Former Member
0 Likes
579

Hi,

Page down on ALV grid using OOPS

In these, Use an Top-of-Page and End-of-page.

The page will shows the result and It scroll down the page easily.

Try this link,

http://sapprograms.blogspot.com/2008/08/alv-top-of-page-using-oops.html

Regards,

Sekhar