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
- In your ABAP project, select the relevant Package node in
the Project Explorer.
- Expand the Source Library folder and select the relevant
Function Group.
- Open the context menu and select
.
- 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.
- 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.
- [Optional] Click the button Browser... if you want to add
the function module to another Function Group.
- Enter the Suffix for the include.
- Choose Next.
- Assign a Transport Request.
- Choose Finish.
- 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.
Figure 1:
Display of the created group include in the Project Browser and in the
editor of the main program