SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Obsolete Language Elements → Obsolete Declarations → Declaration and Loading →
CLASS, INTERFACE - LOAD
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.