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

How Modularization Technique imrpove performance tuning?

Former Member
0 Likes
728

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

Regards,

Subhasish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
605

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
Read only

Former Member
0 Likes
605

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

It makes the program more readable and presentable.

Regards,

ravi

Read only

Former Member
0 Likes
606

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.

Read only

0 Likes
605

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.