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: 

How to export table in the function module

Former Member
0 Kudos

Currently, i am using SAP ECC 6.0. while i am trying to define the table as output in the function module. it is showing that you are not allowed to define the table, and it is obsolete. Any one knows how to define the table as output or input for the function .

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

THe use of the TABLES parameter in function modules is obselete, but still is used in a lot of places. The correct way to pass tables in/out of a function module, is to define a table type in the ABAP dictionary, then use this table type to describe your parameter in either the IMPORTing or EXPORTing parameter tabs.

Regards,

RIch Heilman

1 REPLY 1

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

THe use of the TABLES parameter in function modules is obselete, but still is used in a lot of places. The correct way to pass tables in/out of a function module, is to define a table type in the ABAP dictionary, then use this table type to describe your parameter in either the IMPORTing or EXPORTing parameter tabs.

Regards,

RIch Heilman