P_ChmlCmplncReqMktCntryAll

DDL: P_CHMLCMPLNCREQMKTCNTRYALL Type: view COMPOSITE

P_ChmlCmplncReqMktCntryAll is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_ChmlCmplncMktCvrg, I_ChmlCmplncReqMkt) and exposes 9 fields with key fields ChmlCmplncRequestUUID, Country, ChmlCmplncBusinessProcess, Country, ChmlCmplncBusinessProcess. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_ChmlCmplncMktCvrg _ChmlCmplncMktCvrg union
I_ChmlCmplncReqMkt I_ChmlCmplncReqMkt from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ChmlCmplncReq _ChmlCmplncReq $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PCRQMREQCTRYBPA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncRequestUUID _ChmlCmplncReqJoined ChmlCmplncRequestUUID Chemical Compliance Request
KEY Country _ChmlCmplncReqMkt Country Venue: Ctry/Reg
KEY ChmlCmplncBusinessProcess
_Country _Country
ChmlCmplncRequestUUID Chemical Compliance Request
KEY Country I_ChmlCmplncMktCvrg Country Venue: Ctry/Reg
KEY ChmlCmplncBusinessProcess
_Country I_ChmlCmplncMktCvrg _Country
_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 P_ChmlCmplncReqMktCntryAll.
-- 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 P_ChmlCmplncReqMktCntryAll AS
SELECT
  _ChmlCmplncReqJoined.ChmlCmplncRequestUUID AS ChmlCmplncRequestUUID,
  _ChmlCmplncReqMkt.Country AS Country,
  'ALL' AS ChmlCmplncBusinessProcess,
  _ChmlCmplncMktCvrg._Country AS _Country
FROM I_ChmlCmplncReqMkt
LEFT OUTER JOIN I_ChmlCmplncReq AS _ChmlCmplncReq ON ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID  -- association [1..1]
-- UNION with additional select branch(es): I_ChmlCmplncMktCvrg
;