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

functional module & functional group

Former Member
0 Likes
1,749

Dear gurus,

can i call both Function Module and Function Group?

Regards

R.Rajendran

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,646

Function pools, more commonly known as "function groups", are libraries of functions developed in ABAP

FG can't be called

All of the function modules in a function group can access the global data of the group. For this reason, you should place all function modules that use the same data in a single function group. For example, if you have a set of function modules that all use the same internal table, you could place them in a function group containing the table definition in its global data.

FG are container for FMs

9 REPLIES 9
Read only

Former Member
0 Likes
1,647

Function pools, more commonly known as "function groups", are libraries of functions developed in ABAP

FG can't be called

All of the function modules in a function group can access the global data of the group. For this reason, you should place all function modules that use the same data in a single function group. For example, if you have a set of function modules that all use the same internal table, you could place them in a function group containing the table definition in its global data.

FG are container for FMs

Read only

ThomasZloch
Active Contributor
0 Likes
1,646

you can call a function group, but she will not answer, most probably.

Read only

MarcinPciak
Active Contributor
0 Likes
1,646

Hello,

FUNCTION MODULE are collected in more general entity called FUNCTION GROUP.

It is just like a container for them. FUNCTION GROUP consists of its own global data and FUNCTION MODULES within it.

It is like different MODULES of screen are kept in one MODULE POOL.

When you call FUNCTION MODULE you refer to its FUNCTION GROUP anyway, therefore you can use its global data in its FUNCTION MODULES.

For more info refer to this link

http://help.sap.com/saphelp_45b/helpdata/en/9f/db988735c111d1829f0000e829fbfe/content.htm

<removed_by_moderator>

Cheers

Marcin

Edited by: Julius Bussche on Jun 23, 2008 7:56 PM

Read only

Former Member
0 Likes
1,646

hi

no

basically a funtion group sonsist of an buntch of funtion module

but when u call an funtion module the toal funtion group get into ur memery so as to make processing fast .

for more information of funtionn module refer to this link

Cheers

snehi

Read only

Former Member
0 Likes
1,646

Hi,

Function modules are procedures that are defined in function groups (special ABAP programs with type F) and can be called from any ABAP program. Function groups act as containers for function modules that logically belong together.

Function groups are containers for function modules. You cannot execute a function group. When you call an function module, the system loads the whole of its function group into the internal session of the calling program.

http://help.sap.com/saphelp_nw70/helpdata/en/9f/db98ef35c111d1829f0000e829fbfe/content.htm

Regards

Adil

Read only

Former Member
0 Likes
1,646

Hi,

For matter of understanding consider function group as a folder and

function module as a file.... The thing is you use a file present in the folder and not the folder because it consists of no application where as file in that folder serves you the purpose needed....

AS like as that FUNCTION GROUP contains multiple function modules which u can use wherever and whenever necessary... In general function group contains all the function modules related to a particular thing.. so as to identify and check all the related function group for further kind of such function modules...

Hope i made you clear...

if any doubts plz revert back..

<removed_by_moderator>

Regards

Narin Nandivada

Edited by: Julius Bussche on Jun 23, 2008 7:57 PM

Read only

Former Member
0 Likes
1,646

Hi!!

Several function modules are stored in one function group.

When you call one function module. Its corresponding function group automatically gets loaded into your report program internal session.So if you call another function module in your report program you don't need to call this function group again.

Regards

Abhijeet Kulshreshtha

Read only

Former Member
0 Likes
1,646

Hi Raj,

Function group is a collection of various function modules which are logically related together. In function group, data objects can be declared. These data objects act as global variables for the function modules in that function group. That is every function module can acces those variables.

Coming to your concept of calling function groups and function modules, when we call function module, it calls the function module and also the global data of that function group. Yes we can call function group, but we need to be specific about our function module in that group.

Hope this helps you.

Any queries, get back to me.

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
1,646

Hi,

Funtion groups the container for Funtion Modules.It Also Contain Global Data Used by the Function Module,Screens

Subroutines.

Whenever you call a funtion module in your program,the whole function group is loaded into internal session of the your calling program.

So Here is no need of of calling the Funtion group Explicitly.

Again if you call another function module of that Funtion group in your same program the the function Group is not again loaded because it has already been loaded.

If Any Confusion Pls Get Back

Regards,

Sujit Pal