A_SubordinateCntrlContract

DDL: A_SUBORDINATECNTRLCONTRACT SQL: ASUBCNTRLPCTR Type: view COMPOSITE

Subordinate Central Contract

A_SubordinateCntrlContract is a Composite CDS View that provides data about "Subordinate Central Contract" in SAP S/4HANA. It reads from 1 data source (I_SubordinateCntrlContr) and exposes 16 fields with key fields PurchasingParentDocument, SubordCntrlPurContract, ProcmtHubCompanyCodeGroupingID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_SubordinateCntrlContr I_SubordinateCntrlContr from

Associations (1)

CardinalityTargetAliasCondition
[1..1] A_CentralPurchaseContract _CentralPurchaseContract _CentralPurchaseContract.CentralPurchaseContract = $projection.PurchasingParentDocument

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ASUBCNTRLPCTR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #COMPOSITE view
EndUserText.label Subordinate Central Contract view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
Metadata.ignorePropagatedAnnotations true view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY PurchasingParentDocument PurchasingParentDocument Parent Document ID
KEY SubordCntrlPurContract SubordCntrlPurContract Active Purchase Doc
KEY ProcmtHubCompanyCodeGroupingID ProcmtHubCompanyCodeGroupingID Grouping ID
PurchaseContractType PurchaseContractType Order Type
CompanyCode CompanyCode Receiver Company Code
PurchasingDocumentSubtype PurchasingDocumentSubtype Control
PurchasingOrganization PurchasingOrganization Purchasing Organization
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
PurchasingGroup PurchasingGroup Purchasing Group
IsEndOfPurposeBlocked
CntrlPurContrDescription CntrlPurContrDescription Contract Name
SubordCntrlPurContrLastUpdtSts SubordCntrlPurContrLastUpdtSts
SubordCntrlContrLastUpdtDteTme SubordCntrlContrLastUpdtDteTme
DistrResponseMessageUUID DistrResponseMessageUUID GUID
_CentralPurchaseContract _CentralPurchaseContract

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_SubordinateCntrlContract.
-- 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: ASUBCNTRLPCTR

CREATE VIEW A_SubordinateCntrlContract AS
SELECT
  PurchasingParentDocument,
  SubordCntrlPurContract,
  ProcmtHubCompanyCodeGroupingID,
  PurchaseContractType,
  CompanyCode,
  PurchasingDocumentSubtype,
  PurchasingOrganization,
  ValidityStartDate,
  ValidityEndDate,
  PurchasingGroup,
  ' ' AS IsEndOfPurposeBlocked,
  CntrlPurContrDescription,
  SubordCntrlPurContrLastUpdtSts,
  SubordCntrlContrLastUpdtDteTme,
  DistrResponseMessageUUID
FROM I_SubordinateCntrlContr
LEFT OUTER JOIN A_CentralPurchaseContract AS _CentralPurchaseContract ON _CentralPurchaseContract.CentralPurchaseContract = PurchasingParentDocument  -- association [1..1]
;