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 18 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 (18)

KeyFieldSource TableSource FieldDescription
KEY SupProtTimeBucketUUID SupProtTimeBucketUUID
KEY SupProtPermConsumptionUUID SupProtPermConsumptionUUID
SupplyProtectionGroupUUID SupplyProtectionGroupUUID CVC UUID
StartDate StartDate Valid From
EndDate EndDate Term to
UnitOfMeasure UnitOfMeasure Unit Protected Qty
SupProtProtectedQuantity Protected Quantity
SupProtSumConsumedQuantity Consumed Quantity
SupProtRemainingProtectedQty Remaining Protection
SupplyProtectionDocumentType SupplyProtectionDocumentType
ATPRlvtDocumentCategoryTextlocalized
SupProtAssignedDocument SupProtAssignedDocument
SupProtAssignedDocumentItem SupProtAssignedDocumentItem
ATPRelevantDocScheduleLine ATPRelevantDocScheduleLine Scheduling
SupProtConsumedQuantity SupProtConsumedQuantity Consumed Quantity
SupplyProtectionUUID SupplyProtectionUUID UUID
Plant Plant Valuation Area
CharcValAuthznGroup CharcValAuthznGroup Authorization Group

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_SupProtTimeBucketCnsmpnTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_SupProtTimeBucketCnsmpnTP AS
SELECT
  SupProtTimeBucketUUID,
  SupProtPermConsumptionUUID,
  SupplyProtectionGroupUUID,
  StartDate,
  EndDate,
  UnitOfMeasure,
  cast(SupProtProtectedQuantity as sup_protected_quantity preserving type) AS SupProtProtectedQuantity,
  cast(SupProtSumConsumedQuantity as sup_consumed_quantity preserving type) AS SupProtSumConsumedQuantity,
  cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) AS SupProtRemainingProtectedQty,
  SupplyProtectionDocumentType,
  _ATPRlvtDocumentCategoryText.ATPRlvtDocumentCategoryText : localized AS ATPRlvtDocumentCategoryTextlocalized,
  SupProtAssignedDocument,
  SupProtAssignedDocumentItem,
  ATPRelevantDocScheduleLine,
  SupProtConsumedQuantity,
  SupplyProtectionUUID,
  Plant,
  CharcValAuthznGroup
FROM I_SupProtTimeBucketCnsmpnTP
;