What are modularization techniques?
Modularization is a technique used to divide the application program into smaller units to maintain easily and reduce the code redundancy. The identical logic coded in many places (either in the same program or in multiple programs) called as a redundandant code.
What are the reasons to use modularization in ABAP?
Need of Modularization
- Improve the structure of the program.
- Easy to read the code.
- Easy to maintain the code.
- Avoid redundancy and promotes code reuse.
What are the differences between subroutines and function modules?
In contrast to normal subroutines function modules have uniquely defined interface. Subroutines do not return values. Declaring data as common parts is not possible for function modules. Function modules are stored in a central library.
How does modularization work in the sap ABAP environment?
In SAP ABAP environment, modularization involves the organization of programs into modular units, also known as logical blocks. It reduces redundancy and increases program readability even as you are creating it and subsequently during the maintenance cycle. Modularization also enables reusability of the same code again.
Why is ABAP used as a modular language?
ABAP has made it necessary for developers to modularize, i.e. organizing the programs relatively more, than in the OOPS-based languages that have relatively more built-in modular features.
How is the application program divided in ABAP?
The application program in ABAP can be divided into smaller units using the technique called Modularization. Modularization is a technique used to divide the application program into smaller units to maintain easily and reduce the code redundancy.
How are processing blocks used in SAP ABAP?
The processing blocks called from outside the program and from the ABAP run-time environment (i.e., event blocks and dialog modules). Processing blocks called from ABAP programs. Apart from the modularization with processing blocks, source code modules are used to modularize your source code through macros and include programs.