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: 

dynamic internal table in Subroutines

Former Member
0 Kudos

Can we pass Dynamic internal table in subroutine.

I tried doing this. but it is not working

perform xyz tables <DYN_tab>.

form xyz tables <DYN_tab> type standard table

endform

Kindly provide me some solution for this.

Moderator Message: Read the F1 documentation on USING & CHANGING additions and figure it out yourself

Edited by: Suhas Saha on Nov 7, 2011 5:11 PM

1 REPLY 1

Former Member
0 Kudos

Hi

Don't use TABLE, but USING:

form xyz USING P_ITAB TYPE TABLE

endform .

PERFORM XYZ USING <DYN_TAB>.

Max