C_CmplRqRsltChmCmInSiCmTP

DDL: C_CMPLRQRSLTCHMCMINSICMTP SQL: CCRRCCISCCTP Type: view CONSUMPTION

Marketability Assessment - Product

C_CmplRqRsltChmCmInSiCmTP is a Consumption CDS View that provides data about "Marketability Assessment - Product" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltTP) and exposes 44 fields. It has 14 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltTP CmplRqRslt from

Associations (14)

CardinalityTargetAliasCondition
[0..*] C_ChmlCmplncInfoSiCmStmntTP _CmplRqRsltCmplncStmnt $projection.CmplRqRsltUUID = _CmplRqRsltCmplncStmnt.CmplRqRsltUUID -- editable associations for Exemption
[0..*] C_ChmlCmplncInfoSiCmExmpTP _CmplRqRsltExemption $projection.CmplRqRsltUUID = _CmplRqRsltExemption.CmplRqRsltUUID -- These associations are used to get descriptive texts for the corrseponding CCI and CRV
[1..1] C_ChmlCmplncPrimMatl _MaterialDataPrimary $projection.ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID
[1..1] I_CmplRqVersEnhanced _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID -- Supplier Assessment Details
[0..*] C_CmplRqRsltSuplrMatlAssmtSts _CmplRqRsltSuplrMatlAssmtSts $projection.ActiveCmplRqRsltUUID = _CmplRqRsltSuplrMatlAssmtSts.CmplRqRsltUUID -- provides the info if a corresponding RELEASED CRR exists, this info is needed to control the visible of the link to the released CRR in the object page's message strip
[0..1] I_CmplRqRslt _ReleasedCmplRqRslt $projection.ChmlCmplncInfoUUID = _ReleasedCmplRqRslt.ChmlCmplncInfoUUID and $projection.CmplRqVersUUID = _ReleasedCmplRqRslt.CmplRqVersUUID and _ReleasedCmplRqRslt.CmplRqRsltProcessingStatus = 'RE'
[1..1] I_CmplRqRsltCalcdCmplncStsVH _CalculatedCmplncStsVH $projection.CmplRqRsltCalculatedStatus = _CalculatedCmplncStsVH.CmplRqRsltCmplncSts
[0..1] I_CmplncRqmtRsltCmplncStsVH _PreliminaryStsVH $projection.CmplRqRsltPrelimCmplncSts = _PreliminaryStsVH.CmplRqRsltCmplncSts --
[1..*] I_CmplRqRsltProcgStsTxt _CmplRqRsltProcgStsTxt $projection.CmplRqRsltProcessingStatus = _CmplRqRsltProcgStsTxt.CmplRqRsltProcessingStatus --
[0..1] I_CmplRqRsltMnlCmplncStsVH _ManuallySetCmplncStsVH $projection.CmplRqRsltManualStatus = _ManuallySetCmplncStsVH.CmplRqRsltCmplncSts
[0..*] I_CmplncRqmtRsltCmplncStsTxt _ReleasedCmplncStsTxt $projection.CmplRqRsltReldCmplncSts = _ReleasedCmplncStsTxt.CmplRqRsltCmplncSts --
[0..1] I_CmplncRqmtRsltStsConstants _CmplncStsConstantsManually $projection.CmplRqRsltManualStatus = _CmplncStsConstantsManually.CmplRqRsltCmplncSts
[0..1] I_CmplncRqmtRsltStsConstants _CmplncStsConstantsReleased $projection.CmplRqRsltReldCmplncSts = _CmplncStsConstantsReleased.CmplRqRsltCmplncSts -- Associations for chart data
[0..*] C_NmbrOfSupMaAssmtByCritlty _NmbrOfSupMaAssmtByCritlty $projection.ActiveCmplRqRsltUUID = _NmbrOfSupMaAssmtByCritlty.CmplRqRsltUUID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CCRRCCISCCTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Marketability Assessment - Product view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view

Fields (44)

KeyFieldSource TableSource FieldDescription
CmplRqRsltUUID
ActiveCmplRqRsltUUID I_CmplRqRsltTP ActiveCmplRqRsltUUID Compliance Assessment UUID
ChmlCmplncInfoUnpckgdProdName
ChmlCmplncInternalName
ChmlCmplncInfoCombinedMaterial
CmplRqRsltCalculatedStatusName
CmplRqRsltManualCmplncStsName
CmplRqRsltManualCmplncStsCritl _CmplncStsConstantsManually CmplRqRsltCmplncStsCriticality
CmplRqRsltPrelimCmplncStsName
CmplRqRsltPrelimCmplncStsCritl _PreliminaryStsVH CmplRqRsltCmplncStsCriticality
CmplRqRsltReldCmplncStsName
CmplRqRsltReldCmplncStsCritlty _CmplncStsConstantsReleased CmplRqRsltCmplncStsCriticality
Processor
CmplRqRsltProcessorName
ReleasedByUser
ReleasedByUserName
CmplRqRsltStatusRemark
CmplRqRsltProcessingStatus
CmplRqRsltProcessingStatusName
ChmlCmplncInfoType
ChmlCmplncProdIsResearched
MaterialIsSold
MaterialIsTransported
MaterialIsSourced
MaterialIsProduced
LastChangeDateTime I_CmplRqRsltTP LastChangeDateTime Timestamp
ValidityStartDateTime I_CmplRqRsltTP ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime I_CmplRqRsltTP ValidityEndDateTime Valid To Timestamp
CmplRqVersNmbrOfExemptions
CmplRqVersNmbrOfCmplncStmnt
ChmlCmplncInfoUUID
ChmlSuplrMatlUUID I_CmplRqRsltTP ChmlSuplrMatlUUID Supplier Raw Material
SubstanceUUID I_CmplRqRsltTP SubstanceUUID Substance
CmplRqVersUUID I_CmplRqRsltTP CmplRqVersUUID NodeID
ChemicalCustomerMaterialUUID I_CmplRqRsltTP ChemicalCustomerMaterialUUID Customer Material
Associations_CmplRqRsltCmplncStmnt
_CmplRqRsltExemption _CmplRqRsltExemption
_CmplRqRsltSuplrMatlAssmtSts _CmplRqRsltSuplrMatlAssmtSts
_MaterialDataPrimary _MaterialDataPrimary
_CmplRqVers _CmplRqVers
_ManuallySetCmplncStsVH _ManuallySetCmplncStsVH
_CmplRqRsltProcgStsTxt _CmplRqRsltProcgStsTxt
_PreliminaryStsVH _PreliminaryStsVH
_NmbrOfSupMaAssmtByCritlty _NmbrOfSupMaAssmtByCritlty

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_CmplRqRsltChmCmInSiCmTP.
-- 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: CCRRCCISCCTP

CREATE VIEW C_CmplRqRsltChmCmInSiCmTP AS
SELECT
  CmplRqRslt.ActiveCmplRqRsltUUID AS ActiveCmplRqRsltUUID,
  cast( '' as ehfnd_cci_up ) AS ChmlCmplncInfoUnpckgdProdName,
  CmplRqRslt._ChmlCmplncInfo.ChmlCmplncInternalName AS ChmlCmplncInternalName,
  cast ( '' as ehfnd_cci_raw_material_name ) AS ChmlCmplncInfoCombinedMaterial,
  cast( _CalculatedCmplncStsVH._Text[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type ) AS CmplRqRsltCalculatedStatusName,
  cast(_ManuallySetCmplncStsVH._Text[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type ) AS CmplRqRsltManualCmplncStsName,
  _CmplncStsConstantsManually.CmplRqRsltCmplncStsCriticality AS CmplRqRsltManualCmplncStsCritl,
  cast(_PreliminaryStsVH._Text[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type ) AS CmplRqRsltPrelimCmplncStsName,
  _PreliminaryStsVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltPrelimCmplncStsCritl,
  cast( _ReleasedCmplncStsTxt[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type) AS CmplRqRsltReldCmplncStsName,
  _CmplncStsConstantsReleased.CmplRqRsltCmplncStsCriticality AS CmplRqRsltReldCmplncStsCritlty,
  cast( '' as ad_namtext ) AS CmplRqRsltProcessorName,
  cast( '' as ad_namtext ) AS ReleasedByUserName,
  _CmplRqRsltProcgStsTxt[1: Language = $session.system_language ].ProcessingStatusText AS CmplRqRsltProcessingStatusName,
  CmplRqRslt._ChmlCmplncInfo.ChmlCmplncProdIsResearched AS ChmlCmplncProdIsResearched,
  cast( '' as ehfnd_cci_is_sold ) AS MaterialIsSold,
  cast( '' as ehfnd_cci_is_transported ) AS MaterialIsTransported,
  cast( '' as ehfnd_cci_is_sourced ) AS MaterialIsSourced,
  cast( '' as ehfnd_cci_is_produced ) AS MaterialIsProduced,
  CmplRqRslt.LastChangeDateTime AS LastChangeDateTime,
  CmplRqRslt.ValidityStartDateTime AS ValidityStartDateTime,
  CmplRqRslt.ValidityEndDateTime AS ValidityEndDateTime,
  cast( 0 as abap.int2 ) AS CmplRqVersNmbrOfExemptions,
  cast( 0 as abap.int2 ) AS CmplRqVersNmbrOfCmplncStmnt,
  CmplRqRslt.ChmlSuplrMatlUUID AS ChmlSuplrMatlUUID,
  CmplRqRslt.SubstanceUUID AS SubstanceUUID,
  CmplRqRslt.CmplRqVersUUID AS CmplRqVersUUID,
  CmplRqRslt.ChemicalCustomerMaterialUUID AS ChemicalCustomerMaterialUUID
FROM I_CmplRqRsltTP AS CmplRqRslt
LEFT OUTER JOIN C_ChmlCmplncInfoSiCmStmntTP AS _CmplRqRsltCmplncStmnt ON CmplRqRsltUUID = _CmplRqRsltCmplncStmnt.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncInfoSiCmExmpTP AS _CmplRqRsltExemption ON CmplRqRsltUUID = _CmplRqRsltExemption.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _MaterialDataPrimary ON ChmlCmplncInfoUUID = _MaterialDataPrimary.ChmlCmplncInfoUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [1..1]
LEFT OUTER JOIN C_CmplRqRsltSuplrMatlAssmtSts AS _CmplRqRsltSuplrMatlAssmtSts ON ActiveCmplRqRsltUUID = _CmplRqRsltSuplrMatlAssmtSts.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplRqRslt AS _ReleasedCmplRqRslt ON ChmlCmplncInfoUUID = _ReleasedCmplRqRslt.ChmlCmplncInfoUUID AND CmplRqVersUUID = _ReleasedCmplRqRslt.CmplRqVersUUID AND _ReleasedCmplRqRslt.CmplRqRsltProcessingStatus = 'RE'  -- association [0..1]
LEFT OUTER JOIN I_CmplRqRsltCalcdCmplncStsVH AS _CalculatedCmplncStsVH ON CmplRqRsltCalculatedStatus = _CalculatedCmplncStsVH.CmplRqRsltCmplncSts  -- association [1..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsVH AS _PreliminaryStsVH ON CmplRqRsltPrelimCmplncSts = _PreliminaryStsVH.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN I_CmplRqRsltProcgStsTxt AS _CmplRqRsltProcgStsTxt ON CmplRqRsltProcessingStatus = _CmplRqRsltProcgStsTxt.CmplRqRsltProcessingStatus  -- association [1..*]
LEFT OUTER JOIN I_CmplRqRsltMnlCmplncStsVH AS _ManuallySetCmplncStsVH ON CmplRqRsltManualStatus = _ManuallySetCmplncStsVH.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsTxt AS _ReleasedCmplncStsTxt ON CmplRqRsltReldCmplncSts = _ReleasedCmplncStsTxt.CmplRqRsltCmplncSts  -- association [0..*]
LEFT OUTER JOIN I_CmplncRqmtRsltStsConstants AS _CmplncStsConstantsManually ON CmplRqRsltManualStatus = _CmplncStsConstantsManually.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN I_CmplncRqmtRsltStsConstants AS _CmplncStsConstantsReleased ON CmplRqRsltReldCmplncSts = _CmplncStsConstantsReleased.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN C_NmbrOfSupMaAssmtByCritlty AS _NmbrOfSupMaAssmtByCritlty ON ActiveCmplRqRsltUUID = _NmbrOfSupMaAssmtByCritlty.CmplRqRsltUUID  -- association [0..*]
;