‎2004 Nov 04 6:38 AM
‎2004 Nov 04 8:11 AM
Hi Arun,
Passing the table using the TABLES parameters in a function module is one solution. However, using the IMPORT or CHANGING parameters is a better solution. Just create in the Dictionary a table type like your internal table to be able to TYPE your parameters.
Regards,
John.
‎2004 Nov 04 6:45 AM
You can pass a internal table to a function In the "TABLES" parameter.The function module should be defined to accept that parameter.For example You can check function "BAPI_REQUIREMENTS_CHANGE" function in
SE37 transaction.
‎2004 Nov 04 8:11 AM
Hi Arun,
Passing the table using the TABLES parameters in a function module is one solution. However, using the IMPORT or CHANGING parameters is a better solution. Just create in the Dictionary a table type like your internal table to be able to TYPE your parameters.
Regards,
John.
‎2004 Nov 04 8:47 AM
Hi,
John, is there any particular reason why you say, IMPORT or CHANGING parameters is a better solution than using TABLE parameters in a function module ?
Regards,
Subramanian V.
‎2004 Nov 04 8:51 AM
‎2004 Nov 04 9:25 AM
‎2004 Nov 04 9:43 AM
Hi,
The tables parameter is something which in my opinion is going to be "history". If you take a look at the SAP help on the PERFORM statement you will find a similar remark there "Instead of the TABLES addition, you should use the USING or CHANGING addition wherever possible".
I wouldn't be surprised if SAP will get rid of this parameter in future releases..
Regards,
John.
‎2004 Nov 04 9:44 AM
Hi Arun,
If you need more details please send me your Email address and I will send you some screen copies which will be of more help than plain text.
Regards,
John.
‎2004 Nov 04 9:59 AM
hi john ,
please send it to r_arun@indiatimes.com
regards
arun
‎2004 Nov 04 10:27 AM
Hi Arun,
I have sent an Email to your address. Hope this helps.
Regards,
John.
‎2004 Nov 04 11:11 AM
Yes I have seen the topic you mentioned about not using TABLES in subroutines. I wondered if there were any performance issues with using TABLES in Function Modules.
Well I hope , they don't get rid of this in future releases as it would mean problems during upgrade.
Regards,
Subramanian V.