A_SupplyProtectionTimeBucket

DDL: A_SUPPLYPROTECTIONTIMEBUCKET Type: view_entity CONSUMPTION Package: ATP_SUP_VDM

Time Bucket

A_SupplyProtectionTimeBucket is a Consumption CDS View that provides data about "Time Bucket" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtectionTimeBucketTP) and exposes 13 fields with key field SupProtTimeBucketUUID. It is exposed through 1 OData service (API_SUPAVAILYPROTPLAN). Part of development package ATP_SUP_VDM.

Data Sources (1)

SourceAliasJoin Type
I_SupplyProtectionTimeBucketTP I_SupplyProtectionTimeBucketTP projection

Annotations (10)

NameValueLevelField
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.representativeKey SupProtTimeBucketUUID 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.ignorePropagatedAnnotations true view
EndUserText.label Time Bucket view

OData Services (1)

ServiceBindingVersionContractRelease
API_SUPAVAILYPROTPLAN API_SUPAVAILYPROTPLAN V4 C2 C1

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY SupProtTimeBucketUUID SupProtTimeBucketUUID
SupplyProtectionUUID SupplyProtectionUUID UUID
SupplyProtectionGroupUUID SupplyProtectionGroupUUID CVC UUID
SupProtPeriodStartUTCDateTime SupProtPeriodStartUTCDateTime
SupProtPeriodEndUTCDateTime SupProtPeriodEndUTCDateTime
UnitOfMeasure UnitOfMeasure Unit Protected Qty
SupProtProtectedQuantity Protected Quantity
SupProtConsumedQuantity Consumed Quantity
SupProtRemainingProtectedQty Remaining Protection
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp

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 A_SupplyProtectionTimeBucket.
-- 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 A_SupplyProtectionTimeBucket AS
SELECT
  SupProtTimeBucketUUID,
  SupplyProtectionUUID,
  SupplyProtectionGroupUUID,
  SupProtPeriodStartUTCDateTime,
  SupProtPeriodEndUTCDateTime,
  UnitOfMeasure,
  cast(SupProtProtectedQuantity as sup_protected_quantity preserving type) AS SupProtProtectedQuantity,
  cast(SupProtConsumedQuantity as sup_consumed_quantity preserving type) AS SupProtConsumedQuantity,
  cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) AS SupProtRemainingProtectedQty,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime
FROM I_SupplyProtectionTimeBucketTP
;