Creating a Function Group 

  1. Choose Goto ® Function groups ® Create group.
  2. Specify the function group name and a short text.
  3. Choose Save.

Function group names are freely definable up to a maximum length of 26 alphanumeric characters. Remember to observe the normal naming conventions for the first character (A-X for SAP development, Y and Z for customers).

When you create a new function group, the system automatically creates a main program containing two includes. Like any other programs and includes, you can display them in the Repository Browser.


 

The name of the main program is assigned by the system. This is made up of the prefix SAPL followed by the function group name. For example, the main program for function group SXXX is called SAPLSXXX.

The names of the include files begin with L followed by the name of the function group, and conclude with UXX ( or TOP for the TOP include). The TOP include contains global data declarations that are used by all of the function modules in the function group. The other include file within the main program is used to hold the function modules within the group.