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 moudule error - table parameters obsolete

Former Member
0 Likes
900

Subject changed by moderator. Please use a meaningful subject in future

Hi SAP-ABAP experts,

can i get get the information for the following error.

when i was giving *structure* name in tables parameter and gave the 'TYPE' as type in function module screen i was getting the error like this,

TABLES parameters are obsolete.

in 4.7e the function module got activated but in ecc 6.0 i am getting the error like that. can u please clarify the issue

will the type declaration be chaged according to versions of SAP ABAP.

Thanks,

Kavitha.P

Edited by: Matt on Nov 26, 2008 8:09 AM

5 REPLIES 5
Read only

GauthamV
Active Contributor
0 Likes
753

hi,

Tables parameter is absolete in Ecc 6.0 version.

Read only

matt
Active Contributor
0 Likes
753

Please use a meaningful subject in future

You can still use table parameters, but, unless you are using RFCs, you should use IMPORT, EXPORT or CHANGING parameters that are defined to a table type.

matt

Read only

Former Member
0 Likes
753

1. Create a structure in SE11, this will include all the fields you want.

2. Create a Table type in SE11, referring the above structure as the row type.

3. Now, when you use this table type you would need to have a work area to process the data of the table. So, in the program declare a variable with ref to the structure created in Step 1.

Then you can use

LOOP AT T_ITAB INTO WA_ITAB.

ENDLOOP.

where T_ITAB is referring to table type and WA_ITAB is referring to structure.

Thanks

Saurabh

Read only

Former Member
0 Likes
753

Hi Kavitha,

I tried it and I am getting a WARNING message only.

that means still you can use it though it is obsolate.

this is to best of my knowledge.

Regards

Ramchander Rao.K

Read only

Former Member
0 Likes
753

Hi Kavitha,

Tables parameter is obsolete in ECC 6.0.

As a replacement, Create a table type in Se11 of the type internal table.

Now when you are decalring the internal table in Changing parameter give the reference of that table type.

Create another work area in the source code of function module.

Now loop the Internal table as usual.

Hope this will help.

Regards,

Nitin.