SAP BDL GROUP EXTENSION



Get Example source ABAP code based on a different SAP table
  


• GROUP ABAP_BDL_EXTENSION

ABAP_RAP - Implementation Grouping, Extension

ABAP_SYNTAX
...
group Group1 implementation in class Class1 unique
{
// implementation-relevant content
}

group Group2 implementation in class Class2 unique
{
//implementation-relevant content
}

$[group Group3 ...$]
...

What does it do?
Grouping divides the implementation-relevant parts of a business object's business logic into multiple groups for behavior implementation. Each group is assigned to a separate implementation class. This works for BDEF extensions in the same way as for RAP BOs, see topic TITLE .
The original BDEF may divide the implementation into multiple groups, and the extension can add further groups. An individual group from the original BDEF cannot be extended.

ABAP_EXAMPLE_VX5
The BDEF extension DEMO_RAP_EXTENSION_GROUP extends the RAP behavior definition DEMO_RAP_BASE_GROUP. It divides the implementation-relevant content into two groups.
Original BDEF: explicitly allows extensions
BDEF DEMO_RAP_BASE_GROUP
BDEF interface:
BDEF DEMO_RAP_I_GROUP
Extension BDEF: defines two groups with separate ABPs.
BDEF DEMO_RAP_EXTENSION_GROUP
ABAP_EXAMPLE_END