Creating an ABAP Function Group Include

Prerequisites

You create an ABAP Function Group Include to separate and modularize functionality.

Context

You can create an ABAP Function Module to which you provide reusable functions.

Procedure

  1. In your ABAP project, select the relevant Package node in the Project Explorer.
  2. Expand the Source Library folder and select the relevant Function Group.
  3. Open the context menu and select Start of the navigation pathNew Next navigation step ABAP Function Group IncludeEnd of the navigation path.
  4. In the following dialog the Name will automatically be entered.
  5. Enter a Description that provides additional details.
  6. [Optional] Click the button Browser... if you want to add the function module to another Function Group.
  7. Enter the Suffix for the include.
  8. Choose Next.
  9. Assign a Transport Request.
  10. Choose Finish.
  11. Activate the new ABAP Function Group Include.

Results

The include will be created on the relevant function group in the Project Browser. It will also be added with the statement INCLUDE <Include Name> into the main program.

Display of the created group include in the Project Browser and in the editor of the main program
Display of the created group include in the Project Browser and in the editor of the main program