I_SupplyProtectionGroupSum

DDL: I_SUPPLYPROTECTIONGROUPSUM Type: view_entity BASIC

Supply Protection Group Sum

I_SupplyProtectionGroupSum is a Basic CDS View that provides data about "Supply Protection Group Sum" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtectionTimeBucket) and exposes 5 fields with key field SupplyProtectionGroupUUID.

Data Sources (1)

SourceAliasJoin Type
I_SupplyProtectionTimeBucket I_SupplyProtectionTimeBucket 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 Group Sum view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SupplyProtectionGroupUUID SupplyProtectionGroupUUID CVC UUID
UnitOfMeasure
SupProtProtectedQuantity
SupProtConsumedQuantity
SupProtRemainingProtectedQty

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_SupplyProtectionGroupSum.
-- 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_SupplyProtectionGroupSum AS
SELECT
  SupplyProtectionGroupUUID,
  cast( 'EA' as sup_protected_quantity_unit ) AS UnitOfMeasure,
  sum(SupProtProtectedQuantity) AS SupProtProtectedQuantity,
  sum(SupProtConsumedQuantity) AS SupProtConsumedQuantity,
  sum(SupProtRemainingProtectedQty) AS SupProtRemainingProtectedQty
FROM I_SupplyProtectionTimeBucket
;