C_ChmlCmplncMktCmplRqRslt

DDL: C_CHMLCMPLNCMKTCMPLRQRSLT SQL: CCCMKTCRR Type: view CONSUMPTION

Compliance Requirement Results

C_ChmlCmplncMktCmplRqRslt is a Consumption CDS View that provides data about "Compliance Requirement Results" in SAP S/4HANA. It reads from 2 data sources (I_ChmlCmplncCmplRqRslt, I_CmplRqVersCntry) and exposes 24 fields with key fields Country, ChmlCmplncInfoUUID, CmplRqVersUUID. It has 7 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_ChmlCmplncCmplRqRslt CmplRqRslt from
I_CmplRqVersCntry Cntry left_outer

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_CmplRqVersEnhanced _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID
[0..*] I_CmplncRqmtRsltCmplncStsTxt _ReldCmplncStsTxt $projection.CmplRqRsltReldCmplncSts = _ReldCmplncStsTxt.CmplRqRsltCmplncSts
[0..*] I_CmplRqRsltRskAssmtStsTxt _CmplRqRsltRskAssmtStsTxt $projection.CmplRqRsltReldCmplncSts = _CmplRqRsltRskAssmtStsTxt.CmplRqRsltCmplncSts --
[0..1] I_CmplncRqmtRsltStsConstants _CmplncStsConstants $projection.CmplRqRsltReldCmplncSts = _CmplncStsConstants.CmplRqRsltCmplncSts
[0..1] C_PckgdChmlCmplncInfoTP _PckgdChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _PckgdChmlCmplncInfo.ChmlCmplncInfoUUID -- user description
[0..1] I_BusinessUserBasic _ReleasedByUser $projection.ReleasedByUser = _ReleasedByUser.BusinessPartner --
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncProdUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CCCMKTCRR view
AbapCatalog.compiler.compareFilter true view
EndUserText.label Compliance Requirement Results view
AccessControl.authorizationCheck #CHECK 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 #D view
Search.searchable true view
Consumption.ranked true view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY Country
KEY ChmlCmplncInfoUUID ChmlCmplncInfoUUID Chemical Compliance Information PP
KEY CmplRqVersUUID I_ChmlCmplncCmplRqRslt CmplRqVersUUID NodeID
ChmlCmplncProdUUID ChmlCmplncProdUUID Product Assignment
CmplRqVersName
CmplRqVers
CmplRqVersEnglishName _CmplRqVers CmplRqVersEnglishName
ComplianceRequirement _CmplRqVers ComplianceRequirement Compliance Requirement
CmplRqPattern _CmplRqVers CmplRqPattern Compliance Pattern
CmplRqRsltUUIDendasCmplRqRsltNavgnLink
ChmlCmplncInfoCombinedName
MaterialName
ChmlCmplncInternalName _PckgdChmlCmplncInfo ChmlCmplncInternalName Internal Name
Material
CmplRqRsltReldCmplncSts Released Compliance Status
CmplRqRsltCmplncSts Released Compliance Status
ReleaseDate ReleaseDate
ReleasedByUser ReleasedByUser Released By
CmplRqRsltProcessorName _ReleasedByUser PersonFullName Full Name
_CmplRqVers _CmplRqVers
_ReldCmplncStsTxt _ReldCmplncStsTxt
_CmplRqRsltRskAssmtStsTxt _CmplRqRsltRskAssmtStsTxt
_PckgdChmlCmplncInfo _PckgdChmlCmplncInfo
_ChmlCmplncInfo _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_ChmlCmplncMktCmplRqRslt.
-- 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: CCCMKTCRR

CREATE VIEW C_ChmlCmplncMktCmplRqRslt AS
SELECT
  coalesce( Cntry.Country, 'Worldwide' ) AS Country,
  ChmlCmplncInfoUUID,
  CmplRqRslt.CmplRqVersUUID AS CmplRqVersUUID,
  ChmlCmplncProdUUID,
  cast( _CmplRqVers.CmplRqVersName as ehfnd_crr_crv_name preserving type ) AS CmplRqVersName,
  _CmplRqVers._CmplRqVersTextInCurrentLang.CmplRqVersName AS CmplRqVers,
  _CmplRqVers.CmplRqVersEnglishName AS CmplRqVersEnglishName,
  _CmplRqVers.ComplianceRequirement AS ComplianceRequirement,
  _CmplRqVers.CmplRqPattern AS CmplRqPattern,
  case when CmplRqRslt.ReldCmplRqRsltUUID is not null then CmplRqRslt.ReldCmplRqRsltUUID else CmplRqRslt.CmplRqRsltUUID end as CmplRqRsltNavgnLink AS CmplRqRsltUUIDendasCmplRqRsltNavgnLink,
  cast( _PckgdChmlCmplncInfo._MaterialDataPrimary.ChmlCmplncInfoCombinedName as ehpma_packaged_product_dsc preserving type) AS ChmlCmplncInfoCombinedName,
  _PckgdChmlCmplncInfo._MaterialDataPrimary.MaterialName AS MaterialName,
  _PckgdChmlCmplncInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
  _PckgdChmlCmplncInfo._MaterialDataPrimary.Material AS Material,
  cast(CmplRqRsltReldCmplncSts as ehpma_crr_mkt_status preserving type) AS CmplRqRsltReldCmplncSts,
  cast(CmplRqRsltReldCmplncSts as ehpma_crr_mkt_status) AS CmplRqRsltCmplncSts,
  ReleaseDate,
  ReleasedByUser,
  _ReleasedByUser.PersonFullName AS CmplRqRsltProcessorName
FROM I_ChmlCmplncCmplRqRslt AS CmplRqRslt
LEFT OUTER JOIN I_CmplRqVersCntry AS Cntry ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [0..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsTxt AS _ReldCmplncStsTxt ON CmplRqRsltReldCmplncSts = _ReldCmplncStsTxt.CmplRqRsltCmplncSts  -- association [0..*]
LEFT OUTER JOIN I_CmplRqRsltRskAssmtStsTxt AS _CmplRqRsltRskAssmtStsTxt ON CmplRqRsltReldCmplncSts = _CmplRqRsltRskAssmtStsTxt.CmplRqRsltCmplncSts  -- association [0..*]
LEFT OUTER JOIN I_CmplncRqmtRsltStsConstants AS _CmplncStsConstants ON CmplRqRsltReldCmplncSts = _CmplncStsConstants.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN C_PckgdChmlCmplncInfoTP AS _PckgdChmlCmplncInfo ON ChmlCmplncInfoUUID = _PckgdChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_BusinessUserBasic AS _ReleasedByUser ON ReleasedByUser = _ReleasedByUser.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncProdUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [1..1]
;