C_CmplRqRsltRawMatlIssue
Raw Materials with Issues
C_CmplRqRsltRawMatlIssue is a Consumption CDS View that provides data about "Raw Materials with Issues" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltChmlCmplncAssmtSts) and exposes 13 fields with key field CmplRqRsltChmlCmplncAssmtUUID. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRsltChmlCmplncAssmtSts | RawMaterialIssue | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CmplncRqmtRsltCmplncStsVH | _CmplncRqmtRsltCmplncStsVH | $projection.CmplRqRsltReldCmplncSts = _CmplncRqmtRsltCmplncStsVH.CmplRqRsltCmplncSts |
| [0..*] | I_CmplncRqmtRsltReldStsTxt | _CmplRqRsltStsTxt | $projection.CmplRqRsltReldCmplncSts = _CmplRqRsltStsTxt.CmplRqRsltCmplncSts |
| [0..1] | C_ChmlCmplncPrimMatl | _MaterialDataPrimary | RawMaterialIssue.ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID |
| [1..1] | I_ChmlComponent | _ChmlComponent | RawMaterialIssue.ChmlCompUUID = _ChmlComponent.ChmlCompUUID |
| [1..1] | I_CmplRqRslt | _CmplRqRslt | $projection.CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCRRRMISS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Raw Materials with Issues | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmplRqRsltChmlCmplncAssmtUUID | I_CmplRqRsltChmlCmplncAssmtSts | CmplRqRsltChmlCmplncAssmtUUID | Assessment Detail |
| CmplRqRsltUUIDasCmplRqRsltUUID | ||||
| CmplRqRsltNavgnLink | I_CmplRqRsltChmlCmplncAssmtSts | CmplRqRsltChmlCmplncInfoUUID | Compliance Assessment UUID | |
| CmplRqRsltIsActiveEntity | ||||
| CmplRqRsltReldCmplncStsName | ||||
| CmplRqRsltReldCmplncStsCritlty | _CmplncRqmtRsltCmplncStsVH | CmplRqRsltCmplncStsCriticality | ||
| ChmlCmplncInfoCombinedName | ||||
| Material | ||||
| ChmlCompositionUUID | ||||
| CmplRqVersUUID | _CmplRqRslt | CmplRqVersUUID | NodeID | |
| ComplianceRequirement | _CmplRqRslt | ComplianceRequirement | Compliance Requirement | |
| _CmplncRqmtRsltCmplncStsVH | _CmplncRqmtRsltCmplncStsVH | |||
| Neededforauthorizationchecks_CmplRqRslt |
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_CmplRqRsltRawMatlIssue.
-- 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: CCRRRMISS
CREATE VIEW C_CmplRqRsltRawMatlIssue AS
SELECT
RawMaterialIssue.CmplRqRsltChmlCmplncAssmtUUID AS CmplRqRsltChmlCmplncAssmtUUID,
RawMaterialIssue.CmplRqRsltChmlCmplncInfoUUID AS CmplRqRsltNavgnLink,
cast('X' as boole_d) AS CmplRqRsltIsActiveEntity,
cast(_CmplRqRsltStsTxt[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type) AS CmplRqRsltReldCmplncStsName,
_CmplncRqmtRsltCmplncStsVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltReldCmplncStsCritlty,
cast(_MaterialDataPrimary.ChmlCmplncInfoCombinedName as ehfnd_cci_raw_material_name preserving type) AS ChmlCmplncInfoCombinedName,
cast(_MaterialDataPrimary.Material as matnr preserving type) AS Material,
_CmplRqRslt.CmplRqVersUUID AS CmplRqVersUUID,
_CmplRqRslt.ComplianceRequirement AS ComplianceRequirement
FROM I_CmplRqRsltChmlCmplncAssmtSts AS RawMaterialIssue
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsVH AS _CmplncRqmtRsltCmplncStsVH ON CmplRqRsltReldCmplncSts = _CmplncRqmtRsltCmplncStsVH.CmplRqRsltCmplncSts -- association [0..1]
LEFT OUTER JOIN I_CmplncRqmtRsltReldStsTxt AS _CmplRqRsltStsTxt ON CmplRqRsltReldCmplncSts = _CmplRqRsltStsTxt.CmplRqRsltCmplncSts -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON RawMaterialIssue.ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN I_ChmlComponent AS _ChmlComponent ON RawMaterialIssue.ChmlCompUUID = _ChmlComponent.ChmlCompUUID -- association [1..1]
LEFT OUTER JOIN I_CmplRqRslt AS _CmplRqRslt ON CmplRqRsltUUID = _CmplRqRslt.CmplRqRsltUUID -- association [1..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