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

Difference between Sub-routine pool and Include Programs

Former Member
0 Likes
729

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

2 REPLIES 2
Read only

Former Member
0 Likes
456

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

Read only

Former Member