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

regarding function pool

Former Member
0 Likes
422

Hi,

plz tell me what is Function Pool ?

3 REPLIES 3
Read only

Former Member
0 Likes
405

Hi

FUNCTION-POOL

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

Regards,

Venkat

Read only

Former Member
0 Likes
405

Hi,

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 is called with the CALL FUNCTION statement.

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
405

hi ,

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

In general, a programmer never writes this statement himself. When a function group is created, the system automatically generates this statement in a standard include.

The use of the statement is primarily to inform the ABAP system that the current program is a function group.

We find such a terminoloty in case of Type Groups as well. If you need to include a type group in your program, you use the TYPE-POOLS statement.

hi check this,

http://help.sap.com/saphelp_nw04/helpdata/en/9f/9983c8748f11d295c80000e82de14a/frameset.htm

regards,

venkat.