2006 Jul 06 11:16 AM
Can you please tell me that how a Modularization Technique can help us to do the performance tuning?
Regards,
Subhasish
2006 Jul 06 12:21 PM
Modularization makes the program more legible and readable. ie It's noting but building up Perform....FORMS for the execution of "lines of code" .
However it may effect your performance if you have not Modularized them properly. As a best practice and for better performance, sap code executes from top to bottom.
Then writing the FORM--ENDFORM in the beginning and making the PERFORM call from the bottom is not a best practice of writing code and that will effect the performance.
As a better practice to improve the performance, it is suggested to write the FORMS below and closest to the place from where it is called.
rgds,
TM.
2006 Jul 06 11:19 AM
I don't think modularization does any good to the performance of a program.
It makes the program more readable and presentable.
Regards,
ravi
2006 Jul 06 12:21 PM
Modularization makes the program more legible and readable. ie It's noting but building up Perform....FORMS for the execution of "lines of code" .
However it may effect your performance if you have not Modularized them properly. As a best practice and for better performance, sap code executes from top to bottom.
Then writing the FORM--ENDFORM in the beginning and making the PERFORM call from the bottom is not a best practice of writing code and that will effect the performance.
As a better practice to improve the performance, it is suggested to write the FORMS below and closest to the place from where it is called.
rgds,
TM.
2006 Jul 06 12:27 PM
Hi,
Modularization doesnt improve performance and at micro level it hampers the performance coz it leads to context change in micro-processor.
The advantage of modularization is:
1. Readability.
2. Code reusability
3. Providing structure to your code.
Regards,
Sumit.