Application Development 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: 

Performance problem with Function Group

Former Member
0 Kudos
198

Hi All,

when we call a FM .. all the function modules which are present in that function group will be copied into the Main memory .

so how to solve the performance problems that occur..

Regards,

Sravan.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
145

The performance problem didn't come from loading the function group. Any performance problem that exists is going to come from executing the code inside the includes that are the function modules.

6 REPLIES 6

Former Member
0 Kudos
145

It is normal, because technically speking, function group is normal abap program.

So if you call one FM of the func. group - whole program with all includes is read into memory. Function modules are stored (their source code) in one of these includes. This means that all FM are stored in memory.

If you want prevent this - take out this FM out of group into its own group. Or split fm of this one big group into more smaller based on some logic.

0 Kudos
145

any other solutions please....

0 Kudos
145

Hi,

how did you come to the conclusion that your performance problems are related with the memory consumption

of the function group source / load?

Kind regards,

Hermann

0 Kudos
145

Hi ,

Thanks for your reply .

cheers,

sravan

Former Member
0 Kudos
146

The performance problem didn't come from loading the function group. Any performance problem that exists is going to come from executing the code inside the includes that are the function modules.

former_member194613
Active Contributor
0 Kudos
145

you should analyse your problem more carefully before asking:

+ you can have performance problems related to the execution of function modules.

+ you can also have memory related performance problems by loading huge function groups (non standard).

The fix for the second are smaller and welldefined function groups.

The solutions for the second are constantly discussed here.

Siegfried