A_CePuCoDistrdOutlineAgrmt

DDL: A_CEPUCODISTRDOUTLINEAGRMT SQL: ACNTRLPCDISTROA Type: view COMPOSITE

Distributed Outline Agreement

A_CePuCoDistrdOutlineAgrmt is a Composite CDS View that provides data about "Distributed Outline Agreement" in SAP S/4HANA. It reads from 1 data source (I_CntrlPurContrDistribution) and exposes 13 fields with key fields CentralPurchaseContract, ExtContractForPurg, ProcurementHubSourceSystem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CntrlPurContrDistribution I_CntrlPurContrDistribution from

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_CentralPurchaseContract _CentralPurchaseContract $projection.CentralPurchaseContract = _CentralPurchaseContract.CentralPurchaseContract
[1..1] A_CePuCoDistrdContrPaytTrms _DistributedPaymentTerms $projection.CentralPurchaseContract = _DistributedPaymentTerms.CentralPurchaseContract and $projection.ExtContractForPurg = _DistributedPaymentTerms.ExtContractForPurg and $projection.ProcurementHubSourceSystem = _DistributedPaymentTerms.ProcurementHubSourceSystem

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName ACNTRLPCDISTROA view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Distributed Outline Agreement view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
AccessControl.personalData.blocking #REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CentralPurchaseContract CentralPurchaseContract Purchasing Doc.
KEY ExtContractForPurg ExtContractForPurg Contract
KEY ProcurementHubSourceSystem ProcurementHubSourceSystem Connected System ID
CompanyCode CompanyCode Receiver Company Code
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
PaymentTerms PaymentTerms Pyt Terms
Currency Currency Valuation Crcy
PurgDocItemDistributionStatus PurgDocItemDistributionStatus
SourceListIsUpdated SourceListIsUpdated Sourcelist Updated
SourceListChangeConfStatus SourceListChangeConfStatus Src. Lst Change Sta.
_CentralPurchaseContract _CentralPurchaseContract
_DistributedPaymentTerms _DistributedPaymentTerms

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_CePuCoDistrdOutlineAgrmt.
-- 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.
-- SQL view name: ACNTRLPCDISTROA

CREATE VIEW A_CePuCoDistrdOutlineAgrmt AS
SELECT
  CentralPurchaseContract,
  ExtContractForPurg,
  ProcurementHubSourceSystem,
  CompanyCode,
  PurchasingOrganization,
  PurchasingGroup,
  PaymentTerms,
  Currency,
  PurgDocItemDistributionStatus,
  SourceListIsUpdated,
  SourceListChangeConfStatus
FROM I_CntrlPurContrDistribution
LEFT OUTER JOIN A_CentralPurchaseContract AS _CentralPurchaseContract ON CentralPurchaseContract = _CentralPurchaseContract.CentralPurchaseContract  -- association [1..1]
LEFT OUTER JOIN A_CePuCoDistrdContrPaytTrms AS _DistributedPaymentTerms ON CentralPurchaseContract = _DistributedPaymentTerms.CentralPurchaseContract AND ExtContractForPurg = _DistributedPaymentTerms.ExtContractForPurg AND ProcurementHubSourceSystem = _DistributedPaymentTerms.ProcurementHubSourceSystem  -- association [1..1]
;