C_CmplRqRsltSupMaSiCmTP

DDL: C_CMPLRQRSLTSUPMASICMTP SQL: CCRRSMSCCTP Type: view CONSUMPTION

CmplRqRslt Supplier Material

C_CmplRqRsltSupMaSiCmTP is a Consumption CDS View that provides data about "CmplRqRslt Supplier Material" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltTP) and exposes 18 fields. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltTP CmplRqRslt from

Associations (7)

CardinalityTargetAliasCondition
[0..*] C_CmplRqRsltSupMaSiCmExmpTP _CmplRqRsltExemption $projection.CmplRqRsltUUID = _CmplRqRsltExemption.CmplRqRsltUUID -- Additional Data from other objects
[1..1] I_CmplRqVersEnhanced _CmplRqVers $projection.CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID
[1..1] I_ChmlSuplrMatlNames _ChmlSuplrMatlNames $projection.ChmlSuplrMatlUUID = _ChmlSuplrMatlNames.ChmlSuplrMatlUUID -- Contact card with supplier details
[1..1] C_ChmlSuplrMatlSupplierContact _SupplierContactData $projection.businesspartnersupplier = _SupplierContactData.BusinessPartnerSupplier -- Value helps with texts and criticalities for domain values
[1..1] I_CmplRqRsltMnlCmplncStsVH _ManualStatusVH $projection.CmplRqRsltManualStatus = _ManualStatusVH.CmplRqRsltCmplncSts
[1..1] I_CmplncRqmtRsltCmplncStsTxt _PrelimStatusTxt $projection.CmplRqRsltManualStatus = _PrelimStatusTxt.CmplRqRsltCmplncSts and _PrelimStatusTxt.Language = $session.system_language -- Number of configured exemptions, compliance statements (needed e.g. to determine the appropriate noData text and enable or disable create exception button)
[0..1] P_CmplRqVersExemptionCount _CmplRqVersExemptionCount $projection.CmplRqVersUUID = _CmplRqVersExemptionCount.CmplRqVersUUID and _CmplRqVersExemptionCount.ProdCmplncPhrsEnabledField = 'EHFND_CRR_CCI_EXM_PH_UUID'

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName CCRRSMSCCTP 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 CmplRqRslt Supplier Material 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
UI.headerInfo.typeName Marketability Assessment view
UI.headerInfo.typeNamePlural Marketability Assessments view
UI.headerInfo.title.value CmplRqVersName view
UI.headerInfo.description.value SupplierMaterialCombinedName view

Fields (18)

KeyFieldSource TableSource FieldDescription
CmplRqRsltUUID
ActiveCmplRqRsltUUID I_CmplRqRsltTP ActiveCmplRqRsltUUID Compliance Assessment UUID
CmplRqVersNameasCmplRqVersName
BusinessPartnerSupplier
ChmlSuplrMatlName _ChmlSuplrMatlNames ChmlSuplrMatlName External Product Name
SupplierMaterialCombinedName
CmplRqRsltManualCmplncStsName
CmplRqRsltStatusRemark
CmplRqVersNmbrOfExemptions
CmplRqRsltPrelimCmplncStsName
ChmlCmplncInfoUUID
ChmlSuplrMatlUUID I_CmplRqRsltTP ChmlSuplrMatlUUID Supplier Raw Material
SubstanceUUID I_CmplRqRsltTP SubstanceUUID Substance
CmplRqVersUUID I_CmplRqRsltTP CmplRqVersUUID NodeID
Associations_CmplRqRsltExemption
_ManualStatusVH _ManualStatusVH
_SupplierContactData _SupplierContactData
_CmplRqVers _CmplRqVers

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_CmplRqRsltSupMaSiCmTP.
-- 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: CCRRSMSCCTP

CREATE VIEW C_CmplRqRsltSupMaSiCmTP AS
SELECT
  CmplRqRslt.ActiveCmplRqRsltUUID AS ActiveCmplRqRsltUUID,
  _ChmlSuplrMatlNames.ChmlSuplrMatlName AS ChmlSuplrMatlName,
  cast(_ManualStatusVH._Text[1: Language = $session.system_language ].CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type ) AS CmplRqRsltManualCmplncStsName,
  cast(_PrelimStatusTxt.CmplRqRsltCmplncStsTxt as ehpma_crr_mkt_stat_text preserving type) AS CmplRqRsltPrelimCmplncStsName,
  CmplRqRslt.ChmlSuplrMatlUUID AS ChmlSuplrMatlUUID,
  CmplRqRslt.SubstanceUUID AS SubstanceUUID,
  CmplRqRslt.CmplRqVersUUID AS CmplRqVersUUID
FROM I_CmplRqRsltTP AS CmplRqRslt
LEFT OUTER JOIN C_CmplRqRsltSupMaSiCmExmpTP AS _CmplRqRsltExemption ON CmplRqRsltUUID = _CmplRqRsltExemption.CmplRqRsltUUID  -- association [0..*]
LEFT OUTER JOIN I_CmplRqVersEnhanced AS _CmplRqVers ON CmplRqVersUUID = _CmplRqVers.CmplRqVersUUID  -- association [1..1]
LEFT OUTER JOIN I_ChmlSuplrMatlNames AS _ChmlSuplrMatlNames ON ChmlSuplrMatlUUID = _ChmlSuplrMatlNames.ChmlSuplrMatlUUID  -- association [1..1]
LEFT OUTER JOIN C_ChmlSuplrMatlSupplierContact AS _SupplierContactData ON businesspartnersupplier = _SupplierContactData.BusinessPartnerSupplier  -- association [1..1]
LEFT OUTER JOIN I_CmplRqRsltMnlCmplncStsVH AS _ManualStatusVH ON CmplRqRsltManualStatus = _ManualStatusVH.CmplRqRsltCmplncSts  -- association [1..1]
LEFT OUTER JOIN I_CmplncRqmtRsltCmplncStsTxt AS _PrelimStatusTxt ON CmplRqRsltManualStatus = _PrelimStatusTxt.CmplRqRsltCmplncSts AND _PrelimStatusTxt.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN P_CmplRqVersExemptionCount AS _CmplRqVersExemptionCount ON CmplRqVersUUID = _CmplRqVersExemptionCount.CmplRqVersUUID AND _CmplRqVersExemptionCount.ProdCmplncPhrsEnabledField = 'EHFND_CRR_CCI_EXM_PH_UUID'  -- association [0..1]
;