C_CmplRqRsltTP

DDL: C_CMPLRQRSLTTP SQL: CCRRTP Type: view CONSUMPTION

CmplRqRslt Transactional Processing

C_CmplRqRsltTP is a Consumption CDS View that provides data about "CmplRqRslt Transactional Processing" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRsltTP) and exposes 12 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CmplRqRsltTP CmplRqRslt from

Associations (2)

CardinalityTargetAliasCondition
[0..1] C_ChmlCmplncPrimMatl _ChmlCmplncPrimMatl $projection.ChmlCmplncInfoUUID = _ChmlCmplncPrimMatl.ChmlCmplncInfoUUID
[1..*] C_CmplRqRsltHistory _CmplRqRsltHistory $projection.ChmlCmplncInfoUUID = _CmplRqRsltHistory.ChmlCmplncInfoUUID and $projection.ChmlSuplrMatlUUID = _CmplRqRsltHistory.ChmlSuplrMatlUUID and $projection.SubstanceUUID = _CmplRqRsltHistory.SubstanceUUID and $projection.ChemicalCustomerMaterialUUID = _CmplRqRsltHistory.ChemicalCustomerMaterialUUID and $projection.PCESScenarioUUID = _CmplRqRsltHistory.PCESScenarioUUID and $projection.ComplianceRequirement = _CmplRqRsltHistory.ComplianceRequirement and $projection.CmplRqRsltReferencedObjectUUID = _CmplRqRsltHistory.CmplRqRsltReferencedObjectUUID

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName CCRRTP 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 Transactional Processing 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 false view
ObjectModel.deleteEnabled false view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view

Fields (12)

KeyFieldSource TableSource FieldDescription
CmplRqRsltUUID
ChmlCmplncInfoUUID I_CmplRqRsltTP ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlSuplrMatlUUID I_CmplRqRsltTP ChmlSuplrMatlUUID Supplier Raw Material
SubstanceUUID I_CmplRqRsltTP SubstanceUUID Substance
CmplRqVersUUID I_CmplRqRsltTP CmplRqVersUUID NodeID
ChemicalCustomerMaterialUUID I_CmplRqRsltTP ChemicalCustomerMaterialUUID Customer Material
PCESScenarioUUID I_CmplRqRsltTP PCESScenarioUUID Scenario UUID
ActiveCmplRqRsltUUID I_CmplRqRsltTP ActiveCmplRqRsltUUID Compliance Assessment UUID
CmplRqRsltReferencedObjectUUID I_CmplRqRsltTP CmplRqRsltReferencedObjectUUID UUID of Ref. Object
ChmlCmplncInfoCombinedName _ChmlCmplncPrimMatl ChmlCmplncInfoCombinedName
ComplianceRequirement I_CmplRqRsltTP ComplianceRequirement Compliance Requirement
Associations_CmplRqRsltHistory

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_CmplRqRsltTP.
-- 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: CCRRTP

CREATE VIEW C_CmplRqRsltTP AS
SELECT
  CmplRqRslt.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  CmplRqRslt.ChmlSuplrMatlUUID AS ChmlSuplrMatlUUID,
  CmplRqRslt.SubstanceUUID AS SubstanceUUID,
  CmplRqRslt.CmplRqVersUUID AS CmplRqVersUUID,
  CmplRqRslt.ChemicalCustomerMaterialUUID AS ChemicalCustomerMaterialUUID,
  CmplRqRslt.PCESScenarioUUID AS PCESScenarioUUID,
  CmplRqRslt.ActiveCmplRqRsltUUID AS ActiveCmplRqRsltUUID,
  CmplRqRslt.CmplRqRsltReferencedObjectUUID AS CmplRqRsltReferencedObjectUUID,
  _ChmlCmplncPrimMatl.ChmlCmplncInfoCombinedName AS ChmlCmplncInfoCombinedName,
  CmplRqRslt.ComplianceRequirement AS ComplianceRequirement
FROM I_CmplRqRsltTP AS CmplRqRslt
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _ChmlCmplncPrimMatl ON ChmlCmplncInfoUUID = _ChmlCmplncPrimMatl.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_CmplRqRsltHistory AS _CmplRqRsltHistory ON ChmlCmplncInfoUUID = _CmplRqRsltHistory.ChmlCmplncInfoUUID AND ChmlSuplrMatlUUID = _CmplRqRsltHistory.ChmlSuplrMatlUUID AND SubstanceUUID = _CmplRqRsltHistory.SubstanceUUID AND ChemicalCustomerMaterialUUID = _CmplRqRsltHistory.ChemicalCustomerMaterialUUID AND PCESScenarioUUID = _CmplRqRsltHistory.PCESScenarioUUID AND ComplianceRequirement = _CmplRqRsltHistory.ComplianceRequirement AND CmplRqRsltReferencedObjectUUID = _CmplRqRsltHistory.CmplRqRsltReferencedObjectUUID  -- association [1..*]
;