Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

reg:function module creation

Former Member
0 Likes
530

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.

4 REPLIES 4
Read only

former_member209703
Active Contributor
0 Likes
501

Then you may use an EXPORT parameter instead with a table type such as EDIDC_TT

Regards

Read only

SureshRa
Active Participant
0 Likes
501

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

Read only

Former Member
0 Likes
501

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

Read only

Former Member
0 Likes
501

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.