Execute complex procedural ABAP calculations in CDS View Entities without sacrificing OData performance. Generate @ObjectModel.virtualElement annotations, IF_SADL_EXIT_CALC_ELEMENT_READ classes, and unit tests.
// Generating CDS Virtual Element Annotations...
// Generating SADL Calculation Class...
// Generating ABAP Unit Test Double...
SADL delivers the entire page of records (e.g., 50 rows) in a single internal table. Processing is vectorized inside calculate with zero N+1 query loops.
Source fields required for calculation are explicitly registered in get_calculation_info, ensuring SADL includes them in the SQL select list even if not requested by the UI.
Implements the officially released interface IF_SADL_EXIT_CALC_ELEMENT_READ with contract C1 in ABAP Cloud (Language Version 5).