C_SupplyProtectionTimeBucketTP

DDL: C_SUPPLYPROTECTIONTIMEBUCKETTP Type: view_entity CONSUMPTION Package: ATP_SUP_VDM

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. It is exposed through 1 OData service (UI_SUPPLYPROTECTION). It is used in 1 Fiori application: Configure Supply Protection. Part of development package ATP_SUP_VDM.

Data Sources (1)

SourceAliasJoin Type
I_SupplyProtectionTimeBucketTP I_SupplyProtectionTimeBucketTP projection

Annotations (8)

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

OData Services (1)

ServiceBindingVersionContractRelease
UI_SUPPLYPROTECTION UI_SUPPLYPROTECTION V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F4569 Configure Supply Protection Transactional An application to manage supply protection quantities that are working as virtual reservations in the ATP logic.

Configure Supply Protection

Business Role: Order Fulfillment Manager

Sales quotations are supported as documents to by protected and restriced by supply protection.The sales quotation matches supply protection with any characteristic available in the characteristics catalog defined for sales documents.Referenced sales orders are integrated in a transfer logic which reduces the consumed supply protection of the quotation and transfers the consumption to the matching supply protection time bucket of the referenced sales order.

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: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@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
}