Cursor in OK Code:
I'm adding an inputfield to the main screen. Is there a way to prevent the
cursor from going to this created inputfield automatically? We would like the
cursor to go to the command bar by default.
This is the standard behaviour in SAP GUI and we
can't overrule it. As a workaround you can replace the InputField with a
DropDownList. Since this is a GuiXT element that is not directly known to SAP
GUI, the cursor will stay in the OK Code.