C_SubordinateCntrlContrTP
Consumption View for Subordinate Central Contracts
C_SubordinateCntrlContrTP is a Consumption CDS View that provides data about "Consumption View for Subordinate Central Contracts" in SAP S/4HANA. It reads from 1 data source (I_SubordinateCntrlContrTP) and exposes 22 fields with key fields PurchasingParentDocument, ProcmtHubCompanyCodeGroupingID, SubordCntrlPurContract. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SubordinateCntrlContrTP | I_SubordinateCntrlContrTP | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_CntrlPurContrHierHdrTP | _CentralPurchaseContractTP | _CentralPurchaseContractTP.CentralPurchaseContract = $projection.PurchasingParentDocument |
| [1..1] | I_ProcmtHubCompanyCodeGroup | _ProcmtHubCompanyCodeGroup | _ProcmtHubCompanyCodeGroup.ProcmtHubCompanyCodeGroupingID = $projection.ProcmtHubCompanyCodeGroupingID |
| [1..1] | C_SubordinateCntrlContrTypeVH | _CntrlPurContrTypeValueHelp | _CntrlPurContrTypeValueHelp.PurchaseContractType = $projection.PurchaseContractType |
| [0..1] | I_PurchasingOrganization | _PurchasingOrganization | _PurchasingOrganization.PurchasingOrganization = $projection.PurchasingOrganization |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_PurchasingGroup | _PurchasingGroup | $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSUBORDCCTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption View for Subordinate Central Contracts | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| UI.headerInfo.typeName | Subordinate Central Contract | view | |
| UI.headerInfo.typeNamePlural | Subordinate Central Contracts | view | |
| UI.headerInfo.title.value | SubordinateCentralContract | view | |
| UI.headerInfo.title.label | Subordinate Central Contract | view | |
| UI.headerInfo.description.value | ContractDescription | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingParentDocument | PurchasingParentDocument | Parent Document ID | |
| KEY | ProcmtHubCompanyCodeGroupingID | ProcmtHubCompanyCodeGroupingID | Grouping ID | |
| KEY | SubordCntrlPurContract | SubordCntrlPurContract | ||
| ActivePurchasingDocument | ActivePurchasingDocument | More Actions | ||
| CntrlPurContrDescription | CntrlPurContrDescription | Contract Name | ||
| PurchaseContractType | PurchaseContractType | Order Type | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| SubordCntrlPurContrLastUpdtSts | SubordCntrlPurContrLastUpdtSts | |||
| SubordCntrlContrLastUpdtStsTxt | SubordCntrlContrLastUpdtStsTxt | Last Update Status Text | ||
| SubordCntrlContrLastUpdtDteTme | SubordCntrlContrLastUpdtDteTme | |||
| DistrResponseMessageUUID | DistrResponseMessageUUID | GUID | ||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| PurchasingDocumentSubtype | PurchasingDocumentSubtype | Control | ||
| _CentralPurchaseContractTP | _CentralPurchaseContractTP | |||
| _ProcmtHubCompanyCodeGroup | _ProcmtHubCompanyCodeGroup | |||
| _CntrlPurContrTypeValueHelp | _CntrlPurContrTypeValueHelp | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _CompanyCode | _CompanyCode | |||
| _PurchasingGroup | _PurchasingGroup |
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 C_SubordinateCntrlContrTP.
-- 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: CSUBORDCCTR
CREATE VIEW C_SubordinateCntrlContrTP AS
SELECT
PurchasingParentDocument,
ProcmtHubCompanyCodeGroupingID,
SubordCntrlPurContract,
ActivePurchasingDocument,
CntrlPurContrDescription,
PurchaseContractType,
PurchasingOrganization,
PurchasingGroup,
CompanyCode,
SubordCntrlPurContrLastUpdtSts,
SubordCntrlContrLastUpdtStsTxt,
SubordCntrlContrLastUpdtDteTme,
DistrResponseMessageUUID,
ValidityStartDate,
ValidityEndDate,
PurchasingDocumentSubtype
FROM I_SubordinateCntrlContrTP
LEFT OUTER JOIN C_CntrlPurContrHierHdrTP AS _CentralPurchaseContractTP ON _CentralPurchaseContractTP.CentralPurchaseContract = PurchasingParentDocument -- association [1..1]
LEFT OUTER JOIN I_ProcmtHubCompanyCodeGroup AS _ProcmtHubCompanyCodeGroup ON _ProcmtHubCompanyCodeGroup.ProcmtHubCompanyCodeGroupingID = ProcmtHubCompanyCodeGroupingID -- association [1..1]
LEFT OUTER JOIN C_SubordinateCntrlContrTypeVH AS _CntrlPurContrTypeValueHelp ON _CntrlPurContrTypeValueHelp.PurchaseContractType = PurchaseContractType -- association [1..1]
LEFT OUTER JOIN I_PurchasingOrganization AS _PurchasingOrganization ON _PurchasingOrganization.PurchasingOrganization = PurchasingOrganization -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_PurchasingGroup AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA