Show TOC Start of Content Area

Procedure documentation Creating a Function Module  Locate the document in its SAP Library structure

Use

You use this procedure to create function modules in the Function Builder.

Procedure

...

       1.      In the Object Navigator (transaction SE80), choose Function Group as the object type.

       2.      Enter the name of the function group and choose Enter.

The tree structure of the function group appears.

       3.      In the context menu of the function group, choose Create ® Function Module.

The Create Function Module screen appears.

       4.      In the Function Module field, enter a name for the new function module and in the Short Text field, enter a description for the new function group.

       5.      Specify the following attributes

Attribute

Description

Short text

Describes the function module.

Process type

Specifies the function type. Choose Normal unless your function is to be run on remote systems or during update tasks.

General data

General administration information.

       6.      Choose Save.

Note

The system automatically creates an include file for your function module. For example, the include file for the first function module in the function group FGRP is called LFGRPU01. The next function modules have include files called LFGRPU02, LFGRPU03, LFGRPU04, and so on.

For more information about include programs, see Understanding Function Module Code.

End of Content Area