‎2007 Mar 06 7:25 AM
Hi all,
What is the prime difference between the Sub-routine pools and the Include programs as both are not stand-alone executable program ?
How to decide whether to go for Subroutine pool or Include at a given instance ?
Pls give your views.
Thanks,
stock
‎2007 Mar 06 7:31 AM
Hi,
Both Subroutines Pools and Include programs are used for Reusability of code.
But when the Code is big better to use Include programs and when it is small we use Subroutines.
But again Reusability of the same code in Multiple programs is must.
Mostly we use Subroutines to write reusability code, which Local to that program.
Includes with huge code and for multiple programs to access the same it is used.
Go through the Sap doc for further details.
Regards,
Anji
‎2007 Mar 06 8:04 AM