10-20-2008 8:20 AM
Hi Experts ,
I have an issue in using Function module in ECC 6.0 , while passing data in table parameter is showing an error as ' Table parameter is obselete'. Can u please suggest any other way of passing table in function module.
<removed_by_moderator>
Edited by: Julius Bussche on Oct 20, 2008 10:35 AM
10-20-2008 8:23 AM
10-20-2008 8:24 AM
Hi
I think it is a warning gets pop up when ever you try to pass the internal table to FM by using Tables paramater instead you pass the internal table by using CHANGING you can pass the entire internal table
Regards
Pavan
10-20-2008 8:26 AM
Hi Kishore,
Your system administrator can give you better solution to over come from that error do that.
Cheers!!
Balu
10-20-2008 8:36 AM
Hi Kishore,
it is just a warning message. u can still use tables parameter. now, sap recommends to use changing parameter instead of tables parameter. so u may still use the tables parameter which is fine or u can shift over to changing parameter.
regards,
Anoop
10-20-2008 8:47 AM
10-20-2008 9:34 AM
use table types:
types: ty_struc type ...,
ty_tab type standard table of ty_struc.
data: it_tab type ty_tab.
...
call function ...
changing it_tab
...
Don't use TABLES parameters any more, they have implicit header lines, which is a no-no in ABAP Objects context.
Thomas