‎2008 May 14 12:34 PM
Hi Every body,
I need to create a fucntion module , here i need to pass...table, which is with header line..I could pass using tables using TABLES tab but, as Tables is obsolete..so i want to know other way os passing tables ..or creating tables option for passing tables to a function mofule, so, how could we get..thid done
Please
vinesh.
‎2008 May 14 12:35 PM
Use SE11 to create the table type. You can pass the table using the import parameters with reference to the table type you have created.
Regards,
John.
‎2008 May 14 12:38 PM
Hi,
You can pass the table using the import parameters with reference to the same structure,
Reward points
‎2008 May 14 12:44 PM
Hi!!
Using Table types is a better option as it comparetively improves performance.
U can create table type usinf se11.
‎2008 May 14 12:44 PM
Hi Sidhu,
You can do so by using two different ways.
One is you can create a table type which is of the structure if the table which you want to pass to this FM. This helps improve performance also.
The other is you can use the structure as a IMPORT parameter, but this can be done if you are creatung a RFC FM only.
Otherwise, it is better to use the tables as it is is and pass it to the TABLE via body, as itab1[] = itab2[].
This will help pass the data . But, as a whole your query can be better answered if you present it more clearly.
Hope this is helpful to you. If you need further information, revert back.
Reward all the helpful answers.
Regards
Nagaraj T