ABAP Function Groups

Function modules are procedural blocks stored centrally in the global Function Library of the SAP system. Every function module belongs to a function group. A function group groups function modules that are related in functions or process the same data.

Components of Function Group

  • Data Objects – global to all function modules within the function group. Function modules within the group can access as well as change function group data objects
  • Subroutines – can be called from all function modules in the group
  • Screens – can be called from all function modules in the group

Steps to create Function Group

  • Execute SE37
  • From the main menu Goto -> Function Groups -> Create Group
  • Enter Function group name ZAMARMN_FG, short text and choose Save to save in a package.

Function groups are not activated automatically, and hence should be activated.

Steps to activate Function Group

  • Execute SE80
  • From drop-down, choose Function Group
  • Enter Function group name and hit enter
  • Right-click function group and choose activate