07-22-2005 5:35 AM
Hi,
I am developing a function module which is similar to GUI_DOWNLOAD. So , In My function module I would like to pass the internal table dynamically.I saw the paramter DATA_TAB in the function module GUI_DOWNLOAD. But there is no type associated with that. Could anyone help Me out for achieving thsi fucntionality.
Regards
Elini.P
07-22-2005 5:43 AM
Hi Elini,
When the tables parameter of the function module has got no line type specified, it will acquire the same type as the parameter that is passed to it during the call. In other words, the table is of generic type. you can pass any table to that parameter.
However, in case your function module is Remote Enabled, you will not be able to define the tables parameter as generic. IOt must be given some line type.
Regards,
Anand Mandalika.
07-22-2005 5:43 AM
Hi,
check this link for code sample.
/people/subramanian.venkateswaran2/blog/2004/11/19/dynamic-internal-table
07-22-2005 5:43 AM
Hi Elini,
When the tables parameter of the function module has got no line type specified, it will acquire the same type as the parameter that is passed to it during the call. In other words, the table is of generic type. you can pass any table to that parameter.
However, in case your function module is Remote Enabled, you will not be able to define the tables parameter as generic. IOt must be given some line type.
Regards,
Anand Mandalika.