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

FUNCTION POOLS

Former Member
0 Likes
597

could some one give details about function pools.

4 REPLIES 4
Read only

abdul_hakim
Active Contributor
0 Likes
539

Hi

Welcome to SDN.

Function Pool is the pool for function modules and other includes that are created in this function group.

Function Pool will be automatically created once you have created the Function Group.

Simply saying it is the containter to hold Function Modules and other includes belonging to it.

Hope this will help!!

Thanks,

Abdul

Read only

Former Member
0 Likes
539

Hi Sudheendra,

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.

Hope This info Helps YOU.

<i>Reward Points If It Helps YOU.</i>

Regards,

Raghav

Read only

Former Member
0 Likes
539

you can create a function group by using SE37, going :

GOTO->FUNCTION GROUPS->CREATE GROUP.

give your function group name & description.

then in future whenever you create any Function module,you can assign that to this func group.

if you are specific to know,pl mention it. we will send you more details docu for that.

regards

srikanth

Read only

Former Member
0 Likes
539

Hi

Welcome to SDN.

Each ABAP program type has a statement that introduces programs of that type:

Program type - Introductory statement

F - 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.

To Create a Function Group:-

Go to Transaction Se37:-

On the screen that appers use following menu path.

Goto->Function groups->Create Group->Enter some name....

Now to create a Function module which ask for a function group..give the same as created.

In this way u can use Function modules.

Do rewards if u find it helpful...and ask for clarification.

Regards

-


Sachin Dhingra