Modularization Techniques in ABAP is a way to write codes in different processing blocks like subroutine, Function Modules and ABAP objects. In this article, we will learn what is a Modularization, its types and advantages.

Introduction

The literal meaning of Modularization is “design or production of something in a separate section”. All the ABAP programs are modular in structure. This can be easily understood from ABAP Events. All these events are different blocks and are part of general execution of ABAP programs.

Apart from this internal modularization, ABAP also provides external Modularization techniques. In this external modularization technique, ABAP codes are written in different processing blocks like subroutine, Function Modules and ABAP objects, and are called from ABAP report.

These processing blocks that we call from ABAP programs are called procedures.

Modularization Techniques in ABAP

Modularization Techniques in ABAP – Image Illustration

Definition:

Modularization Techniques in ABAP is a way to incorporate reusability in ABAP programs. It improves the readability and maintainability of ABAP programs, prevents redundancies, incorporates reusability of functions, and the encapsulation of data.

Type of Modularization in ABAP

  • Following are the processing blocks that can be called from ABAP programs:
    1.     Subroutines
    2.    Function modules
    3.    Methods (see ABAP Objects)

 

  • Following are the modularization technique ABAP allows you to modularize source code by placing ABAP statements:
    1.     Local Macros
    2.    Global Include Programs

Advantages of Modularization in ABAP

Modularization Technique in ABAP brings following advantages to ABAP programs:

  • Improves the readability and maintainability of ABAP programs
  • Prevents redundancies
  • Incorporates reusability of functions
  • Encapsulation of data

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translate »