Stage 2 summary at 50 accepted trajectories

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-05 18:02:52 +02:00
parent 332fb4601d
commit 5bcd1bf9cd
1230 changed files with 77563 additions and 33 deletions

View File

@@ -0,0 +1,16 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Purchase order value'
define view entity {{P}}I_PO_VALUE
as select from {{p}}po_head as head
inner join {{p}}po_item as item on item.po_no = head.po_no
{
key head.po_no as po_no,
key head.fiscal_year as fiscal_year,
head.supplier as supplier,
count( * ) as item_count,
sum( cast( item.quantity as abap.dec( 13, 0 ) ) * item.price ) as total_value
}
group by
head.po_no,
head.fiscal_year,
head.supplier

View File

@@ -0,0 +1,12 @@
@EndUserText.label : 'Purchase order header'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}po_head {
key client : abap.clnt not null;
key po_no : abap.char(10) not null;
key fiscal_year : abap.char(4) not null;
supplier : abap.char(10);
po_date : abap.dats;
}

View File

@@ -0,0 +1,13 @@
@EndUserText.label : 'Purchase order item'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}po_item {
key client : abap.clnt not null;
key po_no : abap.char(10) not null;
key fiscal_year : abap.char(4) not null;
key item_no : abap.int4 not null;
quantity : abap.int4;
price : abap.dec(15,2);
}