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

hashed table in export parameter

Former Member
0 Likes
692

Hi gurus,

Is it possible to define a hashed (or sorted) table as an export parameter in a function module?

Thanks!

3 REPLIES 3
Read only

Former Member
0 Likes
555

Hi,

Sorted table is possible.

Not sure about hashed one.

regards,

Prosenjit.

Read only

0 Likes
555

Thanks! Sorted table is sufficient for me.

Read only

Former Member
0 Likes
555

Hello Bin Wang,

The actual parameter need only have the selection of attributes possessed by the formal parameter. The formal parameter adopts its remaining unnamed attributes from the actual parameter.

TYPE SORTED TABLE: The system checks whether the actual parameter is a sorted table. The formal parameter inherits all of the attributes (line type, key) from the actual parameter.

TYPE HASHED TABLE: The system checks whether the actual parameter is a hashed table. The formal parameter inherits all of the attributes (line type, key) from the actual parameter.

You should use USING or CHANGING instead of the TABLES addition for internal tables, although for performance reasons, you should not pass them by value.

Hope you find it useful

Regards

Indu.