2014 Feb 11 4:06 PM
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
2014 Feb 11 4:10 PM
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
2014 Feb 11 4:10 PM
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