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

Regarding Function module call

Former Member
0 Likes
520

Hi Guru s

Can any body explain how many Function modules are stored in One function group.

And What happen when I call 1 function module in a F.Group.

Thanks in advance,

Kumar.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
500

I think there isn't any limit of creating FM in the FG. You can create as many as you want.

Whenever you call any FM, system will allocate the memory to all the data declared in the TOP include of the FG, irrespective of the variables being used in the FM.

So, whenever you are creating FMs try to put them in the different FGs. Don't mix FMs which are not relevent to eachother in the same FG.

You can go for the Class and Method to overcome all the problems of FG and FMs.

Regards,

Naimesh Patel

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
501

I think there isn't any limit of creating FM in the FG. You can create as many as you want.

Whenever you call any FM, system will allocate the memory to all the data declared in the TOP include of the FG, irrespective of the variables being used in the FM.

So, whenever you are creating FMs try to put them in the different FGs. Don't mix FMs which are not relevent to eachother in the same FG.

You can go for the Class and Method to overcome all the problems of FG and FMs.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
500

You can have up to 99 funtion modules within one function group.

The function module includes are named INCLUDE LxxxxxxxxxU01 to LxxxxxxxxxU99 hence the limit of 99.

If you call one funtion out of that function group or any other only the coding within that function is executed.

Is that what you were looking for?

Regards,

Michael

Read only

Former Member
0 Likes
500

Hi,

Function group can be defined it as collection of Function

modules. This Function groups are presents in the Packages

where we can create in the SE38. So,that all packages are

consists in the Function Groups.All function groups are

consists Function Modules.This function modules are created

at enhancements/Exists.

A function group can hav any no. of FM's.

there is no restriction.

reward if useful

thanks and regards

suma sailaja