Stage 2 summary at 50 accepted trajectories

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 18:02:52 +02:00
parent 332fb4601d
commit 5bcd1bf9cd
1230 changed files with 77563 additions and 33 deletions

View File

@@ -0,0 +1,23 @@
CLASS {{p}}meal_data DEFINITION PUBLIC FINAL CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES if_oo_adt_classrun.
ENDCLASS.
CLASS {{p}}meal_data IMPLEMENTATION.
METHOD if_oo_adt_classrun~main.
DATA lt_book TYPE STANDARD TABLE OF {{P}}MEALBK.
DELETE FROM {{P}}MEALBK.
lt_book = VALUE #(
( week_key = '2024-15' pupil = 'A' meal_no = 1 meal = 'LUNCH' price = '2.50' )
( week_key = '2024-15' pupil = 'A' meal_no = 2 meal = 'LUNCH' price = '3.00' )
( week_key = '2024-15' pupil = 'B' meal_no = 1 meal = 'LUNCH' price = '4.00' )
( week_key = '2024-15' pupil = 'C' meal_no = 1 meal = 'LUNCH' price = '5.00' cancelled = 'X' ) ).
INSERT {{P}}MEALBK FROM TABLE @lt_book.
out->write( |{ lines( lt_book ) } bookings inserted| ).
ENDMETHOD.
ENDCLASS.

View File

@@ -0,0 +1,14 @@
@EndUserText.label : 'Meal bookings of the canteen'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}mealbk {
key mandt : abap.clnt not null;
key week_key : abap.char(10) not null;
key pupil : abap.char(10) not null;
key meal_no : abap.int4 not null;
meal : abap.char(10);
price : abap.dec(9,2);
cancelled : abap.char(1);
}