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: 

How Modularization Technique imrpove performance tuning?

Former Member
0 Kudos
221

Can you please tell me that how a Modularization Technique can help us to do the performance tuning?

Regards,

Subhasish

1 ACCEPTED SOLUTION

Former Member
0 Kudos
98

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.

3 REPLIES 3

former_member181962
Active Contributor
0 Kudos
98

I don't think modularization does any good to the performance of a program.

It makes the program more readable and presentable.

Regards,

ravi

Former Member
0 Kudos
99

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.

0 Kudos
98

Hi,

Modularization doesn’t 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.