03-13-2007 4:18 PM
Hi all,
what is the difference between function group and function pool?
Thanks,
Charles.
03-13-2007 4:23 PM
Hi,
FUnction Pools and Function Groups are same. When we create them we call them Function Groups as it is shown in the Workbench. But the program that is generated is called Function pool. As the name suggests its a collection of Function modules.
You cannot create a Function outside a function group. So if you want to use a function module in your program first create a function group and then create your function module inside that and then use it in your program.
REgards,
VAsanth
03-13-2007 4:24 PM
Hi,
see this link:
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db992335c111d1829f0000e829fbfe/frameset.htm
maybe it's helpful to you
03-13-2007 4:27 PM
Hi,
Function pool is nothing but an abap program where you can define function modules. When you call a function module from a function group that has not already been loaded in an internal session, an additional program group is created and into which the function group to which the function module belongs is loaded. The additional program group, along with its data, exists for the rest of the time of the internal session. For this reason function group must begin with a function pool statement.
Regards,
Ferry Lianto
03-13-2007 4:29 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 called with the CALL FUNCTION statement.
regards,
madhu
03-13-2007 4:47 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.
standar function-pool:SAPLKAEP
_________________
When you interact with a function group you are using an interface which uses the ABAP code contained in a function pool. A function group will always be in only one function pool and a function pool will always have only one function group. The function pool is the parent program of the function group. Each function module is an ABAP include in the parent program. Likewise when you interact with the function module you are using an interface that uses the ABAP include.
When you debug into a function module you will always see the main program as the function pool and the source code is the ABAP include of the function module because that is the code that is being executed. Usually SAPL prefixes the function group to create the name of the function pool.
____
Function pool is nothing but an abap program where you can define function modules. When you call a function module from a function group that has not already been loaded in an internal session, an additional program group is created and into which the function group to which the function module belongs is loaded. The additional program group, along with its data, exists for the rest of the time of the internal session. For this reason function group must begin with a function pool statement.
_______________
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 examples:
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.
-
function pool/function group is the container for the function modules that are logically related.
you need to assign ur function module to the function group at the time itz created.
sri
09-25-2023 12:33 PM
09-25-2023 12:36 PM
while creation of pdf forms, if click on layout this will come what is the sollution
09-25-2023 7:26 PM
Hello,
While we are happy that you have come to SAP Community to get an answer to your question, you posted your question as an answer in an old thread.
I have converted your answer to a comment, but even so -- posting in older threads is not the best way to get guidance.
If you're looking for help, you should ask a new question: https://answers.sap.com/questions/ask.html.
Please also make sure you post answers/comments to the correct corresponding topics. In this case, you have asked a question regarding the creation of PDF forms on a question regarding function modules.
Best regards,
Anne