I_SupplyProtectionSum

DDL: I_SUPPLYPROTECTIONSUM Type: view_entity BASIC

Supply Protection Sum

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

Data Sources (1)

SourceAliasJoin Type
I_SupplyProtectionGroup I_SupplyProtectionGroup from

Annotations (7)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY SupplyProtectionUUID SupplyProtectionUUID 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_SupplyProtectionSum.
-- 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_SupplyProtectionSum AS
SELECT
  SupplyProtectionUUID,
  cast( 'EA' as sup_protected_quantity_unit ) AS UnitOfMeasure,
  sum(SupProtProtectedQuantity) AS SupProtProtectedQuantity,
  sum(SupProtConsumedQuantity) AS SupProtConsumedQuantity,
  sum(SupProtRemainingProtectedQty) AS SupProtRemainingProtectedQty
FROM I_SupplyProtectionGroup
;