C_SupplyProtectionTimeBucketTP

DDL: C_SUPPLYPROTECTIONTIMEBUCKETTP Type: view_entity CONSUMPTION

Supply Protection Time Bucket

C_SupplyProtectionTimeBucketTP is a Consumption CDS View that provides data about "Supply Protection Time Bucket" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtectionTimeBucketTP) and exposes 12 fields with key field SupProtTimeBucketUUID.

Data Sources (1)

SourceAliasJoin Type
I_SupplyProtectionTimeBucketTP I_SupplyProtectionTimeBucketTP projection

Annotations (7)

NameValueLevelField
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.authorizationCheck #CHECK view
Metadata.allowExtensions true view
EndUserText.label Supply Protection Time Bucket view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY SupProtTimeBucketUUID SupProtTimeBucketUUID
SupplyProtectionUUID SupplyProtectionUUID
SupplyProtectionGroupUUID SupplyProtectionGroupUUID
StartDate StartDate
SupProtPeriodStartUTCDateTime SupProtPeriodStartUTCDateTime
EndDate EndDate
SupProtPeriodEndUTCDateTime SupProtPeriodEndUTCDateTime
UnitOfMeasure UnitOfMeasure
SupProtProtectedQuantity
SupProtConsumedQuantity
SupProtRemainingProtectedQty
LastChangeDateTime LastChangeDateTime
@VDM.viewType: #CONSUMPTION
@ObjectModel:   { usageType: { serviceQuality: #C,
                               sizeCategory:   #XL,
                               dataClass:      #MIXED }
}
@AccessControl.authorizationCheck: #CHECK
@Metadata.allowExtensions: true
@EndUserText.label: 'Supply Protection Time Bucket'
define view entity C_SupplyProtectionTimeBucketTP
  as projection on I_SupplyProtectionTimeBucketTP
{
  key SupProtTimeBucketUUID,
      SupplyProtectionUUID,
      SupplyProtectionGroupUUID,
      StartDate,
      SupProtPeriodStartUTCDateTime,
      EndDate,
      SupProtPeriodEndUTCDateTime,

      @Semantics.unitOfMeasure: true
      UnitOfMeasure,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      cast(SupProtProtectedQuantity as sup_protected_quantity preserving type)      as SupProtProtectedQuantity,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      cast(SupProtConsumedQuantity as sup_consumed_quantity preserving type)        as SupProtConsumedQuantity,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) as SupProtRemainingProtectedQty,

      @UI.hidden: true
      LastChangeDateTime, //necessary for the eTag handling


      /* Associations */
      _SupplyProtectionGroupTP  : redirected to parent C_SupplyProtectionGroupTP,
      
      _SupProtPermConsumptionTP : redirected to C_SupProtPermConsumptionTP,
      _SupplyProtectionTP       : redirected to C_SupplyProtectionTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUPPLYPROTECTIONTIMEBUCKETTP"
],
"ASSOCIATED":
[
"C_SUPPLYPROTECTIONGROUPTP",
"C_SUPPLYPROTECTIONTP",
"C_SUPPROTPERMCONSUMPTIONTP",
"I_SUPPLYPROTECTIONGROUPTP",
"I_SUPPLYPROTECTIONTP",
"I_SUPPROTPERMCONSUMPTIONTP"
],
"BASE":
[
"I_SUPPLYPROTECTIONTIMEBUCKETTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/