‎2007 Oct 01 11:44 AM
‎2007 Oct 01 11:46 AM
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.
For Example:
Go se80...enter the function group name and hit enter..tree will be listed ..you will righ-click on the function group name and choose copy.. It will ask you what function modules you want to copy, just copy all and make sure to following the naming convention, start with Z_ then you can copy and modify any includes that you need.
standar function-pool:SAPLKAEP
Regards
Vasu
‎2007 Oct 01 11:49 AM
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.
<b>Maintaining the Additional Function Pool Locate the document in its SAP Library structure</b>
All interactive functions for adjusting query lists (Display as table, Download to file, ABC analysis, and do on) work according to the same principles: Data from a sublist together with a description of this data is passed to another program (function module) using an interface. Enhancement SQUE0001, which is intended for customer use, also works according to this principle (see Enhancement SQUE0001: Private File).
The number of functions that can be attached to query lists in this way is not limited. The Additional function pool acts as a container for these functions.
The Additional function pool function bundles an arbitrary number of interactive functions for single-line sublists that work according to the principles for passing data outlined above. Each of these functions must be implemented using a function module with a defined interface. Which and how many of the functions you want to make available to the user can be determined by using the maintenance component for the Additional function pool. You call the additional function pool maintenance screen (transaction SQ09) from the initial screens of both the InfoSet maintenance component and the user group maintenance component by using either the function Environment ® Additional function pool or its corresponding pushbutton.
When you call the additional function pool maintenance component, a screen appears listing all of the functions already contained in the additional function pool. For further information, refer to the section on the Additional Function Pool.
In addition, the number of new functions or functions of your own that you can enter in the Additional function pool is unlimited.
Each function that you want to call using the additional function pool must be:
...
1. Implemented as a function module with a fixed interface
2. Entered in specific tables in the SAP system
3. Released for use in the additional function pool (activated)
Note
Note
Caution
Note
Because all additional function pool settings are valid in both query areas, all changes made to the additional function pool take effect in both the global area, and in all clients in the standard area of your SAP system.
Regards
Pavan
‎2007 Oct 01 11:53 AM
Hi
Function Pool is nothing but Function Group.
It is used to Store a Group of Logically related Function modules
For Eg: SCAL is a Function Group for Calendar related FMs.
Tcode SE37.
Goto -> Function Group (Create/ Change / Display / Find)
<b>REWARD IF HELPFUL.</b>