C_ChmlCmplncReqPrps

DDL: C_CHMLCMPLNCREQPRPS Type: view CONSUMPTION

Purpose Overview of a Chemical Compliance Request

C_ChmlCmplncReqPrps is a Consumption CDS View that provides data about "Purpose Overview of a Chemical Compliance Request" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncReqPrps) and exposes 12 fields with key fields CmplncPrpsUUID, ChmlCmplncRequestUUID, ChmlCmplncPrpsAssgmtUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncReqPrps ChmlCmplnReqPrps from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_ChmlCmplncReqProcMkt _ChmlCmplncReq $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID
[0..1] P_ChmlCmplncPrpsMktRqmtCt _PrpsMktRqmtCt $projection.CmplncPrpsUUID = _PrpsMktRqmtCt.CmplncPrpsUUID
[0..1] P_ChmlCmplncPrpsDGRqmtCt _PrpsDgRqmtCt $projection.CmplncPrpsUUID = _PrpsDgRqmtCt.CmplncPrpsUUID
[0..1] P_ChmlCmplncPrpsSdsRqmtCt _PrpsSdsRqmtCt $projection.CmplncPrpsUUID = _PrpsSdsRqmtCt.CmplncPrpsUUID
[0..*] C_CmplncPrpsNameWithFallback _CmplncPrpsTextFallback $projection.CmplncPrpsUUID = _CmplncPrpsTextFallback.CmplncPrpsUUID

Annotations (14)

NameValueLevelField
EndUserText.label Purpose Overview of a Chemical Compliance Request view
AbapCatalog.sqlViewName CCCREQPRPSASS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
UI.headerInfo.typeName Compliance Purpose to Verify view
UI.headerInfo.typeNamePlural Compliance Purposes to Verify view
UI.headerInfo.title.value CmplncPrpsName view
UI.lineItem.criticality Criticality view
Search.searchable true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY CmplncPrpsUUID I_ChmlCmplncReqPrps CmplncPrpsUUID Compliance Purpose
KEY ChmlCmplncRequestUUID I_ChmlCmplncReqPrps ChmlCmplncRequestUUID Chemical Compliance Request
KEY ChmlCmplncPrpsAssgmtUUID _ChmlCmplncReqPrpsAssgmt ChmlCmplncPrpsAssgmtUUID Purpose Assignment
CmplncPrpsasCmplncPrpsFallbackName
PurposeNamewithoutdefaultusedforsearch
CmplncPrpsNameasCmplncPrpsName
CmplncPrpsasCmplncPrps
ChmlCmplncReqChgTypeName
NmbrOfChmlCmplncMktRqmts _PrpsMktRqmtCt NmbrOfChmlCmplncMktRqmts
NmbrOfChmlCmplncDngrsGdsRqmts _PrpsDgRqmtCt NmbrOfChmlCmplncDngrsGdsRqmts
NmbrOfChmlCmplncDataShtRqmts _PrpsSdsRqmtCt NmbrOfChmlCmplncDataShtRqmts
_ChmlCmplncReq _ChmlCmplncReq

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_ChmlCmplncReqPrps.
-- 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.

CREATE VIEW C_ChmlCmplncReqPrps AS
SELECT
  ChmlCmplnReqPrps.CmplncPrpsUUID AS CmplncPrpsUUID,
  ChmlCmplnReqPrps.ChmlCmplncRequestUUID AS ChmlCmplncRequestUUID,
  _ChmlCmplncReqPrpsAssgmt.ChmlCmplncPrpsAssgmtUUID AS ChmlCmplncPrpsAssgmtUUID,
  because on Default Purpose Name search not possible _CmplncPrpsTextFallback.CmplncPrpsName as CmplncPrpsName AS CmplncPrpsNameasCmplncPrpsName,
  cast('' as val_text) AS ChmlCmplncReqChgTypeName,
  _PrpsMktRqmtCt.NmbrOfChmlCmplncMktRqmts AS NmbrOfChmlCmplncMktRqmts,
  _PrpsDgRqmtCt.NmbrOfChmlCmplncDngrsGdsRqmts AS NmbrOfChmlCmplncDngrsGdsRqmts,
  _PrpsSdsRqmtCt.NmbrOfChmlCmplncDataShtRqmts AS NmbrOfChmlCmplncDataShtRqmts
FROM I_ChmlCmplncReqPrps AS ChmlCmplnReqPrps
LEFT OUTER JOIN C_ChmlCmplncReqProcMkt AS _ChmlCmplncReq ON ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID  -- association [1..1]
LEFT OUTER JOIN P_ChmlCmplncPrpsMktRqmtCt AS _PrpsMktRqmtCt ON CmplncPrpsUUID = _PrpsMktRqmtCt.CmplncPrpsUUID  -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplncPrpsDGRqmtCt AS _PrpsDgRqmtCt ON CmplncPrpsUUID = _PrpsDgRqmtCt.CmplncPrpsUUID  -- association [0..1]
LEFT OUTER JOIN P_ChmlCmplncPrpsSdsRqmtCt AS _PrpsSdsRqmtCt ON CmplncPrpsUUID = _PrpsSdsRqmtCt.CmplncPrpsUUID  -- association [0..1]
LEFT OUTER JOIN C_CmplncPrpsNameWithFallback AS _CmplncPrpsTextFallback ON CmplncPrpsUUID = _CmplncPrpsTextFallback.CmplncPrpsUUID  -- association [0..*]
;