SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → ABAP Syntax → ABAP Statements → Operands → Names for Individual Operands →Interface Component Selector
A component comp of an interface is accessed using the name
intf~comp
In this case, the character ~ is the interface component selector. The name intf of an interface must be to the left of the interface component selector. The name comp of the component must be to the right of the object component selector.
The name intf~comp identifies the components of interfaces in classes or component interfaces in composite interfaces.
Programming Guideline
Address interface components using interface reference variables
Note
An interface contains each component exactly once, regardless of how it is composed of component interfaces. All the interface components are at the same hierarchical level. The name of an interface component is uniquely defined using intf~comp. intf is always the interface in which the component is declared. A direct chaining of interface names intf1~...~intfn~comp is not possible.
Example
Declaration of interfaces and access to their components.