Share this page

# Example: sapgui_press_button

Example 1:

The following example uses sapgui_press_button to open the Business Workplace from the main screen.

    sapgui_press_button

        ("SAP Business Workplace (Ctrl+F12)",

        "tbar[1]/btn[36]", // Button ID

        BEGIN_OPTIONAL,

            "AdditionalInfo=info1020",

        END_OPTIONAL);

Example 2:

The following example uses sapgui_press_button to click the OK button next to the Command box.

    sapgui_press_button("Enter", "tbar[0]/btn[0]", LAST );

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: