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,17 @@
@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
or item.fiscal_year = head.fiscal_year
{
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