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

Function Module Tables parameter

Former Member
0 Likes
9,462

Hi Experts,

Iam creating a Functional Module in ecc 6.0. It is accepting import and export parameters properly. Once I provide the tables parameter with " material " as parameter name , "type" as typing and ztable as Associated type and after pressing enter key, it is giving error saying that

" TABLES parameters are obsolete! ".

Please tell me where it is going wrong.

Your suggestions are appreciated.

Thanks and Regards,

Murali Krishna T

1 ACCEPTED SOLUTION
Read only

RemiKaimal
Active Contributor
0 Likes
2,332

H Muralii,

SAP does not reccomend use of Tables, since it has high memory consumption and poorer performance.

Alternative : Create an exporting/changing parameter of the Table type/ztable.

If it's a structure you are using, create a Table type for the structure and use.

Least case : You can still use Tables, since it is a warning & make sure you use LIKE instead of TYPE.

Press Enter twice to ignore the message.

Cheers,

Remi

4 REPLIES 4
Read only

RemiKaimal
Active Contributor
0 Likes
2,333

H Muralii,

SAP does not reccomend use of Tables, since it has high memory consumption and poorer performance.

Alternative : Create an exporting/changing parameter of the Table type/ztable.

If it's a structure you are using, create a Table type for the structure and use.

Least case : You can still use Tables, since it is a warning & make sure you use LIKE instead of TYPE.

Press Enter twice to ignore the message.

Cheers,

Remi

Read only

Former Member
0 Likes
2,332

Hi Murali,

You will get a warning, you can still go ahead and use it.

Second option is :

Create a table type for structure and use the table type in Import or Export parameters instead of Tables paramter.

This willl not give you any warning.

Thanks & Regards,

Komal

Read only

former_member761936
Active Participant
0 Likes
2,332

Hi Murali,

Tables statement is Absolete now.Instead of using tables you can use Internal table in Import(or) Export statement of FM.

For this you need to Decalre a strcture in database for which you need to pass a table parameter.

For Example , If you want to pass VBAK as Internal table, Declare a Table type of VBAK and Use that in FM

EX

Importing

IT_VBAK = ztt_vbak

here ZTT_VBAK is table type of VBAK

If you want to use your own strcture for internal table, Declare that strcture in Database and create a table type for it and use that

in FM.

Hope this will helpful to you.

Regards,

Narendra.Somarouthu

Read only

0 Likes
2,332

Thanks All for your views.

Problem solved. I pressed enter key twice.

thanks and regards

Murali Krishna T