I_ChmlCmplncReqMkt

DDL: I_CHMLCMPLNCREQMKT Type: view BASIC Package: EHFND_BO_CRQ

Requested Market of a Chemical Compliance Request

I_ChmlCmplncReqMkt is a Basic CDS View that provides data about "Requested Market of a Chemical Compliance Request" in SAP S/4HANA. It reads from 1 data source (ehfndv_crq_mreq) and exposes 14 fields with key field ChmlCmplncReqMktUUID. It has 4 associations to related views. Part of development package EHFND_BO_CRQ.

Data Sources (1)

SourceAliasJoin Type
ehfndv_crq_mreq ehfndv_crq_mreq from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_ChmlCmplncReq _ChmlCmplncReq $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1..1] I_Country _Country $projection.Country = _Country.Country

Annotations (10)

NameValueLevelField
EndUserText.label Requested Market of a Chemical Compliance Request view
AbapCatalog.sqlViewName ICCMPLCNREQMREQ view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey ChmlCmplncReqMktUUID view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncReqMktUUID chmlcmplncreqmktuuid Market Request
ChmlCmplncRequestUUID chmlcmplncrequestuuid Chemical Compliance Request
CreationUTCDateTime Time Stamp
CreatedByUser User Name
LastChangeUTCDateTime Time Stamp
LastChangedByUser User Name
ChmlCmplncProdnIsReqd chmlcmplncprodnisreqd Produce In
ChmlCmplncSalesIsReqd chmlcmplncsalesisreqd Sell In
Country country Venue: Ctry/Reg
ChmlCmplncReqChgType chmlcmplncreqchgtype Type
_ChmlCmplncReq _ChmlCmplncReq
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Country _Country

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 I_ChmlCmplncReqMkt.
-- 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 I_ChmlCmplncReqMkt AS
SELECT
  ChmlCmplncReqMktUUID,
  ChmlCmplncRequestUUID,
  cast(creationutcdatetime as ehfnd_bo_crea_date_time preserving type ) AS CreationUTCDateTime,
  cast(createdbyuser as ehfnd_bo_crea_uname preserving type ) AS CreatedByUser,
  cast(lastchangeutcdatetime as ehfnd_bo_lchg_date_time preserving type ) AS LastChangeUTCDateTime,
  cast(lastchangedbyuser as ehfnd_bo_lchg_uname preserving type ) AS LastChangedByUser,
  ChmlCmplncProdnIsReqd,
  ChmlCmplncSalesIsReqd,
  Country,
  ChmlCmplncReqChgType
FROM ehfndv_crq_mreq
LEFT OUTER JOIN I_ChmlCmplncReq AS _ChmlCmplncReq ON ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID  -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_Country AS _Country ON Country = _Country.Country  -- association [1..1]
;