Share this page

# Example: sapgui_select_menu

The following example uses sapgui_select_menu to create a new session. The function was recorded by choosing the System menu, then the Create Session menu entry.

    sapgui_select_menu("Create session",
        "mbar/menu[4]/menu[0]",
        BEGIN_OPTIONAL,
            "AdditionalInfo=sapgui2011",
        END_OPTIONAL);

    sapgui_select_active_session("ses[1]");
    sapgui_select_active_window("wnd[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: