Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
11
tasks_gen/train/G1048/seed/depot.tabl.asabap
Normal file
11
tasks_gen/train/G1048/seed/depot.tabl.asabap
Normal file
@@ -0,0 +1,11 @@
|
||||
@EndUserText.label : 'Depot'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}depot {
|
||||
key client : abap.clnt not null;
|
||||
key depot_id : abap.char(10) not null;
|
||||
depot_name : abap.char(30);
|
||||
city : abap.char(20);
|
||||
}
|
||||
25
tasks_gen/train/G1048/seed/seed_data.clas.abap
Normal file
25
tasks_gen/train/G1048/seed/seed_data.clas.abap
Normal file
@@ -0,0 +1,25 @@
|
||||
CLASS {{p}}seed_data DEFINITION PUBLIC FINAL CREATE PUBLIC.
|
||||
PUBLIC SECTION.
|
||||
INTERFACES if_oo_adt_classrun.
|
||||
ENDCLASS.
|
||||
|
||||
|
||||
CLASS {{p}}seed_data IMPLEMENTATION.
|
||||
METHOD if_oo_adt_classrun~main.
|
||||
DELETE FROM {{p}}truck.
|
||||
DELETE FROM {{p}}depot.
|
||||
|
||||
INSERT {{p}}depot FROM TABLE @( VALUE #(
|
||||
( client = sy-mandt depot_id = 'D1' depot_name = 'North Depot' city = 'HAMBURG' )
|
||||
( client = sy-mandt depot_id = 'D2' depot_name = 'South Depot' city = 'MUNICH' ) ) ).
|
||||
|
||||
INSERT {{p}}truck FROM TABLE @( VALUE #(
|
||||
( client = sy-mandt truck_id = 'T1' depot_id = 'D1' capacity_kg = 12000 truck_type = 'BOX' )
|
||||
( client = sy-mandt truck_id = 'T2' depot_id = 'D1' capacity_kg = 7500 truck_type = 'FLAT' )
|
||||
( client = sy-mandt truck_id = 'T3' depot_id = 'D2' capacity_kg = 20000 truck_type = 'BOX' )
|
||||
( client = sy-mandt truck_id = 'T4' depot_id = 'D2' capacity_kg = 0 truck_type = 'BOX' )
|
||||
( client = sy-mandt truck_id = 'T5' depot_id = 'D9' capacity_kg = 5000 truck_type = 'BOX' ) ) ).
|
||||
|
||||
out->write( 'Seed data written' ).
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
12
tasks_gen/train/G1048/seed/truck.tabl.asabap
Normal file
12
tasks_gen/train/G1048/seed/truck.tabl.asabap
Normal file
@@ -0,0 +1,12 @@
|
||||
@EndUserText.label : 'Truck'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}truck {
|
||||
key client : abap.clnt not null;
|
||||
key truck_id : abap.char(10) not null;
|
||||
depot_id : abap.char(10);
|
||||
capacity_kg : abap.int4;
|
||||
truck_type : abap.char(4);
|
||||
}
|
||||
Reference in New Issue
Block a user