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

Table parameters are obsolete

0 Likes
2,952

Hi,

I am working on creating a function module for generic extraction. When I am working on my function module using
RSAX_BIW_GET_GET_DATA_SIMPLE as a template, I have run into an error " table p
arameters are obsolete!”
when I have clicked on table tab to specify the following:

Parameter Name: E_T_DATA
Typing: LIKE
Associated Type: <the structure name which I have created for this FM>
Optional check: checked

I got struck ed with my function module and have to abort it before exit.

Could anyone help me to resolve this?
Could you also explain to me how E_T_DATA and the structure I have created related in the above setting?

Regards,

Santhosh Kumar.K

4 REPLIES 4
Read only

Former Member
0 Likes
2,432

Hello Santhosh ,

Declare E_T_DATA in "changing tab" instead of "table tab".

Hope this will solve your issue.

thanks,

Gejo john

Read only

Former Member
0 Likes
2,432

Santhosh Kumar

Tables parameter is obsolete in SAP now. you can pass your structure in EXPORTING or CHANGING

If your associated type is a structure that you have created in SE11, you can use LIKE. If your associated type is a line type/table type you can use TYPE. This should solve the problem.

Thanks,

Vikram.M

Read only

kakshat
Product and Topic Expert
Product and Topic Expert
0 Likes
2,432

Hi Santhosh,

As Vikram wrote, you can use EXPORTING or CHANGING parameters. However, it's better to use TYPE and not LIKE (http://help.sap.com/abapdocu_731/en/abapfunction_typing_obsolete.htm) irrespective of whether it's a structure or a table type.

Read only

0 Likes
2,432

Thanks all for your replies...I solved this problem just by giving one more enter cos its a warning message....