C_SupProtRelatedSupProtTP

DDL: C_SUPPROTRELATEDSUPPROTTP Type: view_entity CONSUMPTION

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.

Data Sources (1)

SourceAliasJoin Type
I_SupProtRelatedSupProtTP I_SupProtRelatedSupProtTP projection

Annotations (7)

NameValueLevelField
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
EndUserText.label Supply Protection Related Supply Prot. view

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
}
@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 = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUPPROTCNSMPNDATETIMETYPET",
"I_SUPPROTRELATEDSUPPROTTP"
],
"ASSOCIATED":
[
"C_SUPPLYPROTECTIONTP",
"I_SUPPLYPROTECTIONTP"
],
"BASE":
[
"I_SUPPROTRELATEDSUPPROTTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/