R_RevSupplyProtectionTP

DDL: R_REVSUPPLYPROTECTIONTP Type: view_entity TRANSACTIONAL

Review Supply Protection Object

R_RevSupplyProtectionTP is a Transactional CDS View that provides data about "Review Supply Protection Object" in SAP S/4HANA. It reads from 1 data source (I_RevSupplyProtection) and exposes 9 fields with key field SupProtReviewObjectUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_RevSupplyProtection I_RevSupplyProtection from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_SupplyProtectionTP _SupplyProtectionTP $projection.SupplyProtectionUUID = _SupplyProtectionTP.SupplyProtectionUUID
[1..1] R_ATPCheckTP _ATPCheckTP $projection.ATPCheckUUID = _ATPCheckTP.ATPCheckUUID

Annotations (8)

NameValueLevelField
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.representativeKey SupProtReviewObjectUUID view
EndUserText.label Review Supply Protection Object view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SupProtReviewObjectUUID SupProtReviewObjectUUID Waste Partner UUID
ATPCheckUUID ATPCheckUUID Check ID
SupProtReviewRequestUUID SupProtReviewRequestUUID Request ID
SupplyProtectionUUID SupplyProtectionUUID UUID
SupProtRestrictedQuantity SupProtRestrictedQuantity Restricted Quantity
UnitOfMeasure UnitOfMeasure Unit Protected Qty
_SupplyProtectionTP _SupplyProtectionTP
_RevSupProtChkReqTP _RevSupProtChkReqTP
_ATPCheckTP _ATPCheckTP

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 R_RevSupplyProtectionTP.
-- 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 R_RevSupplyProtectionTP AS
SELECT
  SupProtReviewObjectUUID,
  ATPCheckUUID,
  SupProtReviewRequestUUID,
  SupplyProtectionUUID,
  SupProtRestrictedQuantity,
  UnitOfMeasure
FROM I_RevSupplyProtection
LEFT OUTER JOIN I_SupplyProtectionTP AS _SupplyProtectionTP ON SupplyProtectionUUID = _SupplyProtectionTP.SupplyProtectionUUID  -- association [1..1]
LEFT OUTER JOIN R_ATPCheckTP AS _ATPCheckTP ON ATPCheckUUID = _ATPCheckTP.ATPCheckUUID  -- association [1..1]
;