Show TOC

Modularization with Function ModulesLocate this document in the navigation structure

Function modules allow you to encapsulate and reuse global functions in an ABAP system.

You can create, display, test, and administer the following development objects in the ABAP Development Tool for SAP NetWeaver (ADT):

  • ABAP function group: Container for grouping and to defining the interface of function modules with similar or complementary functionals
  • ABAP function module: Procedures with interfaces that allow the reuse of functions within other programs
  • ABAP function group include: Container for grouping other units - for example, subroutines, PAI, PBO modules, local class declarations, event blocks, etc.

The following chapters inform you about the differences for editing function modules in the Function Builder of the SAP GUI based Workbench (SE37) and ADT.

The editor generates a synthetic view of a function module. The function module will be displayed as one source code unit. The content set is displayed as the Definition Part and Implementation Part in the editor, retrieved from the back end.

Editor that displays the source code of a function module, divided into definition part and implementation part
Figure 1: Editor that displays the source code of a function module, divided into definition part and implementation part