Snapshot: new training tasks (balanced generation), docs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 22:08:59 +02:00
parent eb13453097
commit 6984fc7917
572 changed files with 30024 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
@EndUserText.label : 'Knife type price list'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}kntype {
key client : abap.clnt not null;
key type_id : abap.char(5) not null;
price : abap.dec(15,2);
}

View File

@@ -0,0 +1,13 @@
@EndUserText.label : 'Knife sharpening items'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}sharpen {
key client : abap.clnt not null;
key item_id : abap.int4 not null;
customer : abap.char(10);
knife_type : abap.char(5);
knife_count : abap.int4;
sharp_date : abap.dats;
}

View File

@@ -0,0 +1,28 @@
CLASS {{p}}t15_seed DEFINITION PUBLIC FINAL CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES if_oo_adt_classrun.
ENDCLASS.
CLASS {{p}}t15_seed IMPLEMENTATION.
METHOD if_oo_adt_classrun~main.
DELETE FROM {{p}}kntype.
INSERT {{p}}kntype FROM TABLE @( VALUE #(
( type_id = 'CHEF' price = '2.00' )
( type_id = 'PARI' price = '1.50' )
( type_id = 'BONE' price = '3.00' )
( type_id = 'BREAD' price = '1.00' ) ) ).
DELETE FROM {{p}}sharpen.
INSERT {{p}}sharpen FROM TABLE @( VALUE #(
( item_id = 1 customer = 'TRATTORIA' knife_type = 'CHEF' knife_count = 10 sharp_date = '20260110' )
( item_id = 2 customer = 'TRATTORIA' knife_type = 'PARI' knife_count = 4 sharp_date = '20260112' )
( item_id = 3 customer = 'BISTRO' knife_type = 'CHEF' knife_count = 6 sharp_date = '20260111' )
( item_id = 4 customer = 'BISTRO' knife_type = 'BONE' knife_count = 2 sharp_date = '20251220' )
( item_id = 5 customer = 'DELI' knife_type = 'BREAD' knife_count = 5 sharp_date = '20260115' )
( item_id = 6 customer = 'DELI' knife_type = 'SUSHI' knife_count = 8 sharp_date = '20260116' )
( item_id = 7 customer = 'CANTEEN' knife_type = 'CHEF' knife_count = 20 sharp_date = '20260120' ) ) ).
COMMIT WORK.
out->write( sy-dbcnt ).
ENDMETHOD.
ENDCLASS.