Call with table parameter: I have a problem with a Call statement. The called function returns a table. This works correctly the first time, but the call appends the table lines with each further call instead of replacing the whole content.

The table parameters in function calls are always input/output parameters, and the ABAP function apparently appends the table lines instead of executing a "Refresh".

To avoid the effect, clear the long text variable before processing the call, e.g.

Set text[mytable] ""