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

PERFORM TABLE PARAMETER OK to USE????

Former Member
0 Likes
522

Hello

I know there is alot about tables to subroutines on this site.   Some posts say do not use TABLES parameter and others give examples on how to use it.   I'm confused as to use it or not.

I need to pass an internal table to a SUBROUTINE and would like to use the following format to pass may table:

FORM subroutine TABLES pi_table STRUCTURE dictionary_structure

But I have found comments that you should not use the TABLE Parameter to pass tables.  Can anyone explain why you should not use the TABLE parameter or is it OK to use?

Thanks

1 ACCEPTED SOLUTION
Read only

Abhijit74
Active Contributor
0 Likes
478

Hello,

You can use Tables parameter but this is obsolete. Better to use using or changing parameter.

By using or changing parameter you can pass your table also.

Please check this sap document for better understanding.

Thanks & Regards,

Abhijit

1 REPLY 1
Read only

Abhijit74
Active Contributor
0 Likes
479

Hello,

You can use Tables parameter but this is obsolete. Better to use using or changing parameter.

By using or changing parameter you can pass your table also.

Please check this sap document for better understanding.

Thanks & Regards,

Abhijit