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

Generate Subroutine Pool

Former Member
0 Likes
775

Why do we use generate subroutine pool keywords?

what is the actual purpose?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
667

To store only sub routines..

it contains several sub routines which can be used in other programs/reports..

For creating sub routine pool.. you have to give prog type as sub routine pool..

You use subroutines from this pool once u add SUBROUTINE-POOLS : Zsubpool.

Regards

Prax

2 REPLIES 2
Read only

Former Member
0 Likes
668

To store only sub routines..

it contains several sub routines which can be used in other programs/reports..

For creating sub routine pool.. you have to give prog type as sub routine pool..

You use subroutines from this pool once u add SUBROUTINE-POOLS : Zsubpool.

Regards

Prax

Read only

Former Member
0 Likes
667

hi

The subroutine pools can be generated by using the following syntax: GENERATE SUBROUTINE POOL itab NAME prog [error_handling]. This statement generates a temporary subroutine pool . The source code of the subroutine pool is taken from the internal table itab. The generated subroutine pool is stored internally in the current internal mode.

go thru the link

http://help.sap.com/saphelp_nw04/helpdata/en/9f/db999535c111d1829f0000e829fbfe/content.htm

<b>

reward points for useful ans</b>

Regards

Aarti