I_MATERIALDAILYSUBSTANCEVOLUME

CDS View

Daily material substance volumes

I_MATERIALDAILYSUBSTANCEVOLUME is a CDS View in S/4HANA. Daily material substance volumes. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
C_MaterialDailySubstanceVolume view_entity from CONSUMPTION Daily material substance volumes
@EndUserText.label: 'Daily material substance volumes'
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.usageType:{ serviceQuality: #C,
                         sizeCategory:   #L,
                         dataClass:      #MASTER }
@VDM: {
  viewType: #COMPOSITE
}
define view entity I_MaterialDailySubstanceVolume
  as select from I_SVTAggrgnItmByBusProcess
{
  key    SVTAggregationItemUUID,
  key    SubPeriodTrackingStartDate,
  key    Material,
  
         @Semantics.quantity.unitOfMeasure: 'ConfirmedSubstanceVolumeUnit'
         cast( sum(ConfirmedSubstanceVolume) as ehpma_svt_subst_vol_ui ) as ConfirmedSubstanceVolume, -- OData 2 service definition doesn't support dec34 that is why casting
         ConfirmedSubstanceVolumeUnit,

         @Semantics.quantity.unitOfMeasure: 'PlannedSubstanceVolumeUnit'
         cast( sum(PlannedSubstanceVolume) as ehpma_svt_subst_vol_ui )   as PlannedSubstanceVolume, -- OData 2 service definition doesn't support dec34 that is why casting
         PlannedSubstanceVolumeUnit,
         
         //For DCL need

         SVTAggregationHeaderUUID,

         //Associations

         _SVTAggregationHeader,
         _SVTAggregationItem
}
group by
  SVTAggregationItemUUID,
  Material,
  SubPeriodTrackingStartDate,
  SVTAggregationHeaderUUID, // Only needed so that the DCL can use it.

  ConfirmedSubstanceVolumeUnit,
  PlannedSubstanceVolumeUnit
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SVTAGGRGNITMBYBUSPROCESS"
],
"ASSOCIATED":
[
"I_SVTAGGREGATIONHEADER",
"I_SVTAGGREGATIONITEM"
],
"BASE":
[
"I_SVTAGGRGNITMBYBUSPROCESS"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/