SAP BDL DRAFT ACTION EXT



Get Example source ABAP code based on a different SAP table
  


• EXTEND DRAFT DETERMINE ACTION ABAP_BDL_EXTENSION

ABAP_RAP - extend draft determine action Prepare

ABAP_SYNTAX
extend draft determine action Prepare
{
$[determination $[(always)$] DetName;$]
$[validation $[ (always)$] ValName;$]
$[determination $[(always)$] Child~ChildDetermination;$]
$[validation $[(always)$] Child~ChildValidation;$]
...
}

ABAP_PREREQUISITES
The respective draft determine action must be enabled for extensions in the extended BDEF as described in topic RAP BDL - Extensibility Enabling for Managed and Unmanaged BDEFs.
ABAP_PREREQ_END

What does it do?
Extends an existing draft determine action Prepare with extension determinations and extension validations. At least one extension determination or extension validation must be specified within curly brackets. The optional addition (always) can be used. Determinations and validations of child entities can be included.



Latest notes:

An internal draft determine action Prepare cannot be extended.
NON_V5_HINTS
ABAP_HINT_END

Related Information
RAP BDL - draft action.

ABAP_EXAMPLE_VX5
The following source code shows BDEF extension DEMO_RAP_PREPARE_EXT. It extends the base BDEF DEMO_RAP_EXTENSIBILITY_DET_ACT by adding one further determination myDet to the draft determine action Prepare.
The base BDEF is draft-enabled and explicitly allows extensions to the draft determine action Prepare:
BDEF DEMO_RAP_EXTENSIBILITY_DET_ACT
The BDEF extension adds one further determination to the draft determine action Prepare:
BDEF DEMO_RAP_PREPARE_EXT
ABAP_EXAMPLE_END