P_ChmlCmplncReqMktCntryProduce

DDL: P_CHMLCMPLNCREQMKTCNTRYPRODUCE Type: view COMPOSITE Package: EHFND_BO_CRQ

Markets Countries of a Compliance Request Process Produce

P_ChmlCmplncReqMktCntryProduce is a Composite CDS View that provides data about "Markets Countries of a Compliance Request Process Produce" in SAP S/4HANA. It reads from 3 data sources (I_ChmlCmplncMktCvrg, I_ChmlCmplncMktCvrg, I_ChmlCmplncReqMkt) and exposes 13 fields with key fields ChmlCmplncRequestUUID, Country, ChmlCmplncBusinessProcess, Country, ChmlCmplncBusinessProcess. It has 1 association to related views. Part of development package EHFND_BO_CRQ.

Data Sources (3)

SourceAliasJoin Type
I_ChmlCmplncMktCvrg _ChmlCmplncMktCvrg union
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 PCRQMREQCTRYBPP 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 (13)

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
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_ChmlCmplncReqMktCntryProduce.
-- 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_ChmlCmplncReqMktCntryProduce AS
SELECT
  _ChmlCmplncReqJoined.ChmlCmplncRequestUUID AS ChmlCmplncRequestUUID,
  _ChmlCmplncReqMkt.Country AS Country,
  'PRODUCE' 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
;