i need to call a function module in a method. This function module needs a table in the TABLES part of the interface declaration with a header line. In a method, it is no longer allowed to declarde tables with OCCURS, only with TABLE of or STANDARD TBALE OF. But when i di this, i'm getting a cought exception with id 00 und message number 786 which i cand interpret.
Calling the function module dircet in debugging mode with the same input values works fine. So how do i call such a funtion in a method? I really would like to avoid to write a wrapper.
Thx in advance