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

Q] What is a FUNCTION u0096 POOL?

Former Member
0 Likes
615

Q] What is a FUNCTION – POOL?_in simple terms_

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
593

Function pool or better, function group, is a development object in which function modules which logically belong together are stored. For example a function group for a business partner in which a fm is for displaying, creating and changing Business partner.

Q] What is a FUNCTION – POOL?_in simple terms_

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
594

Function pool or better, function group, is a development object in which function modules which logically belong together are stored. For example a function group for a business partner in which a fm is for displaying, creating and changing Business partner.

Read only

Former Member
0 Likes
593

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

Read only

ak_upadhyay
Contributor
0 Likes
593

Hi,

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

The introductory statement FUNCTION-POOL declares a program in which you can define function modules. At runtime, function pool programs are loaded in to a new program group with their own user dialogs and their own shared data areas in the internal session of the calling program. For this reason, function groups (type F programs) must always begin with a FUNCTION-POOL statement. This is usually generated by the Function Builder. Type 1, M, or S programs should not begin with a FUNCTION-POOL statement, since they would then not share common data areas with the caller. However, in exceptional cases, you can introduce a type 1 or type M program with FUNCTION-POOL to ensure that externally-called subroutines can process their own screens. As in the REPORT and PROGRAM statements, you can specify the message class and standard list formatting options of the program in the FUNCTION-POOL statement

Reward points if useful....

Regards

AK