C_SupProtRelatedSupProtTP

DDL: C_SUPPROTRELATEDSUPPROTTP Type: view_entity CONSUMPTION Package: ATP_SUP_VDM

Supply Protection Related Supply Prot.

C_SupProtRelatedSupProtTP is a Consumption CDS View that provides data about "Supply Protection Related Supply Prot." in SAP S/4HANA. It reads from 1 data source (I_SupProtRelatedSupProtTP) and exposes 26 fields with key field SupplyProtectionUUID. 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_SupProtRelatedSupProtTP I_SupProtRelatedSupProtTP projection

Annotations (8)

NameValueLevelField
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.allowExtensions true view
EndUserText.label Supply Protection Related Supply Prot. 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 (26)

KeyFieldSource TableSource FieldDescription
KEY SupplyProtectionUUID SupplyProtectionUUID
SupplyProtectionName SupplyProtectionName
Material Material
Plant Plant
SupProtLifecycleStatus SupProtLifecycleStatus
SupProtLifecycleStatusText SupProtLifecycleStatusText
Criticality Criticality
SupProtPlanningPeriodType SupProtPlanningPeriodType
SupProtPlanningPeriodTypeText SupProtPlanningPeriodTypeText
SupProtPlanningPeriodStartDate SupProtPlanningPeriodStartDate
SupProtPlanningPeriodEndDate SupProtPlanningPeriodEndDate
SupProtIsPlanningContextSlsOrd SupProtIsPlanningContextSlsOrd
SupProtIsPlanningContextSTO SupProtIsPlanningContextSTO
SupProtCoreCharc01Text SupProtCoreCharc01Text
SupProtCoreCharc01ValueID SupProtCoreCharc01ValueID
SupProtCoreCharc02Text SupProtCoreCharc02Text
SupProtCoreCharc02ValueID SupProtCoreCharc02ValueID
UnitOfMeasure UnitOfMeasure
SupProtProtectedQuantity
SupProtConsumedQuantity
SupProtRemainingProtectedQty
SupProtCnsmpnDateTimeType SupProtCnsmpnDateTimeType
SupProtCnsmpnDateTimeTypeTextlocalized
CharcValAuthznGroup CharcValAuthznGroup
StorageLocation StorageLocation
SupProtPlanningLevel SupProtPlanningLevel
@VDM: { viewType: #CONSUMPTION,
        usage:    { type:[#TRANSACTIONAL_PROCESSING_SERVICE] } }
@ObjectModel: { usageType: { serviceQuality: #C,
                             sizeCategory:   #L,
                             dataClass:      #MIXED },
                semanticKey: ['SupplyProtectionName', 'Plant', 'Material'] }
@AccessControl: {
  authorizationCheck: #MANDATORY
}
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Metadata.allowExtensions: true
@EndUserText.label: 'Supply Protection Related Supply Prot.'
define root view entity C_SupProtRelatedSupProtTP
  as projection on I_SupProtRelatedSupProtTP

{
  key SupplyProtectionUUID,
      SupplyProtectionName,
      Material,
      Plant,
      SupProtLifecycleStatus,
      SupProtLifecycleStatusText,
      Criticality,
      SupProtPlanningPeriodType,
      SupProtPlanningPeriodTypeText,
      SupProtPlanningPeriodStartDate,
      SupProtPlanningPeriodEndDate,
      SupProtIsPlanningContextSlsOrd,
      SupProtIsPlanningContextSTO,
      SupProtCoreCharc01Text,
      SupProtCoreCharc01ValueID,
      SupProtCoreCharc02Text,
      SupProtCoreCharc02ValueID,
      @Semantics.unitOfMeasure: true
      UnitOfMeasure,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      @ObjectModel.virtualElement: true
      @ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_ATP_SUP_SADL_EXIT_QUANTITY'
      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_QUANTITY'
      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_QUANTITY'
      cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) as SupProtRemainingProtectedQty,

      @ObjectModel.text.element: ['SupProtCnsmpnDateTimeTypeText']
      SupProtCnsmpnDateTimeType,
      @Consumption.filter.hidden: true
      _SupProtCnsmpnDateTimeTypeT.SupProtCnsmpnDateTimeTypeText : localized,
      _SupplyProtectionTP : redirected to C_SupplyProtectionTP,

      @UI.hidden: true
      CharcValAuthznGroup,

      StorageLocation,
      
      SupProtPlanningLevel

}
where
  SupplyProtectionIsBlocked = ''