C_CntrbtScenAssgmtCnsmrVH
Contributing Scenario Consumer
C_CntrbtScenAssgmtCnsmrVH is a Consumption CDS View that provides data about "Contributing Scenario Consumer" in SAP S/4HANA. It reads from 3 data sources (P_ExpsrScenAssmt, R_ExposureScenarioTP, I_ExpsrScenAssmtDraft) and exposes 13 fields with key fields CmplRqRsltUUID, PCESContributingScenarioUUID. It has 3 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_ExpsrScenAssmt | _CntrbtScenAssmt | inner |
| R_ExposureScenarioTP | _ExposureScenario | from |
| I_ExpsrScenAssmtDraft | _ExpsrScenAssmtDraft | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_CmplRqRsltUUID | sysuuid_x |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_CntrbtScenCnsmrGenDataTP | _CntrbtScenGenData | _CntrbtScenGenData.CmplRqRsltUUID = _CntrbtScenAssmt.CmplRqRsltUUID -- Value Helps |
| [1..1] | C_CntrbtScenTypeVH | _ScenTypeVH | $projection.PCESScenarioType = _ScenTypeVH.PCESScenarioType --Link to processing status |
| [0..1] | I_PCPrptyProcgSts | _ProcessingStatus | $projection.CmplRqRsltProcessingStatus = _ProcessingStatus.PCPrptyProcgSts |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Contributing Scenario Consumer | view | |
| AbapCatalog.sqlViewName | CCRRCSCAGVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.representativeKey | PCESContributingScenarioUUID | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmplRqRsltUUID | I_ExpsrScenAssmtDraft | CmplRqRsltUUID | SDS Assessment |
| KEY | PCESContributingScenarioUUID | R_ExposureScenarioTP | PCESScenarioUUID | Scenario UUID |
| CmplRqVersUUID | P_ExpsrScenAssmt | CmplRqVersUUID | NodeID | |
| ComplianceRequirement | R_ExposureScenarioTP | ComplianceRequirement | Compliance Requirement | |
| PCESExposureScenarioType | P_ExpsrScenAssmt | PCESExposureScenarioType | Scenario Type | |
| PCESScenarioType | P_ExpsrScenAssmt | PCESScenarioType | Scenario Type | |
| PCESScenarioTypeTxt | _ScenTypeVH | PCESScenarioTypeTxt | ||
| PCESShortTitlePhrs2UUID | _CntrbtScenGenData | PCESShortTitlePhrs2UUID | Short Title | |
| PCESShortTitlePhrs3UUID | _CntrbtScenGenData | PCESShortTitlePhrs3UUID | Short Title | |
| PCESShortTitlePhrs4UUID | _CntrbtScenGenData | PCESShortTitlePhrs4UUID | Short Title | |
| PCESShortTitlePhrs5UUID | _CntrbtScenGenData | PCESShortTitlePhrs5UUID | Short Title | |
| PCESShortTitlePhrs6UUID | _CntrbtScenGenData | PCESShortTitlePhrs6UUID | Short Title | |
| CmplRqRsltProcessingStatusName |
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_CntrbtScenAssgmtCnsmrVH.
-- 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: CCRRCSCAGVH
-- Parameters: P_CmplRqRsltUUID : sysuuid_x
CREATE VIEW C_CntrbtScenAssgmtCnsmrVH AS
SELECT
_ExpsrScenAssmtDraft.CmplRqRsltUUID AS CmplRqRsltUUID,
_ExposureScenario.PCESScenarioUUID AS PCESContributingScenarioUUID,
_CntrbtScenAssmt.CmplRqVersUUID AS CmplRqVersUUID,
_ExposureScenario.ComplianceRequirement AS ComplianceRequirement,
_CntrbtScenAssmt.PCESExposureScenarioType AS PCESExposureScenarioType,
_CntrbtScenAssmt.PCESScenarioType AS PCESScenarioType,
_ScenTypeVH.PCESScenarioTypeTxt AS PCESScenarioTypeTxt,
_CntrbtScenGenData.PCESShortTitlePhrs2UUID AS PCESShortTitlePhrs2UUID,
_CntrbtScenGenData.PCESShortTitlePhrs3UUID AS PCESShortTitlePhrs3UUID,
_CntrbtScenGenData.PCESShortTitlePhrs4UUID AS PCESShortTitlePhrs4UUID,
_CntrbtScenGenData.PCESShortTitlePhrs5UUID AS PCESShortTitlePhrs5UUID,
_CntrbtScenGenData.PCESShortTitlePhrs6UUID AS PCESShortTitlePhrs6UUID,
cast(_ProcessingStatus._Text[ 1: Language = $session.system_language ].PCPrptyProcgStsText as ehsds_es_status) AS CmplRqRsltProcessingStatusName
FROM R_ExposureScenarioTP AS _ExposureScenario
INNER JOIN I_ExpsrScenAssmtDraft AS _ExpsrScenAssmtDraft ON /* join condition not captured in parsed metadata */
INNER JOIN P_ExpsrScenAssmt AS _CntrbtScenAssmt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_CntrbtScenCnsmrGenDataTP AS _CntrbtScenGenData ON _CntrbtScenGenData.CmplRqRsltUUID = _CntrbtScenAssmt.CmplRqRsltUUID -- association [1..1]
LEFT OUTER JOIN C_CntrbtScenTypeVH AS _ScenTypeVH ON PCESScenarioType = _ScenTypeVH.PCESScenarioType -- association [1..1]
LEFT OUTER JOIN I_PCPrptyProcgSts AS _ProcessingStatus ON CmplRqRsltProcessingStatus = _ProcessingStatus.PCPrptyProcgSts -- 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