Skip to Content
author's profile photo Former Member
Former Member

soubroutine pool

hi experts,

plase give the answer to my question ,it is very use but i have confusion on that.

1. what is subroutine pool?

i know only subroutine pool means collection of subroutines. but i do not know where subroutine pool stores.

2. i have confusion we have function modules why i am go for subroutines?

3. can any one give the answer to subroutine pool ?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Aug 14, 2008 at 07:03 AM

    HI ,

    SEE BELOW THREADS...

    subroutine

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 07:04 AM

    Hi Kartik,

    Just go through the following link:

    subroutine

    Hope this will help you.

    Regards,

    Nitin.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2008 at 07:46 AM

    Hi

    For youre questions, I would like to give you my opinion.

    1. In standard SAP program, if you create a type S program, and in this program you declare all the

    subroutines which will be used in standard program. Then you can call it subrountine pool. So you see it is

    just a program with type S. You can call the subroutine defined in it like

    PERFORM <sub_name>(<program_name>).

    2. Function module is also a kind of special external subroutines. Usually fuction module is designed for

    all the programs, it focuses on reusability while subroutine pool is designed for one or several programs, it

    focuses on readability of program.

    Another point, function module must be assigned to a function group. And when we call a function

    module the system will automatically load all the functions which belongs to the same function group. So it

    will cost more unneccessary memory. While you use subrountine pool, even if all the subroutine are loaded,

    the memory does not waste because all the them will be used.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.