Stage 2 summary at 50 accepted trajectories
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
9
tasks_gen/train/G1047/seed/grv_ord.tabl.abap
Normal file
9
tasks_gen/train/G1047/seed/grv_ord.tabl.abap
Normal file
@@ -0,0 +1,9 @@
|
||||
@EndUserText.label : 'Gravel orders'
|
||||
@AbapCatalog.tableCategory : #TRANSPARENT
|
||||
@AbapCatalog.deliveryClass : #A
|
||||
define table {{p}}grv_ord {
|
||||
key order_id : abap.char(10);
|
||||
grade : abap.char(1);
|
||||
tonnes : abap.int4;
|
||||
customer : abap.char(30);
|
||||
}
|
||||
19
tasks_gen/train/G1047/seed/seed_grv.clas.abap
Normal file
19
tasks_gen/train/G1047/seed/seed_grv.clas.abap
Normal file
@@ -0,0 +1,19 @@
|
||||
CLASS {{p}}seed_grv DEFINITION PUBLIC FINAL CREATE PUBLIC.
|
||||
PUBLIC SECTION.
|
||||
INTERFACES if_oo_adt_classrun.
|
||||
ENDCLASS.
|
||||
|
||||
|
||||
CLASS {{p}}seed_grv IMPLEMENTATION.
|
||||
METHOD if_oo_adt_classrun~main.
|
||||
DATA lt_order TYPE STANDARD TABLE OF {{p}}grv_ord WITH EMPTY KEY.
|
||||
lt_order = VALUE #(
|
||||
( order_id = 'ORD0000001' grade = 'F' tonnes = 3 customer = 'BuildIt Ltd' )
|
||||
( order_id = 'ORD0000002' grade = 'M' tonnes = 12 customer = 'Roadworks AG' )
|
||||
( order_id = 'ORD0000003' grade = 'C' tonnes = 25 customer = 'City Council' )
|
||||
( order_id = 'ORD0000004' grade = 'F' tonnes = 5 customer = 'Stone and Co' ) ).
|
||||
DELETE FROM {{p}}grv_ord.
|
||||
INSERT {{p}}grv_ord FROM TABLE @lt_order.
|
||||
out->write( |{ sy-dbcnt } orders inserted| ).
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
Reference in New Issue
Block a user