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

passing dynamic table to function module

Former Member
0 Likes
2,232

Hi All,

i have populated a dynamic internal table & now i have to pass this dynamic internal table from function module so that i uses

this code. & define ITAB in fm TABLE parameter as generic table( means i have given only ITAB in parameter name and left all blanks) but now i'm getting error that "ITAB" is not the type of internal table. pls suggest me ur views,

regards,

FIELD-SYMBOLS: <WA> TYPE ANY.

DATA : WA TYPE LINE OF ITAB.

LOOP AT <dyn_table> ASSIGNING <wa>.

MOVE-CORRESPONDING <dyn_wa> TO WA.

INSERT wa INTO TABLE itab.

ENDLOOP.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
771

Anuj,

juat refer:

Amit.

2 REPLIES 2
Read only

Former Member
0 Likes
772

Anuj,

juat refer:

Amit.

Read only

Former Member
0 Likes
771

it's help me much.

Thanks