Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
14
tasks_gen/train/G1138/seed/bottle.tabl.asabap
Normal file
14
tasks_gen/train/G1138/seed/bottle.tabl.asabap
Normal file
@@ -0,0 +1,14 @@
|
||||
@EndUserText.label : 'Bottle filling records'
|
||||
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
@AbapCatalog.dataMaintenance : #RESTRICTED
|
||||
define table {{p}}bottle {
|
||||
key client : abap.clnt not null;
|
||||
key rec_id : abap.int4 not null;
|
||||
line_no : abap.char(4);
|
||||
prod_date : abap.dats;
|
||||
shift_no : abap.char(1);
|
||||
bottles : abap.int4;
|
||||
stop_min : abap.int4;
|
||||
}
|
||||
20
tasks_gen/train/G1138/seed/seed_bottle.clas.abap
Normal file
20
tasks_gen/train/G1138/seed/seed_bottle.clas.abap
Normal file
@@ -0,0 +1,20 @@
|
||||
CLASS {{p}}seed_bottle DEFINITION PUBLIC FINAL CREATE PUBLIC.
|
||||
PUBLIC SECTION.
|
||||
INTERFACES if_oo_adt_classrun.
|
||||
ENDCLASS.
|
||||
|
||||
CLASS {{p}}seed_bottle IMPLEMENTATION.
|
||||
METHOD if_oo_adt_classrun~main.
|
||||
DELETE FROM {{p}}bottle.
|
||||
INSERT {{p}}bottle FROM TABLE @( VALUE #(
|
||||
( rec_id = 1 line_no = 'L1' prod_date = '20260401' shift_no = '1' bottles = 1000 stop_min = 0 )
|
||||
( rec_id = 2 line_no = 'L1' prod_date = '20260401' shift_no = '1' bottles = 500 stop_min = 15 )
|
||||
( rec_id = 3 line_no = 'L2' prod_date = '20260401' shift_no = '2' bottles = 800 stop_min = 0 )
|
||||
( rec_id = 4 line_no = 'L2' prod_date = '20260401' shift_no = '2' bottles = 700 stop_min = 5 )
|
||||
( rec_id = 5 line_no = 'L3' prod_date = '20260401' shift_no = '3' bottles = 300 stop_min = 0 )
|
||||
( rec_id = 6 line_no = 'L1' prod_date = '20260402' shift_no = '1' bottles = 900 stop_min = 0 )
|
||||
( rec_id = 7 line_no = 'L4' prod_date = '20260401' shift_no = '1' bottles = 1500 stop_min = 0 )
|
||||
( rec_id = 8 line_no = 'L4' prod_date = '20260401' shift_no = '1' bottles = 100 stop_min = 30 ) ) ).
|
||||
out->write( sy-dbcnt ).
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
Reference in New Issue
Block a user