Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

fuction pool

Former Member
0 Likes
470

HI,

Wht do u mean by a function pool.wht do u mean by the below statment..

FUNCTION-POOL abap_docu MESSAGE-ID sabapdocu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
441

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.

3 REPLIES 3
Read only

Former Member
0 Likes
442

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.

Read only

Former Member
0 Likes
441
Read only

Former Member
0 Likes
441

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