ABAP Keyword Documentation →  ABAP − Reference →  Program structure →  Introductory Statements for Programs → 

PROGRAM  Syntax Diagram

Short Reference

Syntax

PROGRAM prog [list_options]
             [MESSAGE-ID mid]
             [REDUCED FUNCTIONALITY].

Addition:

... REDUCED FUNCTIONALITY

Effect

The statement PROGRAM initiates a module pool or a subroutine pool. It must be the first statement of a standalone program after the triggering of possible include programs. The name prog must be specified directly. The following applies for the additions:

Notes

Addition

... REDUCED FUNCTIONALITY

Effect

This addition only has an effect in programs of program type subroutines pool. In other program types, the syntax check raises a warning. In a subroutine pool initiated with the addition REDUCED FUNCTIONALITY, not all components that are usually loaded with an ABAP program are loaded. This leads to a reduction in the program load and to a lower memory in the roll area. This means that the full ABAP language range is not available.

If none of the missing functionality is required, the REDUCED FUNCTIONALITY addition can be used to avoid the unnecessary resources being consumed by subroutine pools.

Notes