R_SrcgProjItmCndnValidity
Condition Validity of Srcg Project Item
R_SrcgProjItmCndnValidity is a Basic CDS View that provides data about "Condition Validity of Srcg Project Item" in SAP S/4HANA. It reads from 1 data source (mmspitmcndval) and exposes 14 fields with key field SrcgProjItemCndnValdtyUUID. It has 5 associations to related views. Part of development package VDM_MM_PUR_SRCGPROJ.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mmspitmcndval | mmspitmcndval | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | R_SrcgProjItmCndnAmount | _SrcgProjItmCndnAmount | $projection.SrcgProjItemCndnValdtyUUID = _SrcgProjItmCndnAmount.SrcgProjItemCndnValdtyUUID |
| [1..1] | R_SourcingProject | _SourcingProject | $projection.SourcingProjectUUID = _SourcingProject.SourcingProjectUUID |
| [1..1] | R_SourcingProjectItem | _SourcingProjectItem | $projection.SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID |
| [0..1] | I_BackendPlantForPurg | _BackendPlantForPurg | $projection.ProcmtHubPlantUniqueID = _BackendPlantForPurg.ProcmtHubPlantUniqueID |
| [*] | I_PurConditionText | _ConditionText | $projection.ConditionType = _ConditionText.ConditionType and _ConditionText.ConditionApplication = 'M' |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | RSPITMCNDNVLDTY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.representativeKey | SrcgProjItemCndnValdtyUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| EndUserText.label | Condition Validity of Srcg Project Item | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SrcgProjItemCndnValdtyUUID | srcgprojitemcndnvaldtyuuid | Srcg Proj Item Condition Validity UUID | |
| SourcingProjectUUID | sourcingprojectuuid | Sourcing Project UUID | ||
| SourcingProjectItemUUID | sourcingprojectitemuuid | Item UUID | ||
| ConditionValidityStartDate | conditionvaliditystartdate | Valid From | ||
| ConditionValidityEndDate | conditionvalidityenddate | Valid To | ||
| ProcmtHubPlantUniqueID | procmthubplantuniqueid | Plant Unique ID | ||
| ConditionType | conditiontype | Condition type | ||
| SourcingOrigin | sourcingorigin | Sourcing Origin | ||
| SourcingScenario | sourcingscenario | Integration Scenario | ||
| _SrcgProjItmCndnAmount | _SrcgProjItmCndnAmount | |||
| _SourcingProject | _SourcingProject | |||
| _SourcingProjectItem | _SourcingProjectItem | |||
| _BackendPlantForPurg | _BackendPlantForPurg | |||
| _ConditionText | _ConditionText |
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 R_SrcgProjItmCndnValidity.
-- 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.
CREATE VIEW R_SrcgProjItmCndnValidity AS
SELECT
SrcgProjItemCndnValdtyUUID,
SourcingProjectUUID,
SourcingProjectItemUUID,
ConditionValidityStartDate,
ConditionValidityEndDate,
ProcmtHubPlantUniqueID,
ConditionType,
SourcingOrigin,
SourcingScenario
FROM mmspitmcndval
LEFT OUTER JOIN R_SrcgProjItmCndnAmount AS _SrcgProjItmCndnAmount ON SrcgProjItemCndnValdtyUUID = _SrcgProjItmCndnAmount.SrcgProjItemCndnValdtyUUID -- association [0..*]
LEFT OUTER JOIN R_SourcingProject AS _SourcingProject ON SourcingProjectUUID = _SourcingProject.SourcingProjectUUID -- association [1..1]
LEFT OUTER JOIN R_SourcingProjectItem AS _SourcingProjectItem ON SourcingProjectItemUUID = _SourcingProjectItem.SourcingProjectItemUUID -- association [1..1]
LEFT OUTER JOIN I_BackendPlantForPurg AS _BackendPlantForPurg ON ProcmtHubPlantUniqueID = _BackendPlantForPurg.ProcmtHubPlantUniqueID -- association [0..1]
LEFT OUTER JOIN I_PurConditionText AS _ConditionText ON ConditionType = _ConditionText.ConditionType AND _ConditionText.ConditionApplication = 'M' -- association [*]
;
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