All topics
ABAPBeginner

Modularization

Learn how to structure ABAP code using FORM routines, function modules, methods, includes, classes and reusable service design.

Overview

Learn how to structure ABAP code using FORM routines, function modules, methods, includes, classes and reusable service design.

Lessons in this topic

Interview questions covered

  • Report crashes because a FORM reads an uninitialised global variable. How do you prevent it?
  • How do you design a service layer for a large ABAP application?
  • Difference between FORM and METHOD in ABAP.
  • When would you use INCLUDE programs?
  • What is the cost of many small function-module calls in a loop?
  • How do you evolve a legacy function group into a service class without breaking callers?
  • What is a Function Module and when is it required?
  • Where would you put business logic that must be reused by a report, a Fiori app and a BAPI?
  • When should you use a subroutine (FORM), a function module, and a method?

Related topics