2010 Feb 25 9:29 AM
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.
2010 Feb 25 12:29 PM
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.
2010 Feb 25 9:43 AM
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.
2010 Feb 25 11:59 AM
2010 Feb 25 12:16 PM
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
2010 Feb 25 12:33 PM
2010 Feb 25 12:29 PM
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.
2010 Feb 25 2:35 PM
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