I_CntrlPurContrHdrPartnerTP

DDL: I_CNTRLPURCONTRHDRPARTNERTP SQL: ICPCHDRPARTNERTP Type: view TRANSACTIONAL Package: APPL_MM_PUR_OA_CCTR

BO View for Partners in Central Contract Header Distribution

I_CntrlPurContrHdrPartnerTP is a Transactional CDS View that provides data about "BO View for Partners in Central Contract Header Distribution" in SAP S/4HANA. It reads from 1 data source (I_CntrlPurchaseContractPartner) and exposes 11 fields with key fields CentralPurchaseContract, DistributionKey, PartnerCounter. It has 2 associations to related views. Part of development package APPL_MM_PUR_OA_CCTR.

Data Sources (1)

SourceAliasJoin Type
I_CntrlPurchaseContractPartner I_CntrlPurchaseContractPartner from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_CentralPurchaseContractTP _CentralPurchaseContractTP _CentralPurchaseContractTP.CentralPurchaseContract = $projection.CentralPurchaseContract
[1..1] I_CntrlPurContrHdrDistrTP _CntrlPurContrHdrDistrTP _CntrlPurContrHdrDistrTP.CentralPurchaseContract = $projection.CentralPurchaseContract and _CntrlPurContrHdrDistrTP.DistributionKey = $projection.DistributionKey

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ICPCHDRPARTNERTP view
EndUserText.label BO View for Partners in Central Contract Header Distribution view
VDM.viewType #TRANSACTIONAL view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.writeDraftPersistence CNTRLPCHDRPTNR_D view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY CentralPurchaseContract CentralPurchaseContract Purchasing Doc.
KEY DistributionKey DistributionKey Distr. Number
KEY PartnerCounter PartnerCounter Partner counter
CentralPurchaseContractItem CentralPurchaseContractItem Item in Central Purchase Contract
PartnerFunction Partner Functn
ExtPlantForPurg ExtPlantForPurg Plant
Supplier Supplier Supplier
SupplierSubrange SupplierSubrange Suppl. Subrange
PurchasingOrganization PurchasingOrganization Purchasing Organization
_CentralPurchaseContractTP _CentralPurchaseContractTP
_CntrlPurContrHdrDistrTP _CntrlPurContrHdrDistrTP

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_CntrlPurContrHdrPartnerTP.
-- 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: ICPCHDRPARTNERTP

CREATE VIEW I_CntrlPurContrHdrPartnerTP AS
SELECT
  CentralPurchaseContract,
  DistributionKey,
  PartnerCounter,
  CentralPurchaseContractItem,
  cast( PartnerFunction as parvw ) AS PartnerFunction,
  ExtPlantForPurg,
  Supplier,
  SupplierSubrange,
  PurchasingOrganization
FROM I_CntrlPurchaseContractPartner
LEFT OUTER JOIN I_CentralPurchaseContractTP AS _CentralPurchaseContractTP ON _CentralPurchaseContractTP.CentralPurchaseContract = CentralPurchaseContract  -- association [1..1]
LEFT OUTER JOIN I_CntrlPurContrHdrDistrTP AS _CntrlPurContrHdrDistrTP ON _CntrlPurContrHdrDistrTP.CentralPurchaseContract = CentralPurchaseContract AND _CntrlPurContrHdrDistrTP.DistributionKey = DistributionKey  -- association [1..1]
;