A_SupplyProtectionGroup_2

DDL: A_SUPPLYPROTECTIONGROUP_2 Type: view_entity CONSUMPTION

Protection Group

A_SupplyProtectionGroup_2 is a Consumption CDS View that provides data about "Protection Group" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtectionGroupTP) and exposes 22 fields with key field SupplyProtectionGroupUUID. It is exposed through 1 OData service (API_SUPAVAILYPROTPLAN_2).

Data Sources (1)

SourceAliasJoin Type
I_SupplyProtectionGroupTP I_SupplyProtectionGroupTP projection

Annotations (10)

NameValueLevelField
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.representativeKey SupplyProtectionGroupUUID view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
OData.entityType.name A_SupplyProtectionGroup_Type view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Protection Group view

OData Services (1)

ServiceBindingVersionContractRelease
API_SUPAVAILYPROTPLAN_2

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY SupplyProtectionGroupUUID SupplyProtectionGroupUUID CVC UUID
SupplyProtectionUUID SupplyProtectionUUID UUID
SupProtCharc01ValueID SupProtCharc01ValueID
SupProtCharc02ValueID SupProtCharc02ValueID
SupProtCharc03ValueID SupProtCharc03ValueID
SupProtCharc04ValueID SupProtCharc04ValueID
SupProtCharc05ValueID SupProtCharc05ValueID
SupProtCharc06ValueID SupProtCharc06ValueID
SupProtCharc07ValueID SupProtCharc07ValueID
SupProtCharc08ValueID SupProtCharc08ValueID
SupProtCharc09ValueID SupProtCharc09ValueID
SupProtCharc10ValueID SupProtCharc10ValueID
SupProtGroupPriorityValue SupProtGroupPriorityValue
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
CharcValAuthznGroup CharcValAuthznGroup Authorization Group
UnitOfMeasure UnitOfMeasure Unit Protected Qty
SupProtProtectedQuantity Protected Quantity
SupProtConsumedQuantity Consumed Quantity
SupProtRemainingProtectedQty Remaining Protection

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_SupplyProtectionGroup_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_SupplyProtectionGroup_2 AS
SELECT
  SupplyProtectionGroupUUID,
  SupplyProtectionUUID,
  SupProtCharc01ValueID,
  SupProtCharc02ValueID,
  SupProtCharc03ValueID,
  SupProtCharc04ValueID,
  SupProtCharc05ValueID,
  SupProtCharc06ValueID,
  SupProtCharc07ValueID,
  SupProtCharc08ValueID,
  SupProtCharc09ValueID,
  SupProtCharc10ValueID,
  SupProtGroupPriorityValue,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  CharcValAuthznGroup,
  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
FROM I_SupplyProtectionGroupTP
;