I_PPSPurchaseContractHierarchy

DDL: I_PPSPURCHASECONTRACTHIERARCHY Type: view_entity BASIC

PPS Purchase Contract Hierarchies

I_PPSPurchaseContractHierarchy is a Basic CDS View that provides data about "PPS Purchase Contract Hierarchies" in SAP S/4HANA. It reads from 1 data source (pps_t_conhierhdr) and exposes 10 fields with key field PPSPurContractHierarchyUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
pps_t_conhierhdr pps_t_conhierhdr from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_PurchaseContract _PurchaseContract $projection.PPSRootPurchaseContract = _PurchaseContract.ActivePurchasingDocument

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label PPS Purchase Contract Hierarchies view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PPSPurContractHierarchyUUID hier_uuid
PPSRootPurchaseContract root_contract Purchase Contract
PPSPurchaseContractHierarchyID hier_id Hierarchy Old ID
PPSPurContrHierDescription hier_desc Description
CreatedByUser createdby User Name
CreationDate createdon Time Stamp
CreationDateTime Time of Change
LastChangedByUser changedby User Name
LastChangeDateTime lastchangedatetime Timestamp
_PurchaseContract _PurchaseContract

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_PPSPurchaseContractHierarchy.
-- 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_PPSPurchaseContractHierarchy AS
SELECT
  hier_uuid AS PPSPurContractHierarchyUUID,
  root_contract AS PPSRootPurchaseContract,
  hier_id AS PPSPurchaseContractHierarchyID,
  hier_desc AS PPSPurContrHierDescription,
  createdby AS CreatedByUser,
  createdon AS CreationDate,
  cast(creationtime as bkk_dte_timestamp_create) AS CreationDateTime,
  changedby AS LastChangedByUser,
  LastChangeDateTime
FROM pps_t_conhierhdr
LEFT OUTER JOIN I_PurchaseContract AS _PurchaseContract ON PPSRootPurchaseContract = _PurchaseContract.ActivePurchasingDocument  -- association [1..1]
;