Function Pool & Function Group
Hi Abapers,
I need some information regarding the function group & function pool are client dependant or independant ?
And where we can check it ?
Thanks
Nani
Hi,
Function Pool and Function Group are one and the same thing.
Just when we view the Program for the Function Group it shows as Function Pool. When we view the Function group associated with Function Module, it displays Function group.
This can be viewed using SE37--> Goto --> Function Groups --> Display/Create/Change
The Program can be viwed using SE38.
Juts concatenate SAPL before the Function Group name and view it in SE38.
Regards
Himanshu
Similar Messages
-
Dear All,
I copied the standard program SAPLMR1M, Function modules & Function group of MIRO transaction. And i created the ZMIRO transaction. But when i try to execute the transaction it is throwing an error as Tcode not in T169 table.
Do anyone help me on this problem.
Thanks in advance,
Regards,
SadiqHi sadiqulla,
1. There are some function pools, function groups
like miro
which check the tcode for making certain decisions.
ie. whether display, edit,insert mode , etc.
2. The table T169 must be some configuration
table / sap table.
The function group must be checking
the entry in that table.
3. BUT
your program must be running with some Z tcode.
hence it is not able to find it in that table.
4. U will have to search that code
and replace the source code appropriately.
(If customization does not help)
I hope it helps.
regards,
amit m. -
Function pool relation to Function group
Hi friends,
Could you please clarify for me how the 2 are related? I can understand function group but not sure what is function pool and how it relates to function group and function module.
I have searched the online help but its not clear to me. Please give me simpler explanations.
Thanks
SriHi Sri - 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.
Hope this helps.
Andy -
We installed a new system and imported the syncbo definitions to this new system.
After the import and generation of all T01 SyncBOs we get an error. E.g. for MAM25_016:
Function modules from the function pool Z_MEREP_GEN_T01_MAM25_016 contain syntax errors
Message no. MEREP_00530
After investigation the following syntax error is shown:
Source code LZ_MEREP_GEN_T01_MAM25_016U04 Line 641
The FORM "MAM25_016_CONV_NAME" does not exist, but there is a FORM with the similar name "MAM25_016_I_CONVERSION".
"MAM25_016_I_CONVERSION".
We are already using three systems D -> Q -> P. The export/import of files between these systems work okay. But not with the new system. All are on NW04 SPS 18. In the other systems the form is available.
Does someone have an idea how to solve this?
Thanks in advance,
Benjamin de RijkeHello Rahul / Karthick,
Thanks for the tip, I already reimported these with no effect. Next to this I deleted the function modules for a Z-syncbo (our own developed one). But this didn't help as well. The MAM-SyncBO function group can not be deleted because the system is not a developement system. We are not allowed to develop things in this environment.
I have the feeling that it has something to do with the initial setup of this system. All the others were first on SPS15 were we developed the SyncBOs. At a certain time we updated the systems to SPS18 and developed further. No issues so far regarding the import / export of the files from D to Q and P.
Now we initial installed a new system on SPS18 and on this one the generation failes with the mentioned syntax error.
Kind regards,
Benjamin -
Calling a Function Pool inside a Class
Hi,
I want to call a Function Pool inside a Class Method. I am getting an Error that 'Report or Program Statement already exists' when I call the function pool in the method. can anybody help me on how to call a Function Pool inside a class method.Hello Krish
Based on your error description I assume that you have tried to "insert" the function pool program (e.g. function group ZFUNC -> SAPLZFUNC) into your class.
You cannot do that. The explanation for the error message is a following:
- The class contains already a program statement (CLASS-POOL). If there is somewhere in the class an additional program statement (e.g. FUNCTION-POOL) you will get the error.
In addition, you cannot "call" a function pool. Instead you can always call the function modules of your function group.
Regards
Uwe -
What is a function pool?
What is a function pool? How is it related to function group?
HI,
The introductory statement FUNCTION-POOL declares a program in which you can define function modules. At runtime, it has the effect that u2013 during program loading u2013 a new program group with its own screens and its own shared data areas is created in the internal session of the calling program. For this reason, function groups must always begin with a FUNCTION-POOL statement. The statement FUNCTION-POOL is usually generated by the Function Builder. Other programs (executable programs, module pools, and subroutine pools) should not begin with a FUNCTION-POOLstatement, since they would then not share common data areas with the caller when loaded by an external subroutine call. However, in exceptional cases, you can force processing of your own screens for externally called subroutines if you introduce executable programs or module pools with FUNCTION-POOL. As in the REPORT and PROGRAMstatements, you can specify the message class for the program and the standard list formatting options of the program using FUNCTION-POOL.
In simple Term,,,,
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.
Hope this is useful for u... -
Hi All,
How to know report name through Function pool.
Example I have function pool name want to know report name.
Regards
ArifHi Mohd Arif,
Go to SE80 Select Function Group and give the name in there and will get all the objects under the Function Group.
Regards,
Pavan -
hello experts,
i want to delete function pool from my developement client as it is not assigned to any function group.
how to do it..??
thnax in advance..Hi suchitra B. dange,
questions like this come from people that still use whatever transaction instead of SE80 ABAP workbench.
Start SE80, select function group, give name. In the tree, right click on object, delete.
Regards,
Clemens -
New Function Pool Program Question?
I am new to these processes.......If I copy a Function Pool Include to a new one, and create a new Function Group to link it to, thus I assume a new Function Pool SAPLZXXX program will will be automatically created, I am trying to determine how, or where config?, is done to link it (the new Function Pool/SAPLZXXX) to its process?
Any input will help.....Thank-You.Hi,
When you create a Function group under a Function pool, then inside of that Function group main program there will be some includes
· LfgrpTOP. This contains the FUNCTION-POOL statement (equivalent for a function group of the REPORT or PROGRAMstatement) and global data declarations for the entire function group.
· LfgrpUXX. This contains further INCLUDEstatements for the include programs LfgrpU01, LfgrpU02,... These includes contain the actual function modules.
· The include programs LfgrpF01, LfgrpF02,... can contain the coding of subroutines that can be called with internal subroutine calls from all function modules of the group.
Regards
Sudheer -
Hi exprts,
I have copied BSPL function pool and copied all Function Modules from it and converted them to Z Function Modules.
but while Calling this z function from my program i am not able to get my final output table filled.
Does anyone having idea what is the procedure for coping the function pool.
Thanks,
Pratik VoraHi,
Make a copy using SE80, enter the function group name and hit enter, now from the tree structure, 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 modify any includes if neccessary.
Regards,
Omkaram. -
Newbie question on function pool
Hi Abap Gurus,
I could not locate function pool after searching in se80.
Could you advise how function pools are found?
Thanks in advance
M.MHi,
Function Pool is nothing but a Function Group. So in se80 select Function group and search for the one you are looking for.
Regards,
Sesh -
i have program rsrfcrfc it calls function pool SAPLCRFC
where are they linked
i want that cos i have created zrsrfcrfc
and sapzcrfc
but could find where i could link these both z objectsFunction-Pool is nothing but a 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 groups must begin with a function pool statement.
You can execute it normally as a report program.
Regards,
Pavan -
How we can check unicode check for function-pool.
hi experts,
how we can check unicode check for function-pool.
pls tell needy.
regards,
praveenYou can check the Unicode in the function group or use transaction UCCHECK
-
What is meany By Module Pools and Functional Pools
Hi gurus,
I want to know what are module pools and functional pool. If any of you have some information on it, I would be glad if you can share it with me
Regards
JasonHi Jason
Module pool is a type of program that contains steps of screens and can only be executed with a transaction code or menu function.
function-pool is the introductory statement for programs of type Function Group, these are programs in which you can define function modules.
Take a look at this:
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/21/682f8b277e11d2954e0000e8353423/frameset.htm">Program Types and Execution</a>
I hope it helps. -
Hi,
plz tell me what is Function Pool ?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.
Maybe you are looking for
-
Error while accessing BSAD Table with dunning date
Hi , I developed a report for FI module accessing BSAD table with default customer ranges and for specific dunning dates - It ran for a very long time and timed out - (I know this is due to huge volume of data) - Is there any way to access BSAD table
-
Hi guys, We are facing a dump error in GB06 tcode.Whenever a reverse posting is done its going for dump.It says - The following sytax error occured in the program SAPFGSTO and in include FGSTOI02 and in line 16.When i checked in line 16, a FM - case
-
Some files have a black overlay, cannot read
This is not an online problem. Some pdf files and some pages of some files have a black overlay, and I cannot read the material. I can select all and copy, and it will show the text (only) in Word, and I can print the file without a problem, I just c
-
My new iphone 5 connects to my work WPA2 enterprise wifi when I manually select the network in settings, but if I walk off campus and then return, the phone does not automoatically detect and re-connect to the same wifi network. I've already done ge
-
Exactly which application is linked to dock?
I have a problem, probably originating my haste and lack of total understanding. Anyhow, I now have several versions of the same program in my applications folder. Most of them do not work well, when I select them directly. But the one somehow linked