C_CntrlPurContrItmCndnValdtyTP
Central Contract Item Condition Validity
C_CntrlPurContrItmCndnValdtyTP is a Consumption CDS View that provides data about "Central Contract Item Condition Validity" in SAP S/4HANA. It reads from 1 data source (I_CntrlPurContrItmCndnValdtyTP) and exposes 20 fields with key fields CentralPurchaseContract, CentralPurchaseContractItem, ConditionRecord, ConditionValidityEndDate. It has 6 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CntrlPurContrItmCndnValdtyTP | I_CntrlPurContrItmCndnValdtyTP | from |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | C_CntrlPurContrItmCndnAmountTP | _CntrlPurContrItmCndnAmountTP | $projection.CentralPurchaseContract = _CntrlPurContrItmCndnAmountTP.CentralPurchaseContract and $projection.CentralPurchaseContractItem = _CntrlPurContrItmCndnAmountTP.CentralPurchaseContractItem and $projection.ConditionRecord = _CntrlPurContrItmCndnAmountTP.ConditionRecord and $projection.ConditionValidityEndDate = _CntrlPurContrItmCndnAmountTP.ConditionValidityEndDate |
| [1..1] | C_CntrlPurchaseContractItemTP | _CntrlPurchaseContractItemTP | $projection.CentralPurchaseContract = _CntrlPurchaseContractItemTP.CentralPurchaseContract and $projection.CentralPurchaseContractItem = _CntrlPurchaseContractItemTP.CentralPurchaseContractItem |
| [1..1] | C_CentralPurchaseContractTP | _CentralPurchaseContractTP | $projection.CentralPurchaseContract = _CentralPurchaseContractTP.CentralPurchaseContract |
| [1..*] | C_ProcmtHubPlantSystemVH | _ProcmtHubPlantSystemVH | $projection.ProcmtHubPlantUniqueID = _ProcmtHubPlantSystemVH.ProcmtHubPlantUniqueID |
| [0..1] | I_PurConditionText | _ConditionText | $projection.ConditionType = _ConditionText.ConditionType and _ConditionText.ConditionApplication = 'M' and _ConditionText.Language = $session.system_language |
| [0..*] | C_PurgMasterConditionTypeVH | _PurgMasterConditionTypeVH | $projection.ConditionType = _PurgMasterConditionTypeVH.ConditionType |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCCTRICNDNVALTP | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Central Contract Item Condition Validity | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| UI.headerInfo.typeName | Contract Item Validity | view | |
| UI.headerInfo.typeNamePlural | Contract Item Validities | view | |
| UI.headerInfo.title.value | ConditionValidityEndDate | view | |
| UI.headerInfo.description.value | ConditionValidityEndDate | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CentralPurchaseContract | CentralPurchaseContract | Purchasing Doc. | |
| KEY | CentralPurchaseContractItem | CentralPurchaseContractItem | Item in Central Purchase Contract | |
| KEY | ConditionRecord | ConditionRecord | Cond.Record No. | |
| KEY | ConditionValidityEndDate | ConditionValidityEndDate | Valid To | |
| ConditionApplication | ConditionApplication | Application | ||
| ConditionType | ConditionType | ConditionType | ||
| ConditionText | _ConditionText | ConditionText | Node Condition Text | |
| ConditionValidityStartDate | ConditionValidityStartDate | Valid From | ||
| ProcmtHubPlantUniqueID | I_CntrlPurContrItmCndnValdtyTP | ProcmtHubPlantUniqueID | Plant Unique ID | |
| ProcmtHubPlant | _ProcmtHubPlantSystemVH | ProcmtHubPlant | Plant | |
| ProcurementHubSourceSystem | _ProcmtHubPlantSystemVH | ProcurementHubSourceSystem | Source System | |
| ProcurementHubSourceSystemName | _ProcmtHubPlantSystemVH | ProcurementHubSourceSystemName | Connected Sys Name | |
| ProcmtHubPlantName | _ProcmtHubPlantSystemVH | ProcmtHubPlantName | Plant Name | |
| ConditionIsDeleted | ConditionIsDeleted | Deletion Indic. | ||
| _CentralPurchaseContractTP | _CentralPurchaseContractTP | |||
| _CntrlPurContrItmCndnAmountTP | _CntrlPurContrItmCndnAmountTP | |||
| _CntrlPurchaseContractItemTP | _CntrlPurchaseContractItemTP | |||
| _ProcmtHubPlantSystemVH | _ProcmtHubPlantSystemVH | |||
| _ConditionText | _ConditionText | |||
| _PurgMasterConditionTypeVH | _PurgMasterConditionTypeVH |
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_CntrlPurContrItmCndnValdtyTP.
-- 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: CCCTRICNDNVALTP
CREATE VIEW C_CntrlPurContrItmCndnValdtyTP AS
SELECT
CentralPurchaseContract,
CentralPurchaseContractItem,
ConditionRecord,
ConditionValidityEndDate,
ConditionApplication,
ConditionType,
_ConditionText.ConditionText AS ConditionText,
ConditionValidityStartDate,
I_CntrlPurContrItmCndnValdtyTP.ProcmtHubPlantUniqueID AS ProcmtHubPlantUniqueID,
_ProcmtHubPlantSystemVH.ProcmtHubPlant AS ProcmtHubPlant,
_ProcmtHubPlantSystemVH.ProcurementHubSourceSystem AS ProcurementHubSourceSystem,
_ProcmtHubPlantSystemVH.ProcurementHubSourceSystemName AS ProcurementHubSourceSystemName,
_ProcmtHubPlantSystemVH.ProcmtHubPlantName AS ProcmtHubPlantName,
ConditionIsDeleted
FROM I_CntrlPurContrItmCndnValdtyTP
LEFT OUTER JOIN C_CntrlPurContrItmCndnAmountTP AS _CntrlPurContrItmCndnAmountTP ON CentralPurchaseContract = _CntrlPurContrItmCndnAmountTP.CentralPurchaseContract AND CentralPurchaseContractItem = _CntrlPurContrItmCndnAmountTP.CentralPurchaseContractItem AND ConditionRecord = _CntrlPurContrItmCndnAmountTP.ConditionRecord AND ConditionValidityEndDate = _CntrlPurContrItmCndnAmountTP.ConditionValidityEndDate -- association [1..*]
LEFT OUTER JOIN C_CntrlPurchaseContractItemTP AS _CntrlPurchaseContractItemTP ON CentralPurchaseContract = _CntrlPurchaseContractItemTP.CentralPurchaseContract AND CentralPurchaseContractItem = _CntrlPurchaseContractItemTP.CentralPurchaseContractItem -- association [1..1]
LEFT OUTER JOIN C_CentralPurchaseContractTP AS _CentralPurchaseContractTP ON CentralPurchaseContract = _CentralPurchaseContractTP.CentralPurchaseContract -- association [1..1]
LEFT OUTER JOIN C_ProcmtHubPlantSystemVH AS _ProcmtHubPlantSystemVH ON ProcmtHubPlantUniqueID = _ProcmtHubPlantSystemVH.ProcmtHubPlantUniqueID -- association [1..*]
LEFT OUTER JOIN I_PurConditionText AS _ConditionText ON ConditionType = _ConditionText.ConditionType AND _ConditionText.ConditionApplication = 'M' AND _ConditionText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_PurgMasterConditionTypeVH AS _PurgMasterConditionTypeVH ON ConditionType = _PurgMasterConditionTypeVH.ConditionType -- association [0..*]
;
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