I have created CDS view. some detail as below.
@AbapCatalog.sqlViewName: 'ZUA_HOURS'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientDependent: true
@EndUserText.label: 'Employee hours reported'
define view Z_Hours
as select from catsdb
{
key pernr,
sum(catshours) as totalHours
}
group by pernr
Detail of error message in ST22 is below.
Database error text: "SQL message: numeric value out of range: not enough space for packed decimal at function copy_trex_field_Fixed8_check() (at pos 54) "
experts please advise for the above error.