‎2006 Dec 04 7:56 AM
HI,
Wht do u mean by a function pool.wht do u mean by the below statment..
FUNCTION-POOL abap_docu MESSAGE-ID sabapdocu.
‎2006 Dec 04 8:10 AM
Hi Alex,
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.
Hope that helps. If yes, then please reward the poitns and close the thread.
Regards,
Anand Mandalika.
Regards,
Anand Mandalika.
‎2006 Dec 04 8:10 AM
Hi Alex,
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.
Hope that helps. If yes, then please reward the poitns and close the thread.
Regards,
Anand Mandalika.
Regards,
Anand Mandalika.
‎2006 Dec 04 10:31 AM
Hi,
Check the following link.
http://help.sap.com/saphelp_nw04/helpdata/en/21/682f8b277e11d2954e0000e8353423/frameset.htm
Regards,
Kinshuk
‎2006 Dec 04 10:40 AM
Hi,
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, This is usually generated by the Function Builder.
FUNCTION-POOL abap_docu MESSAGE-ID sabapdocu --> This is a Declaration of a Function pool which contains the Fucntion modules, so here the Function pool name is <b>abap_docu</b> and you are using the message class <b>sabapdocu</b> for this function pool, so if tehre is any message statment in the Function module, the message will come from this message class
Regards
Sudheer