Show TOC

Creating an ABAP Function Group IncludeLocate this document in the navigation structure

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 path New Next navigation step ABAP Function Group Include End of the navigation path.
  4. In the following dialog the Name will automatically be entered.
    Note The name will be constructed using the following convention: [/name space/] [L<Name of the function group>ID of the include suffix]. L stands for the standard prefix for ABAP function group includes.
  5. Enter a Description that provides additional details.
    Note The Original Language will automatically be assigned with the same language as defined in the function group.
  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.
    Note See Adding Include Suffixes for more details.
  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
Figure 1: Display of the created group include in the Project Browser and in the editor of the main program