Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Obsolete Language Elements →  Obsolete Declarations →  Declaration and Loading 

CLASS, INTERFACE - LOAD

Quick Reference

Other versions: 7.31 | 7.40 | 7.54

Obsolete Syntax

CLASS class DEFINITION LOAD.

INTERFACE intf LOAD.

Effect

The variants of the statements CLASS and INTERFACE with the addition LOAD are obsolete. ABAP Compiler ignores these statements.

Previously, these statements were only required if the compilation of an ABAP program failed to contain recursive access to a global class or a global interface. These types of recursions are now avoided and a class or an interface is loaded automatically when a component is first accessed.


Note

These variants of the statements CLASS and INTERFACE can also be used in contexts other than the context described in CLASS and INTERFACE.