Share this page

# Example: sapgui_set_ok_code

The following example uses sapgui_set_ok_code to enter the command me51n.

    // Enter the Command

    sapgui_set_ok_code(

        "me51n", // the command

        BEGIN_OPTIONAL,

            "AdditionalInfo=info1022",

        END_OPTIONAL);

    //Press ENTER to run the command

    sapgui_send_vkey("0",

        BEGIN_OPTIONAL,

            "AdditionalInfo=info1023",

        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: