Show TOC

 Creating a Function GroupLocate this document in the navigation structure

Use

You use this procedure to create function groups 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 new function group and choose Enter.

    If the object does not exist in the system, the Create Object dialog box appears.

    Note

    Function group names can be up to 26 alphanumeric characters long. You should observe the naming conventions for the first character: A to X for SAP developments, Y and Z for customers.

  3. Choose Yes.

    The Create Function Group screen appears.

  4. In the Short Text field, enter a description for the new function group and choose Save.

    The Create Object Directory Entry screen appears.

  5. In the Package field, enter a name of a package or choose the Local Object pushbutton to save the new function group locally.
    Note

    When you create a new function group, the system automatically creates a main program with two includes. The name of the main program is assigned by the system and consists of the prefix SAPL followed by the function group name. For example, the main program for the function group SXXX is called SAPLSXXX. The names of the include files begin with L followed by the name of the function group, and end in - UXX (or - TOP for the TOP include). The name of the main program can also be preceded by a namespace. The TOP include contains global data declarations that are used by all function modules in the function group. The other include file within the main program is used to hold the function modules within the group.