I have developed an ABAP function that works well when called via transaction SE37 (test environment). But when I call it from a script, I get an ABAP dump with id "TSV_TNEW_OCCURS_NO_ROLL_MEMORY".
You have probably addressed a table parameter with "in.xxx=..." or

"out.xxx=..." instead of "table.xxx=..."