A_SupplyProtectionTimeBucket_2

DDL: A_SUPPLYPROTECTIONTIMEBUCKET_2 Type: view_entity CONSUMPTION

Time Bucket

A_SupplyProtectionTimeBucket_2 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 16 fields with key field SupProtTimeBucketUUID.

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
OData.entityType.name A_SupplyProtectionTimeBucket_Type view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Time Bucket view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SupProtTimeBucketUUID SupProtTimeBucketUUID
SupplyProtectionUUID SupplyProtectionUUID UUID
SupplyProtectionGroupUUID SupplyProtectionGroupUUID CVC UUID
SupProtPeriodStartUTCDateTime SupProtPeriodStartUTCDateTime
SupProtPeriodEndUTCDateTime SupProtPeriodEndUTCDateTime
UnitOfMeasure UnitOfMeasure Unit Protected Qty
UnitOfMeasureISOCode UnitOfMeasureISOCode
SupProtProtectedQuantity Protected Quantity
SupProtConsumedQuantity Consumed Quantity
SupProtRemainingProtectedQty Remaining Protection
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
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 A_SupplyProtectionTimeBucket_2.
-- 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_2 AS
SELECT
  SupProtTimeBucketUUID,
  SupplyProtectionUUID,
  SupplyProtectionGroupUUID,
  SupProtPeriodStartUTCDateTime,
  SupProtPeriodEndUTCDateTime,
  UnitOfMeasure,
  UnitOfMeasureISOCode,
  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,
  Plant,
  CharcValAuthznGroup
FROM I_SupplyProtectionTimeBucketTP
;