What does it do? In the entity behavior body> of an interface BDEF>, elements of the projected BDEF can be reused and field characteristics can be specified:
use>>: Reuse> of RAP BO operations>. All operations (standard operations, operations for associations, actions, functions>, and draft actions) that are to be reused from the base BO must be explicitly specified using the keyword use>. Reuse works as described in topic RAP BDL - use> with one exception: the additions precheck> and augment> are not available for interface BDEFs.
Field Characteristics>: An interface BDEF automatically and implicitly inherits all field characteristics of the underlying base BO and it can add further field attributes, as long as they do not contradict the field attributes from the base layer. A list of available field characteristics in interface BDEFs is provided in topic Field Characteristics, Interface BDEF >.
ABAP_EXAMPLE_VX5 The following example shows an interface BDEF. The projected BO is DEMO_RAP_UNMANAGED_DRAFT_ROOT>>. The interface BDEF reuses draft handling and standard operations from the underlying BO. It also defines a foreign entity and excludes a field from the BDEF derived types. BDEF DEMO_RAP_INTERFACE_DRAFT ABAP_EXAMPLE_END