Example: sapgui_send_vkey

The following example uses sapgui_send_vkey to send a keyboard "ENTER".

// 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);