What does it do? The statement INTERFACE> defines interfaces> in ABAP Objects or defers their declaration.
The definition of an interface consists of a declaration section> that starts with INTERFACE> and is closed using ENDINTERFACE>. Unlike classes, an interface does not have an implementation part.
The variant of INTERFACE> without ENDINTERFACE> is used for deferring interfaces> in a program. The statements INTERFACE> and associated statements ENDINTERFACE> can only be specified in the global context of a program. INTERFACE> and ENDINTERFACE> cannot be specified within classes, procedures, BEGIN_SECTION VERSION 5 OUT and processing blocks implemented internally as a procedure, that is, event blocks for GET>> and AT SELECTION-SCREEN>>) END_SECTION VERSION 5 OUT . This applies in particular to the variant of INTERFACE> specified here, which is not closed using ENDINTERFACE>.