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

What is a function pool?

Former Member
0 Likes
8,463

What is a function pool? How is it related to function group?

1 ACCEPTED SOLUTION
Read only

former_member209217
Active Contributor
0 Likes
3,564

Function Pool is a function group.

Suppose if your function group name is ZGROUP,then Function pool will be SAPLZGROUP which can be displayed using SE38

Regards,

Lakshman.

7 REPLIES 7
Read only

uwe_schieferstein
Active Contributor
0 Likes
3,564

Function Pool = Function Group

To be more precise:

"The introductory statement FUNCTION-POOL declares a program in which you can define function modules."

[Introductory Statements for Programs|http://help.sap.com/saphelp_nw04/helpdata/en/21/682f8b277e11d2954e0000e8353423/frameset.htm]

Regards

Uwe

Read only

former_member209217
Active Contributor
0 Likes
3,565

Function Pool is a function group.

Suppose if your function group name is ZGROUP,then Function pool will be SAPLZGROUP which can be displayed using SE38

Regards,

Lakshman.

Read only

Former Member
0 Likes
3,564

Will there be a one to one mapping between function pool & function group? A function group has only one function pool and vice versa?

Read only

0 Likes
3,564

Hello Jissa

Each function group has a single FUNCTION-POOL statement at the very beginning.

Regards

Uwe

Read only

0 Likes
3,564

Yes,There will be exactly one-one mapping

Read only

Former Member
0 Likes
3,564

HI,

The introductory statement FUNCTION-POOL declares a program in which you can define function modules. At runtime, it has the effect that u2013 during program loading u2013 a new program group with its own screens and its own shared data areas is created in the internal session of the calling program. For this reason, function groups must always begin with a FUNCTION-POOL statement. The statement FUNCTION-POOL is usually generated by the Function Builder. Other programs (executable programs, module pools, and subroutine pools) should not begin with a FUNCTION-POOLstatement, since they would then not share common data areas with the caller when loaded by an external subroutine call. However, in exceptional cases, you can force processing of your own screens for externally called subroutines if you introduce executable programs or module pools with FUNCTION-POOL. As in the REPORT and PROGRAMstatements, you can specify the message class for the program and the standard list formatting options of the program using FUNCTION-POOL.

In simple Term,,,,

The FUNCTION-POOL statement is equivalent to the REPORT statement and introduces a function group.

A function group contains function modules introduced by the FUNCTION statement and called

with the CALL FUNCTION statement.

Hope this is useful for u...

Read only

Former Member
0 Likes
3,564

Thanks for the replies. I got the concept.