C_CmplRqRsltSubstSubLiChkTP

DDL: C_CMPLRQRSLTSUBSTSUBLICHKTP SQL: CCRRSUBSTSLCTP Type: view CONSUMPTION

Marketability Assessment - Substance

C_CmplRqRsltSubstSubLiChkTP is a Consumption CDS View that provides data about "Marketability Assessment - Substance" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltSubstListChkTP) and exposes 26 fields with key field CmplRqRsltUUID. It has 10 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltSubstListChkTP CmplRqRslt from

Associations (10)

CardinalityTargetAliasCondition
[0..*] C_SubstanceSubLiChkExmpTP _CmplRqRsltExemption $projection.CmplRqRsltUUID = _CmplRqRsltExemption.CmplRqRsltUUID
[0..*] C_CmplRqRsltSubstListChkActnTP _CmplRqRsltSubstanceAction $projection.CmplRqRsltUUID = _CmplRqRsltSubstanceAction.CmplRqRsltUUID
[0..1] C_CmplRqRsltSubLiChkActnInfoTP _CmplRqRsltActnInfo $projection.CmplRqRsltUUID = _CmplRqRsltActnInfo.CmplRqRsltUUID
[0..*] C_SubAsSubstSubLiChkInvtryList _SubAsSubstSubLiChkInvtryList $projection.ActiveCmplRqRsltUUID = _SubAsSubstSubLiChkInvtryList.CmplRqRsltSubstUUID
[0..*] C_SubAsSubstSubLiChkRstrcnList _SubAsSubstSubLiChkRstrcnList $projection.ActiveCmplRqRsltUUID = _SubAsSubstSubLiChkRstrcnList.CmplRqRsltSubstUUID
[1..1] I_CmplRqVersEnhanced _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID
[0..1] I_CmplRqRsltCmplncStsSubstVH _ManualStatusVH $projection.CmplRqRsltManualStatus = _ManualStatusVH.CmplRqRsltCmplncSts -- Number of configured exemptions and actions of the CRV
[0..1] P_CmplRqVersExemptionCount _CmplRqVersExemptionCount $projection.CmplRqVersUUID = _CmplRqVersExemptionCount.CmplRqVersUUID and _CmplRqVersExemptionCount.ProdCmplncPhrsEnabledField = 'EHFND_CRR_SUB_EXM_PH_UUID'
[0..1] P_CmplRqVersActionCount _CmplRqVersActionCount $projection.CmplRqVersUUID = _CmplRqVersActionCount.CmplRqVersUUID and _CmplRqVersActionCount.ProdCmplncPhrsEnabledField = 'EHFND_CRR_ACTION_PH_UUID' -- Number of configured lists
[1..1] P_CmplRqRsltListTypeExisting _CmplRqRsltListTypeExisting $projection.ActiveCmplRqRsltUUID = _CmplRqRsltListTypeExisting.CmplRqRsltUUID

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName CCRRSUBSTSLCTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Marketability Assessment - Substance view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE 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
UI.headerInfo.typeName Marketability Assessment - Substance view
UI.headerInfo.typeNamePlural Marketability Assessments view
UI.headerInfo.title.value CmplRqVersName view
UI.headerInfo.description.value SubstanceName view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY CmplRqRsltUUID I_CmplRqRsltSubstListChkTP CmplRqRsltUUID SDS Assessment
ActiveCmplRqRsltUUID I_CmplRqRsltSubstListChkTP ActiveCmplRqRsltUUID Compliance Assessment UUID
SubstanceUUID I_CmplRqRsltSubstListChkTP SubstanceUUID Substance
CmplRqVersUUID I_CmplRqRsltSubstListChkTP CmplRqVersUUID NodeID
ComplianceRequirement I_CmplRqRsltSubstListChkTP ComplianceRequirement Compliance Requirement
CmplRqRsltManualCmplncStsName
Processor Processor User Name
CmplRqRsltProcessorName
CmplRqRsltStatusRemark CmplRqRsltStatusRemark Remarks
SubstanceName
CASNumber
CmplRqVersName _CmplRqVers CmplRqVersName Compliance Requirement Name
CmplRqVersNmbrOfExemptions _CmplRqVersExemptionCount CmplRqVersNmbrOfExemptions
CmplRqVersNmbrOfActions _CmplRqVersActionCount CmplRqVersNmbrOfActions
CmplRqVersInvtryListIsExisting _CmplRqRsltListTypeExisting CmplRqVersInvtryListIsExisting
CmplRqVersRstrcnListIsExisting _CmplRqRsltListTypeExisting CmplRqVersRstrcnListIsExisting
CmplRqRsltPrelimCmplncStsName
CmplRqRsltCmplncStsCriticality _ManualStatusVH CmplRqRsltCmplncStsCriticality
SubstanceUUIDasCompanySubstanceNavgnLink
_CmplRqRsltExemption _CmplRqRsltExemption
_CmplRqRsltActnInfo _CmplRqRsltActnInfo
_CmplRqRsltSubstanceAction _CmplRqRsltSubstanceAction
_SubAsSubstSubLiChkInvtryList _SubAsSubstSubLiChkInvtryList
_SubAsSubstSubLiChkRstrcnList _SubAsSubstSubLiChkRstrcnList
_CmplRqVers _CmplRqVers
_ManualStatusVH _ManualStatusVH

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_CmplRqRsltSubstSubLiChkTP.
-- 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: CCRRSUBSTSLCTP

CREATE VIEW C_CmplRqRsltSubstSubLiChkTP AS
SELECT
  CmplRqRslt.CmplRqRsltUUID AS CmplRqRsltUUID,
  CmplRqRslt.ActiveCmplRqRsltUUID AS ActiveCmplRqRsltUUID,
  CmplRqRslt.SubstanceUUID AS SubstanceUUID,
  CmplRqRslt.CmplRqVersUUID AS CmplRqVersUUID,
  CmplRqRslt.ComplianceRequirement AS ComplianceRequirement,
  cast(_ManualStatusVH._Text[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type ) AS CmplRqRsltManualCmplncStsName,
  Processor,
  cast( '' as ad_namtext ) AS CmplRqRsltProcessorName,
  CmplRqRsltStatusRemark,
  cast( '' as ehfnd_sub_substance_name_ltd ) AS SubstanceName,
  cast( '' as ehfnd_chm_cas_no ) AS CASNumber,
  _CmplRqVers.CmplRqVersName AS CmplRqVersName,
  _CmplRqVersExemptionCount.CmplRqVersNmbrOfExemptions AS CmplRqVersNmbrOfExemptions,
  _CmplRqVersActionCount.CmplRqVersNmbrOfActions AS CmplRqVersNmbrOfActions,
  _CmplRqRsltListTypeExisting.CmplRqVersInvtryListIsExisting AS CmplRqVersInvtryListIsExisting,
  _CmplRqRsltListTypeExisting.CmplRqVersRstrcnListIsExisting AS CmplRqVersRstrcnListIsExisting,
  cast(_ManualStatusVH._Text[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type) AS CmplRqRsltPrelimCmplncStsName,
  _ManualStatusVH.CmplRqRsltCmplncStsCriticality AS CmplRqRsltCmplncStsCriticality
FROM I_CmplRqRsltSubstListChkTP AS CmplRqRslt
LEFT OUTER JOIN C_SubstanceSubLiChkExmpTP AS _CmplRqRsltExemption ON CmplRqRsltUUID = _CmplRqRsltExemption.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltSubstListChkActnTP AS _CmplRqRsltSubstanceAction ON CmplRqRsltUUID = _CmplRqRsltSubstanceAction.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN C_CmplRqRsltSubLiChkActnInfoTP AS _CmplRqRsltActnInfo ON CmplRqRsltUUID = _CmplRqRsltActnInfo.CmplRqRsltUUID  -- association [0..1]
LEFT OUTER JOIN C_SubAsSubstSubLiChkInvtryList AS _SubAsSubstSubLiChkInvtryList ON ActiveCmplRqRsltUUID = _SubAsSubstSubLiChkInvtryList.CmplRqRsltSubstUUID  -- association [0..*]
LEFT OUTER JOIN C_SubAsSubstSubLiChkRstrcnList AS _SubAsSubstSubLiChkRstrcnList ON ActiveCmplRqRsltUUID = _SubAsSubstSubLiChkRstrcnList.CmplRqRsltSubstUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [1..1]
LEFT OUTER JOIN I_CmplRqRsltCmplncStsSubstVH AS _ManualStatusVH ON CmplRqRsltManualStatus = _ManualStatusVH.CmplRqRsltCmplncSts  -- association [0..1]
LEFT OUTER JOIN P_CmplRqVersExemptionCount AS _CmplRqVersExemptionCount ON CmplRqVersUUID = _CmplRqVersExemptionCount.CmplRqVersUUID AND _CmplRqVersExemptionCount.ProdCmplncPhrsEnabledField = 'EHFND_CRR_SUB_EXM_PH_UUID'  -- association [0..1]
LEFT OUTER JOIN P_CmplRqVersActionCount AS _CmplRqVersActionCount ON CmplRqVersUUID = _CmplRqVersActionCount.CmplRqVersUUID AND _CmplRqVersActionCount.ProdCmplncPhrsEnabledField = 'EHFND_CRR_ACTION_PH_UUID'  -- association [0..1]
LEFT OUTER JOIN P_CmplRqRsltListTypeExisting AS _CmplRqRsltListTypeExisting ON ActiveCmplRqRsltUUID = _CmplRqRsltListTypeExisting.CmplRqRsltUUID  -- association [1..1]
;