Share this page

# Example: sapgui_window_scroll_to_row

The following example uses sapgui_window_scroll_to_row.

    sapgui_set_ok_code("VA01",

    BEGIN_OPTIONAL,

        "AdditionalInfo=sapgui109",

    END_OPTIONAL);

    sapgui_press_button("ENTER (Enter)",

    "tbar[0]/btn[0]",

    BEGIN_OPTIONAL,

        "AdditionalInfo=sapgui1010",

    END_OPTIONAL);

    sapgui_send_vkey(F4,

    BEGIN_OPTIONAL,

        "AdditionalInfo=sapgui1011",

    END_OPTIONAL);

    sapgui_select_active_window("wnd[1]");

    sapgui_window_scroll_to_row("45",

    BEGIN_OPTIONAL,

        "AdditionalInfo=sapgui1014",

    END_OPTIONAL);

    sapgui_set_focus("usr/lbl[6,26]",

    BEGIN_OPTIONAL,

        "AdditionalInfo=sapgui1013",

    END_OPTIONAL);

    sapgui_press_button("Copy (Enter)",

        "tbar[0]/btn[0]",

        BEGIN_OPTIONAL,

            "AdditionalInfo=sapgui1017",

        END_OPTIONAL);

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: