Purpose
You want to use Enter "xxx"
in a GuiXT script.
The Enter
command can be used in a GuiXT script. Please note that it does not
terminate the script processing, contrary to what one might assume.
|
Solution In most cases it makes sense to put a
Stop script command following
Enter in order to terminate the
script processing. Since the screen is not yet displayed, any layout
commands such as del,pos,... have no effect. If you use Call statements
to display additional data, it will save you time if you avoid executing
them unnecessarily after the Enter
statement.
Example
if
not
V[mm02.init_done=X]
Set
V[imm02.nit_done]
"X"
Enter
"=TAB2"
process="read_further_data.txt"
// no further
script action, since the screen is not yet displayed
Stop
script
endif
Call
"BAPI_...."
del
... pos
..
|
Components
InputAssistant
|