‎2008 Aug 15 1:07 PM
hi friends.I want to send internat table for a function.
what do ı do?
thanks.
‎2008 Aug 15 1:19 PM
you must the declare in imports parametre your function, but this parametre type equal your internal table type.
‎2008 Aug 15 1:21 PM
Hello
1. Declare in your FM table like internal table.
2. call function 'function_name'
importing
...
exporting
...
tables
-> here indicate your table
‎2008 Aug 15 2:31 PM
>
> hi friends.I want to send internat table for a function.
>
> what do ı do?
>
> thanks.
You can even send the table parameter using the importing parameters or changing parameters. in the latest versions this method is suggested.
when you are defining the table using the importing parameters or changing parameters you have to use the Tabletype, in the place where you give the Reference type.
T_VBAP TYPE VBAP_TTcall function 'TEST_FUNCTION'
importing
i_table = t_Table
changing
c_table = c_table.