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 problem for IDOC

Former Member
0 Likes
833

Hello Experts,

I'm creating a Function Module for an IDOC processing and while I was setting the tables in Tables tab I'm getting the error "TABLES parameters are obsolete", The parameter in error is:

IDOC_CONTROL TYPE EDIDC Control record (IDoc)

TYPE and EDIDC are colored in RED when the error is displayed.

I also have under the control parameter the parameters:

IDOC_DATA --> EDIDO

IDOC_STATUS --> BDIDOCSTAT

RETURN_VARIABLES --> BDWFRETVAR

SERIALIZAION_INFO --> BDI_SER

can you please advice what is the problem and how to resolve?

Thanks,

1 ACCEPTED SOLUTION
Read only

Sandra_Rossi
Active Contributor
0 Likes
772

First, this is just a warning, not an error (press Enter to bypass the message).

Of course, you should not use TABLES, but you have not the choice if the function module is called dynamically by SAP, which I think may be what happens here.

5 REPLIES 5
Read only

ThomasZloch
Active Contributor
0 Likes
772

The problem is obvious, please search for "TABLES parameters are obsolete".

Instead use an EXPORTING parameter with reference to table type EDIDC_TT for example.

Thomas

Read only

Former Member
0 Likes
772

Hi Samir Fares

reference using LIKE for table parameters

Info:

<long text of message FL069 removed> Please do not copy/paste without source!

above info helps you

Thanks

Ramesh

Edited by: Thomas Zloch on Apr 6, 2010 3:56 PM

Read only

0 Likes
772

Hello Ramesh,

In the Typing column I'm not allowed to put LIKE or LIKE LINE OF the only allowed is TYPE and TYPE REF TO,

do you mean by what you said that I can use CHANGING tab to specify parameters instead of TABLES tab?

would this do the work?

Regards,

Read only

Sandra_Rossi
Active Contributor
0 Likes
773

First, this is just a warning, not an error (press Enter to bypass the message).

Of course, you should not use TABLES, but you have not the choice if the function module is called dynamically by SAP, which I think may be what happens here.

Read only

0 Likes
772

Hello Sandra

You got it in the heart, Thanks. the function is dynamically called and I have to define the tables parameters.

Thanks a lot