Generator: pilot analysis and fixes; G0002-G0021 tasks; handover notes merged

- Static bundle checks (name length, seed type, reserved words, contract test classes,
  testclasses_file), local abaplint parser check before SAP, max_tokens, robust JSON parse
- Runner: G2 for CDS views with parameters, contract_check detail in report
- G0020 and G0013 fixed by review and revalidated (oracle 100, null 0)
- Pilot results in docs/faz1-tasarim.md 11e; handover notes merged into CLAUDE.md and docs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-03 05:04:23 +02:00
parent 15eb9f1bb2
commit 5de5e2851c
162 changed files with 9943 additions and 23 deletions

View File

@@ -0,0 +1,12 @@
@EndUserText.label : 'Rail shipment'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}rail {
key client : abap.clnt not null;
key ship_id : abap.char(10) not null;
customer : abap.char(10);
weight : abap.dec(15,3);
fee : abap.dec(15,2);
}

View File

@@ -0,0 +1,12 @@
@EndUserText.label : 'Road shipment'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}road {
key client : abap.clnt not null;
key ship_id : abap.char(10) not null;
cust : abap.char(10);
kg : abap.dec(15,3);
cost : abap.dec(15,2);
}

View File

@@ -0,0 +1,31 @@
CLASS {{p}}seed_ship DEFINITION PUBLIC FINAL CREATE PUBLIC.
PUBLIC SECTION.
INTERFACES if_oo_adt_classrun.
ENDCLASS.
CLASS {{p}}seed_ship IMPLEMENTATION.
METHOD if_oo_adt_classrun~main.
DATA lt_road TYPE STANDARD TABLE OF {{p}}road WITH EMPTY KEY.
DATA lt_rail TYPE STANDARD TABLE OF {{p}}rail WITH EMPTY KEY.
DELETE FROM {{p}}road.
DELETE FROM {{p}}rail.
lt_road = VALUE #(
( client = sy-mandt ship_id = 'R1' cust = 'ALPHA' kg = '10.500' cost = '100.00' )
( client = sy-mandt ship_id = 'R2' cust = 'BETA' kg = '2.000' cost = '50.00' )
( client = sy-mandt ship_id = 'R3' cust = 'GAMMA' kg = '0.000' cost = '10.00' )
( client = sy-mandt ship_id = 'R4' cust = 'DELTA' kg = '7.250' cost = '80.00' ) ).
INSERT {{p}}road FROM TABLE @lt_road.
lt_rail = VALUE #(
( client = sy-mandt ship_id = 'L1' customer = 'DELTA' weight = '20.000' fee = '300.00' )
( client = sy-mandt ship_id = 'L2' customer = 'ALPHA' weight = '5.000' fee = '75.00' )
( client = sy-mandt ship_id = 'L3' customer = 'EPSILON' weight = '-1.000' fee = '5.00' )
( client = sy-mandt ship_id = 'L4' customer = 'BETA' weight = '12.000' fee = '150.00' ) ).
INSERT {{p}}rail FROM TABLE @lt_rail.
out->write( 'Seed data inserted' ).
ENDMETHOD.
ENDCLASS.