I_SupplyProtectionTimeBucket

DDL: I_SUPPLYPROTECTIONTIMEBUCKET Type: view_entity BASIC Package: ATP_SUP_VDM

Supply Protection Time Bucket

I_SupplyProtectionTimeBucket is a Basic CDS View that provides data about "Supply Protection Time Bucket" in SAP S/4HANA. It reads from 1 data source (sup_timebucket) and exposes 13 fields with key field SupProtTimeBucketUUID. Part of development package ATP_SUP_VDM.

Data Sources (1)

SourceAliasJoin Type
sup_timebucket sup_timebucket from

Annotations (7)

NameValueLevelField
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Supply Protection Time Bucket view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY SupProtTimeBucketUUID uuid Waste Partner UUID
SupplyProtectionGroupUUID supcvcuuid CVC UUID
SupProtPeriodStartUTCDateTime startutcdatetime Time Stamp
SupProtPeriodEndUTCDateTime endutcdatetime Time Stamp
UnitOfMeasure protectedquantityunit Unit Protected Qty
SupProtProtectedQuantity protectedquantity Protected Quantity
SupProtConsumedQuantity
SupProtRemainingProtectedQty
CreationDateTime creationdatetime Timestamp
CreatedByUser createdbyuser User Name
LastChangeDateTime lastchangedatetime Timestamp
LastChangedByUser lastchangedbyuser User Name
EndUTCDate Time Stamp

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 I_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 I_SupplyProtectionTimeBucket AS
SELECT
  uuid AS SupProtTimeBucketUUID,
  supcvcuuid AS SupplyProtectionGroupUUID,
  startutcdatetime AS SupProtPeriodStartUTCDateTime,
  endutcdatetime AS SupProtPeriodEndUTCDateTime,
  protectedquantityunit AS UnitOfMeasure,
  protectedquantity AS SupProtProtectedQuantity,
  cast(0 as abap.quan(15,3) ) AS SupProtConsumedQuantity,
  cast(0 as abap.quan(15,3) ) AS SupProtRemainingProtectedQty,
  CreationDateTime,
  CreatedByUser,
  LastChangeDateTime,
  LastChangedByUser,
  cast(tstmp_to_dats( cast( endutcdatetime as abap.dec(15,0) ), 'UTC', $session.client, 'NULL' ) as abap.dats ) AS EndUTCDate
FROM sup_timebucket
;