‎2010 Apr 06 2:11 PM
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,
‎2010 Apr 06 8:51 PM
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.
‎2010 Apr 06 2:18 PM
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
‎2010 Apr 06 2:45 PM
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
‎2010 Apr 06 2:58 PM
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,
‎2010 Apr 06 8:51 PM
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.
‎2010 Apr 07 8:24 AM
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