C_SupplyProtectionGroupTP

DDL: C_SUPPLYPROTECTIONGROUPTP Type: view_entity CONSUMPTION Package: ATP_SUP_VDM

Supply Protection Group

C_SupplyProtectionGroupTP is a Consumption CDS View that provides data about "Supply Protection Group" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtectionGroupTP) and exposes 39 fields with key field SupplyProtectionGroupUUID. 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_SupplyProtectionGroupTP I_SupplyProtectionGroupTP 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 Group 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 (39)

KeyFieldSource TableSource FieldDescription
KEY SupplyProtectionGroupUUID SupplyProtectionGroupUUID
SupplyProtectionUUID SupplyProtectionUUID
SupProtCharcCatalogType _SupplyProtectionTP SupProtCharcCatalogType
CoreCharc01CtlgPathIntID _SupplyProtectionTP CoreCharc01CtlgPathIntID
SupProtCoreCharc01CtlgPathUUID _SupplyProtectionTP SupProtCoreCharc01CtlgPathUUID
SupProtCoreCharc01Text _SupplyProtectionTP SupProtCoreCharc01Text
SupProtCoreCharc01ValueID _SupplyProtectionTP SupProtCoreCharc01ValueID
CoreCharc02CtlgPathIntID _SupplyProtectionTP CoreCharc02CtlgPathIntID
SupProtCoreCharc02CtlgPathUUID _SupplyProtectionTP SupProtCoreCharc02CtlgPathUUID
SupProtCoreCharc02Text _SupplyProtectionTP SupProtCoreCharc02Text
SupProtCoreCharc02ValueID _SupplyProtectionTP SupProtCoreCharc02ValueID
SupProtCharc01CtlgPathUUID SupProtCharc01CtlgPathUUID
SupProtCharc01ValueID SupProtCharc01ValueID
SupProtCharc02CtlgPathUUID SupProtCharc02CtlgPathUUID
SupProtCharc02ValueID SupProtCharc02ValueID
SupProtCharc03CtlgPathUUID SupProtCharc03CtlgPathUUID
SupProtCharc03ValueID SupProtCharc03ValueID
SupProtCharc04CtlgPathUUID SupProtCharc04CtlgPathUUID
SupProtCharc04ValueID SupProtCharc04ValueID
SupProtCharc05CtlgPathUUID SupProtCharc05CtlgPathUUID
SupProtCharc05ValueID SupProtCharc05ValueID
SupProtCharc06CtlgPathUUID SupProtCharc06CtlgPathUUID
SupProtCharc06ValueID SupProtCharc06ValueID
SupProtCharc07CtlgPathUUID SupProtCharc07CtlgPathUUID
SupProtCharc07ValueID SupProtCharc07ValueID
SupProtCharc08CtlgPathUUID SupProtCharc08CtlgPathUUID
SupProtCharc08ValueID SupProtCharc08ValueID
SupProtCharc09CtlgPathUUID SupProtCharc09CtlgPathUUID
SupProtCharc09ValueID SupProtCharc09ValueID
SupProtCharc10CtlgPathUUID SupProtCharc10CtlgPathUUID
SupProtCharc10ValueID SupProtCharc10ValueID
SupProtGroupPriorityValue SupProtGroupPriorityValue
CharcValAuthznGroup CharcValAuthznGroup
UnitOfMeasure UnitOfMeasure
SupProtProtectedQuantity
SupProtConsumedQuantity
SupProtRemainingProtectedQty
LastChangeDateTime LastChangeDateTime
_SupProtTimeBucketChart _SupProtTimeBucketChart
@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 Group'
define view entity C_SupplyProtectionGroupTP
  as projection on I_SupplyProtectionGroupTP
{
  key SupplyProtectionGroupUUID,

      SupplyProtectionUUID,

      _SupplyProtectionTP.SupProtCharcCatalogType,
      _SupplyProtectionTP.CoreCharc01CtlgPathIntID,
      _SupplyProtectionTP.SupProtCoreCharc01CtlgPathUUID,
      _SupplyProtectionTP.SupProtCoreCharc01Text,
      _SupplyProtectionTP.SupProtCoreCharc01ValueID,
      _SupplyProtectionTP.CoreCharc02CtlgPathIntID,
      _SupplyProtectionTP.SupProtCoreCharc02CtlgPathUUID,
      _SupplyProtectionTP.SupProtCoreCharc02Text,
      _SupplyProtectionTP.SupProtCoreCharc02ValueID,

      SupProtCharc01CtlgPathUUID,
      SupProtCharc01ValueID,
      SupProtCharc02CtlgPathUUID,
      SupProtCharc02ValueID,
      SupProtCharc03CtlgPathUUID,
      SupProtCharc03ValueID,
      SupProtCharc04CtlgPathUUID,
      SupProtCharc04ValueID,
      SupProtCharc05CtlgPathUUID,
      SupProtCharc05ValueID,
      SupProtCharc06CtlgPathUUID,
      SupProtCharc06ValueID,
      SupProtCharc07CtlgPathUUID,
      SupProtCharc07ValueID,
      SupProtCharc08CtlgPathUUID,
      SupProtCharc08ValueID,
      SupProtCharc09CtlgPathUUID,
      SupProtCharc09ValueID,
      SupProtCharc10CtlgPathUUID,
      SupProtCharc10ValueID,

      SupProtGroupPriorityValue,

      CharcValAuthznGroup,

      @Semantics.unitOfMeasure: true
      UnitOfMeasure,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_ATP_SUP_SADL_EXIT_QTY_GRP'
      cast(SupProtProtectedQuantity as sup_protected_quantity preserving type )     as SupProtProtectedQuantity,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_ATP_SUP_SADL_EXIT_QTY_GRP'
      cast(SupProtConsumedQuantity as sup_consumed_quantity preserving type )       as SupProtConsumedQuantity,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_ATP_SUP_SADL_EXIT_QTY_GRP'
      cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) as SupProtRemainingProtectedQty,


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


      /* Associations */
      _SupplyProtectionTP           : redirected to parent C_SupplyProtectionTP,
      _SupplyProtectionTimeBucketTP : redirected to composition child C_SupplyProtectionTimeBucketTP,
      _SupProtTimeBucketCnsmpnTP    : redirected to C_SupProtTimeBucketCnsmpnTP,
      _SupProtTimeBucketChart

}
where
  SupplyProtectionGroupIsBlocked = ''