Prerequisites
You have created a function group in which you want to add the function module.
Context
You can create an ABAP Function Module for 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, enter a unique name for the new function group in the Name field.
- Enter a Description providing additional details.
- Enter a Description providing additional details.
- [Optional] Choose the Browser... button if you want to add the function module to another Function Group.
- Choose Next.
- Assign a Transport Request.
- Choose Finish.
Results
The function module is assigned to the function group selected in the function module folder of the Source Library.
Editor that is displayed after creating the function module
In the next step, you can enter the definition part and implementation part of the function module.