‎2011 Aug 09 12:10 PM
Hi All,
While creating function module, I am getting the Information and I am not able to create function module in EHP4 VERSION.
In TABLES Option.
I have mentioned like this.
Parameter Name Typing Associated Type
IDOC_CONTRL type/like EDIDC.
Even though I have mentioned 'Typing' value as 'LIKE' and ' TYPE' it is showing the Information message and it is not allow for further creation.
Information:TABLES parameters are obsolete!
please help me in this issue.
Thanks.
Sridevi.
‎2011 Aug 09 12:20 PM
Then you may use an EXPORT parameter instead with a table type such as EDIDC_TT
Regards
‎2011 Aug 09 12:30 PM
Hi,
It is only a warning message. Just keep the typing as "LIKE" and press enter on the warning message. You can save and activate the function module.
Regards
Suresh
‎2011 Aug 09 12:45 PM
Hi,
TABLES parameter is obsolete. Even though the system allows you to create, its advised not to. The reason behind this is, with tables parameter, one cannot identify immediately identify what that table is used for - whether data is passed to the FM through the table OR data is got from the FM through the table. Hence use IMPORTING or EXPORTING parameters.
Thanks,
Saravanan R
‎2011 Aug 09 12:46 PM
Tables parameters are indeed obsolete for FMs, except remote-enabled FM's. Do it correctly by using or declaring a table type and use this in the parameters, often in "CHANGING". You create the internal table in your program, point to it with your parameter, and process it as an internal table in your FM.... Why do it the old, obsolete way, when the development standards CLEARLY no longer utilize so many of the usages that were popular in versions like 3.1i and 4.0b? Step up to the current programming standards and your shop will be ready to face the OO future.