Empty table returned in Call: I have written an ABAP function that returns a list of document numbers for a given customer number. It works well in the ABAP test environment but not in my InputScript. I call up the module with

Call "Z_CUSTOMER_DOCLIST" in.CUSOMER="&V[customerno]" out.DOCLIST="dl"

The long text "dl" is always empty.

Change out.DOCLIST= into table.DOCLIST=

The rule is as follows:

SE37:
EXPORT parameter XXX
GuiXT Script:
Call ... out.XXX="vname"

o r

SE37:
TABLE parameter XXX
GuiXT Script:
Call ... table.XXX="tname"

When you mix both notations, an empty table is returned, an exception can occur or strange characters are returned into the GuiXT variable.