SAP CLASS INTERFACE LOAD ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID CLASS-DEFINITION-LOAD
ID INTERFACE-LOAD
• LOAD CLASS - obsolete
• LOAD INTERFACE - obsolete

CLASS, INTERFACE, LOAD
Short Reference

ABAP_SYNTAX_OBS
CLASS class DEFINITION LOAD.

INTERFACE intf LOAD.

What does it do?
The variants of the statements CLASS and INTERFACE with the addition LOAD are obsolete. The ABAP Compiler ignores these statements.
Previously, these statements were only required if the compilation of an ABAP program failed because it contained 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.



Latest notes:

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

Return to menu