C_SupProtTimeBucketCnsmpnTP

DDL: C_SUPPROTTIMEBUCKETCNSMPNTP Type: view_entity CONSUMPTION

Supply Protection Time Bucket Cnsmpn

C_SupProtTimeBucketCnsmpnTP is a Consumption CDS View that provides data about "Supply Protection Time Bucket Cnsmpn" in SAP S/4HANA. It reads from 1 data source (I_SupProtTimeBucketCnsmpnTP) and exposes 16 fields with key fields SupProtTimeBucketUUID, SupProtPermConsumptionUUID.

Data Sources (1)

SourceAliasJoin Type
I_SupProtTimeBucketCnsmpnTP I_SupProtTimeBucketCnsmpnTP 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 #MANDATORY view
Metadata.allowExtensions true view
EndUserText.label Supply Protection Time Bucket Cnsmpn view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SupProtTimeBucketUUID SupProtTimeBucketUUID
KEY SupProtPermConsumptionUUID SupProtPermConsumptionUUID
SupplyProtectionGroupUUID SupplyProtectionGroupUUID
StartDate StartDate
EndDate EndDate
UnitOfMeasure UnitOfMeasure
SupProtProtectedQuantity
SupProtSumConsumedQuantity
SupProtRemainingProtectedQty
SupplyProtectionDocumentType SupplyProtectionDocumentType
ATPRlvtDocumentCategoryTextlocalized
SupProtAssignedDocument SupProtAssignedDocument
SupProtAssignedDocumentItem SupProtAssignedDocumentItem
ATPRelevantDocScheduleLine ATPRelevantDocScheduleLine
SupProtConsumedQuantity SupProtConsumedQuantity
SupplyProtectionUUID SupplyProtectionUUID
@VDM.viewType: #CONSUMPTION
@ObjectModel:   { usageType: { serviceQuality: #C,
                               sizeCategory:   #XL,
                               dataClass:      #MIXED }
}
@AccessControl.authorizationCheck: #MANDATORY
@Metadata.allowExtensions: true
@EndUserText.label: 'Supply Protection Time Bucket Cnsmpn'
define root view entity C_SupProtTimeBucketCnsmpnTP
  as projection on I_SupProtTimeBucketCnsmpnTP
{
  key SupProtTimeBucketUUID,
  key SupProtPermConsumptionUUID,

      SupplyProtectionGroupUUID,
      StartDate,
      EndDate,

      @Semantics.unitOfMeasure: true
      UnitOfMeasure,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      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_CON'
      cast(SupProtSumConsumedQuantity as sup_consumed_quantity preserving type)      as SupProtSumConsumedQuantity,

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

      @ObjectModel.text.element: ['ATPRlvtDocumentCategoryText']
      SupplyProtectionDocumentType,
      @Consumption.filter.hidden: true
      _ATPRlvtDocumentCategoryText.ATPRlvtDocumentCategoryText : localized,

      SupProtAssignedDocument,
      SupProtAssignedDocumentItem,
      ATPRelevantDocScheduleLine,

      @Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
      SupProtConsumedQuantity,

      SupplyProtectionUUID,
      /* Associations */
      _SupplyProtectionGroupTP  : redirected to C_SupplyProtectionGroupTP,
      _SupProtPermConsumptionTP : redirected to C_SupProtPermConsumptionTP
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ATPRLVTDOCUMENTCATEGORYTEXT",
"I_SUPPROTTIMEBUCKETCNSMPNTP"
],
"ASSOCIATED":
[
"C_SUPPLYPROTECTIONGROUPTP",
"C_SUPPROTPERMCONSUMPTIONTP",
"I_SUPPLYPROTECTIONGROUPTP",
"I_SUPPROTPERMCONSUMPTIONTP"
],
"BASE":
[
"I_SUPPROTTIMEBUCKETCNSMPNTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/