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,15 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Product quality totals'
define view entity {{P}}I_PRODUCT_QUALITY
as select from {{p}}i_batch_quality
{
key product as product,
count( * ) as batch_count,
max( bars_total ) as bars_total,
sum( bars_good ) as bars_good,
sum( bars_scrap ) as bars_scrap,
cast( cast( sum( bars_good ) as abap.dec(15,2) ) * 100
/ cast( sum( bars_total ) as abap.dec(15,2) )
as abap.dec(5,2) ) as yield_pct
}
group by product

View File

@@ -0,0 +1,15 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Product quality totals'
define view entity {{P}}I_PRODUCT_QUALITY
as select from {{p}}i_batch_quality
{
key product as product,
count( * ) as batch_count,
sum( bars_total ) as bars_total,
max( bars_good ) as bars_good,
sum( bars_scrap ) as bars_scrap,
cast( cast( sum( bars_good ) as abap.dec(15,2) ) * 100
/ cast( sum( bars_total ) as abap.dec(15,2) )
as abap.dec(5,2) ) as yield_pct
}
group by product

View File

@@ -0,0 +1,15 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Product quality totals'
define view entity {{P}}I_PRODUCT_QUALITY
as select from {{p}}i_batch_quality
{
key product as product,
count( * ) as batch_count,
sum( bars_total ) as bars_total,
sum( bars_good ) as bars_good,
max( bars_scrap ) as bars_scrap,
cast( cast( sum( bars_good ) as abap.dec(15,2) ) * 100
/ cast( sum( bars_total ) as abap.dec(15,2) )
as abap.dec(5,2) ) as yield_pct
}
group by product

View File

@@ -0,0 +1,15 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Product quality totals'
define view entity {{P}}I_PRODUCT_QUALITY
as select from {{p}}i_batch_quality
{
key product as product,
count( * ) as batch_count,
sum( bars_total ) as bars_total,
sum( bars_good ) as bars_good,
sum( bars_scrap ) as bars_scrap,
cast( cast( max( bars_good ) as abap.dec(15,2) ) * 100
/ cast( sum( bars_total ) as abap.dec(15,2) )
as abap.dec(5,2) ) as yield_pct
}
group by product

View File

@@ -0,0 +1,15 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Product quality totals'
define view entity {{P}}I_PRODUCT_QUALITY
as select from {{p}}i_batch_quality
{
key product as product,
count( * ) as batch_count,
sum( bars_total ) as bars_total,
sum( bars_good ) as bars_good,
sum( bars_scrap ) as bars_scrap,
cast( cast( sum( bars_good ) as abap.dec(15,2) ) * 100
/ cast( max( bars_total ) as abap.dec(15,2) )
as abap.dec(5,2) ) as yield_pct
}
group by product