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,24 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Service job cost'
define view entity {{P}}I_JOB_COST
as select from {{p}}job as h
inner join {{p}}jobl as l on l.job_id = h.job_id
{
key h.job_id as job_id,
h.customer as customer_name,
h.calc_mode as calc_mode_cd,
h.group_code as group_code,
h.job_date as job_date,
sum( l.work_hours ) as hours_sum,
count( * ) as line_count,
sum( case when h.calc_mode = 'F'
then cast( l.rate as abap.dec( 21, 4 ) )
else cast( l.work_hours * l.rate as abap.dec( 21, 4 ) )
end ) as value_sum
}
group by
h.job_id,
h.customer,
h.calc_mode,
h.group_code,
h.job_date

View File

@@ -0,0 +1,13 @@
@EndUserText.label : 'Service job'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}job {
key client : abap.clnt not null;
key job_id : abap.char(10) not null;
customer : abap.char(10);
calc_mode : abap.char(1);
group_code : abap.char(2);
job_date : abap.dats;
}

View File

@@ -0,0 +1,12 @@
@EndUserText.label : 'Service job work line'
@AbapCatalog.enhancement.category : #NOT_EXTENSIBLE
@AbapCatalog.tableCategory : #TRANSPARENT
@AbapCatalog.deliveryClass : #A
@AbapCatalog.dataMaintenance : #RESTRICTED
define table {{p}}jobl {
key client : abap.clnt not null;
key job_id : abap.char(10) not null;
key line_no : abap.int4 not null;
work_hours : abap.dec(5,2);
rate : abap.dec(15,2);
}