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 internal table ?

Former Member
0 Likes
519

hi friends.I want to send internat table for a function.

what do ı do?

thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
498

you must the declare in imports parametre your function, but this parametre type equal your internal table type.

Read only

Former Member
0 Likes
498

Hello

1. Declare in your FM table like internal table.

2. call function 'function_name'

importing

...

exporting

...

tables

-> here indicate your table

Read only

Former Member
0 Likes
498

>

> hi friends.I want to send internat table for a function.

>

> what do ı do?

>

> thanks.

You can even send the table parameter using the importing parameters or changing parameters. in the latest versions this method is suggested.

when you are defining the table using the importing parameters or changing parameters you have to use the Tabletype, in the place where you give the Reference type.

T_VBAP       TYPE     VBAP_TT

call function 'TEST_FUNCTION'

importing

i_table = t_Table

changing

c_table = c_table.