order to use the "GUI_UPLOAD" function the called function module
needs a connection to SAP GUI.
We suggest you use the -dialog option of the Call statement, e.g.
call ZGUIXT_CREATEORDER -dialog in.I_KTEXT="test" ...
RFC user needs to be a dialog user in this case.
are two alternative solutions:
for which a
dialog RFC user is required
your function, execute
for which no
dialog user is necessary
the file in the InputScript, for example using CopyText ... fromFile=...., and
pass the file content to the function module (table parameter).