I_ChmlCmplncReqSlsOrg

DDL: I_CHMLCMPLNCREQSLSORG Type: view BASIC Package: EHFND_BO_CRQ

Chemical Compliance Request Sales Organization

I_ChmlCmplncReqSlsOrg is a Basic CDS View that provides data about "Chemical Compliance Request Sales Organization" in SAP S/4HANA. It reads from 1 data source (ehfndv_crq_vkorg) and exposes 11 fields with key field ChmlCmplncReqSalesOrgUUID. It has 2 associations to related views. Part of development package EHFND_BO_CRQ.

Data Sources (1)

SourceAliasJoin Type
ehfndv_crq_vkorg ehfndv_crq_vkorg from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_SalesOrganization _SalesOrganization $projection.SalesOrganization = _SalesOrganization.SalesOrganization
[1..1] I_ChmlCmplncReq _ChmlCmplncReq $projection.ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID

Annotations (9)

NameValueLevelField
EndUserText.label Chemical Compliance Request Sales Organization view
AbapCatalog.sqlViewName ICRQVKORG 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 #B view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncReqSalesOrgUUID chmlcmplncreqsalesorguuid Sales Organization
ChmlCmplncRequestUUID chmlcmplncrequestuuid Chemical Compliance Request
CreationUTCDateTime Time Stamp
CreatedByUser User Name
LastChangeUTCDateTime Time Stamp
LastChangedByUser User Name
SalesOrganization salesorganization Sales Organization
DistributionChannel distributionchannel RefDistCh-Cust/Mat.
ChmlCmplncReqChgType chmlcmplncreqchgtype Type
_SalesOrganization _SalesOrganization
_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 I_ChmlCmplncReqSlsOrg.
-- 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_ChmlCmplncReqSlsOrg AS
SELECT
  ChmlCmplncReqSalesOrgUUID,
  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,
  SalesOrganization,
  DistributionChannel,
  ChmlCmplncReqChgType
FROM ehfndv_crq_vkorg
LEFT OUTER JOIN I_SalesOrganization AS _SalesOrganization ON SalesOrganization = _SalesOrganization.SalesOrganization  -- association [1..1]
LEFT OUTER JOIN I_ChmlCmplncReq AS _ChmlCmplncReq ON ChmlCmplncRequestUUID = _ChmlCmplncReq.ChmlCmplncRequestUUID  -- association [1..1]
;