‎2008 Mar 11 8:00 AM
‎2008 Mar 11 3:23 PM
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
‎2008 Mar 11 3:27 PM
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.
‎2008 Mar 11 3:27 PM
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.