I have an inputfield of length 10 that gets populated with an input scanner (10 digit Business partner #). After processing an InputScript and returning to the screen, the cursor is still at the 10th position of the field instead of at the beginning. How can I correct this?

A SetCursor command with offset=0 will put the cursor at the beginning of the field. Example:

Inputfield (10,81) "abc" (10,90) size=10 name="v1"

SetCursor F[abc] offset=0

Otherwise SAP GUI remembers the previous cursor position.