Share this page

# Example: sapgui_active_object_from_parent_property

The following example uses sapgui_active_object_from parent_method to select the horizontal scrollbar of a table.

    Action() {

        sapgui_select_active_window("wnd[0]");

        // Selecting 5-th row on "Basic personal data" tab

        sapgui_set_property(
            "shellcont/shell/shellcont[0]/shell/shellcont[1]/shell[1]",
            "HierarchyHeaderWidth", "251", LAST );

        sapgui_active_object_from_parent_property(
            "usr/tabsMENU_TABSTRIP/tabpTAB01/ssubSUBSCR_MENU:SAPMP5
            0A:0400/subSUBSCR_ITMENU:SAPMP50A:0310/tblSAPM"
            "HorizontalScrollbar", LAST );

        ...

        return 0;

    }

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: