C_CmplRqRsltRawMatlMonitor

DDL: C_CMPLRQRSLTRAWMATLMONITOR Type: view CONSUMPTION Package: EHPMA_CNS_CRR

Assess Marketability Requirements for Raw Materials

C_CmplRqRsltRawMatlMonitor is a Consumption CDS View that provides data about "Assess Marketability Requirements for Raw Materials" in SAP S/4HANA. It reads from 2 data sources (I_ChmlCmplncInfo, I_CmplRqRslt) and exposes 7 fields with key field CmplRqRsltUUID. It has 9 associations to related views. It is exposed through 1 OData service (ASQL_F3221). Part of development package EHPMA_CNS_CRR.

Data Sources (2)

SourceAliasJoin Type
I_ChmlCmplncInfo ChmlCmplncInfo inner
I_CmplRqRslt CmplRqRslt from

Associations (9)

CardinalityTargetAliasCondition
[1..1] I_CmplRqVersEnhanced _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- Applicability areas to show the country
[0..*] I_CmplRqVersAppltyArea _CmplRqVersAppltyArea $projection.CmplRqVersUUID = _CmplRqVersAppltyArea.CmplRqVersUUID -- These associations are used to get descriptive texts for the corrseponding CCI and CRV
[1..1] C_ChmlCmplncPrimMatl _MaterialDataPrimary $projection.ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID --Value helps to show translatable, human-readable texts instead of technical codes
[1..1] I_ChmlCmplncInfoVH _ChmlCmplncInfoVH $projection.ChmlCmplncInfoCombinedName = _ChmlCmplncInfoVH.ChmlCmplncInfoCombinedName
[0..1] I_ProductVH _ProductVH $projection.Material = _ProductVH.Product
[0..1] I_CmplRqRsltMntrMktbltySts _PreliminaryStsVH $projection.CmplRqRsltPrelimCmplncSts = _PreliminaryStsVH.CmplRqRsltCmplncSts -- These assosiations are used to show text for the Marketability Status
[0..1] I_CmplncRqmtRsltCmplncStsTxt _CmplncRqmtRsltCmplncStsTxt $projection.CmplRqRsltPrelimCmplncSts = _CmplncRqmtRsltCmplncStsTxt.CmplRqRsltCmplncSts
[0..1] I_CmplRqRsltRskAssmtStsTxt _CmplRqRsltRskAssmtStsTxt $projection.CmplRqRsltPrelimCmplncSts = _CmplRqRsltRskAssmtStsTxt.CmplRqRsltCmplncSts --required to show a draft-indicator
[1..1] C_CmplRqRsltDraftAdminvData _DraftAdministrativeData $projection.CmplRqRsltUUID = _DraftAdministrativeData.CmplRqRsltUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CCRRRMMONITOR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Assess Marketability Requirements for Raw Materials view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
Metadata.allowExtensions true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3221 ASQL_F3221 C2 NOT_RELEASED

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID I_CmplRqRslt CmplRqRsltUUID SDS Assessment
ChmlCmplncInfoUUID I_CmplRqRslt ChmlCmplncInfoUUID Chemical Compliance Information PP
CmplRqVersUUID I_CmplRqRslt CmplRqVersUUID NodeID
CmplRqVersEnglishName _CmplRqVers CmplRqVersEnglishName
CmplRqVersNameInCurLang
ComplianceRequirement I_CmplRqRslt ComplianceRequirement Compliance Requirement
_ChmlCmplncInfo

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_CmplRqRsltRawMatlMonitor.
-- 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 C_CmplRqRsltRawMatlMonitor AS
SELECT
  CmplRqRslt.CmplRqRsltUUID AS CmplRqRsltUUID,
  CmplRqRslt.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  CmplRqRslt.CmplRqVersUUID AS CmplRqVersUUID,
  _CmplRqVers.CmplRqVersEnglishName AS CmplRqVersEnglishName,
  _CmplRqVers._CmplRqVersTextInCurrentLang.CmplRqVersName AS CmplRqVersNameInCurLang,
  CmplRqRslt.ComplianceRequirement AS ComplianceRequirement
FROM I_CmplRqRslt AS CmplRqRslt
INNER JOIN I_ChmlCmplncInfo AS ChmlCmplncInfo ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplRqVersAppltyArea AS _CmplRqVersAppltyArea ON CmplRqVersUUID = _CmplRqVersAppltyArea.CmplRqVersUUID  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN I_ChmlCmplncInfoVH AS _ChmlCmplncInfoVH ON ChmlCmplncInfoCombinedName = _ChmlCmplncInfoVH.ChmlCmplncInfoCombinedName  -- association [1..1]
LEFT OUTER JOIN I_ProductVH AS _ProductVH ON Material = _ProductVH.Product  -- association [0..1]
LEFT OUTER JOIN I_CmplRqRsltMntrMktbltySts AS _PreliminaryStsVH ON CmplRqRsltPrelimCmplncSts = _PreliminaryStsVH.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsTxt AS _CmplncRqmtRsltCmplncStsTxt ON CmplRqRsltPrelimCmplncSts = _CmplncRqmtRsltCmplncStsTxt.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN I_CmplRqRsltRskAssmtStsTxt AS _CmplRqRsltRskAssmtStsTxt ON CmplRqRsltPrelimCmplncSts = _CmplRqRsltRskAssmtStsTxt.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN C_CmplRqRsltDraftAdminvData AS _DraftAdministrativeData ON CmplRqRsltUUID = _DraftAdministrativeData.CmplRqRsltUUID  -- association [1..1]
;