FUNCTION-POOL

Short Reference

Syntax

FUNCTION-POOL fpool [list_options]
                    [MESSAGE-ID mid].

Effect

After the expansion of any existinginclude programs, the FUNCTION-POOL statement must be the first statement of a standalone program. This statement introduces a function group. You use the Function Builder of the ABAP Workbench to maintain the function groups. The Workbench automatically generates a main program including the FUNCTION-POOL statement in a top include. The complete name of a function group in the Repository consists of the prefix SAPL and the name fpool of the FUNCTION-POOL statement.

The additions to the FUNCTION-POOL statement have the same functions as the additions of the REPORT statement.

Example

Introduction of function group SAPLABAP_DOCU in the top include. The function group integrates the top include in the first row.

FUNCTION-POOL abap_docu MESSAGE-ID sabapdocu.