Application Development 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: 

Err msg : Tables parameters are obsolete

Former Member
0 Kudos

Hi,

I am facing a weird error. The function module i created does not allow me to define table parameters and it gives the error "Table parameters are obsolete".

Please someone help me on this

Thanks,

Rohit.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rohit,

Thats just a WARNING message....So if u insist on using a table paramter just hit 'Enter' and continue working (probably u'll have to use 'LIKE' declaration)...

Else use a table type ..

~Piyush Patil

9 REPLIES 9

JozsefSzikszai
Active Contributor
0 Kudos

Tables parameters are obsolate by subroutines, not by functions. The problem is elsewhere...

Former Member
0 Kudos

Hi Rohit,

check whether your table paramter is created with passby value or not.

try

Regards,

Chinna

Former Member
0 Kudos

Hi Rohit,

Thats just a WARNING message....So if u insist on using a table paramter just hit 'Enter' and continue working (probably u'll have to use 'LIKE' declaration)...

Else use a table type ..

~Piyush Patil

Former Member
0 Kudos

Use 'LIKE' while defining table.

e.g.

T_ACTION LIKE ZSTRUC_SERV_NOT_TXT

where ZSTRUC_SERV_NOT_TXT is a structure.

Regards,

Aparna Gaikwad

former_member705122
Active Contributor
0 Kudos

Hi,

I think it is just a warning not an error, press enter to continue.

or

Create a table type in the Dictionary for the structure then use it.

Regards

Adil

Former Member
0 Kudos

Hi rohit,

You are absolutely right..These error messages we now get for new function module..

Tables parameters is no longer allowed .

You need to decalare either a table type in type-ppols or create a table type in the Dictionary for the structure then & then use it in the changing paramerters tab.

Best of luck,

Bhumika

0 Kudos

>

> You are absolutely right..These error messages we now get for new function module..

> Tables parameters is no longer allowed ....

you are absolutely wrong.

any of you, saying the above, can you give an official reference, where SAP stating this?

0 Kudos

Eric,

In ECC 6.0 this is what SAP say's when we use Tables paramters

TABLES parameters are obsolete!

     Message no. FL069

 Diagnosis

     TABLES parameters are table parameters. Table parameters are obsolete
     CHANGING parameters that are typed as internal standard tables with a
     header line. If an internal table without a header line or a table body
     is passed as an actual parameter to such a formal parameter, an empty
     header line is generated in the function module. If an internal table
     with a header line is used as an actual parameter, both the table body
     and the header line are passed to the function module. In the case of
     formal parameters defined with TABLES, no value transmission is
     possible.

     Formal parameters defined with TABLES can be replaced by formal
     parameters defined with CHANGING. A local work area can be created in
     the function module  for the internal table using the addition LIKE LINE
     OF itab of the DATA statement in the function module.

0 Kudos

thanks Vijay! My apologies to everyone!

How comes this message? I created an FM one month ago in our new 6.0 system, used tables parameters as well, but did not get any message (also checked SLIN).