I_ChmlCmplncReq

DDL: I_CHMLCMPLNCREQ SQL: ICCMPLCNREQ Type: view BASIC Package: EHFND_BO_CRQ

Chemical Compliance Request

I_ChmlCmplncReq is a Basic CDS View that provides data about "Chemical Compliance Request" in SAP S/4HANA. It reads from 1 data source (ehfndv_crq) and exposes 60 fields with key field ChmlCmplncRequestUUID. It has 26 associations to related views. Part of development package EHFND_BO_CRQ.

Data Sources (1)

SourceAliasJoin Type
ehfndv_crq ehfndv_crq from

Associations (26)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfoProd $projection.ChmlCmplncProdUUID = _ChmlCmplncInfoProd.ChmlCmplncInfoUUID
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[0..1] I_User _RequesterUser $projection.ChmlCmplncReqRequester = _RequesterUser.UserID
[0..1] I_Product _Product $projection.Material = _Product.Product
[0..1] I_Product _MultiComponentProduct $projection.MultiComponentProduct = _MultiComponentProduct.Product
[0..1] I_BusinessUserBasic _BusinessUserRequester $projection.ChmlCmplncReqBPRequester = _BusinessUserRequester.BusinessPartner
[0..1] I_BusinessUserBasic _BusinessUserProcessor $projection.ChmlCmplncReqBPProcessor = _BusinessUserProcessor.BusinessPartner
[0..1] I_ChmlCmplncReqCmplncProc _ChmlCmplncReqCmplncProc $projection.ChmlCmplncReqCmplncProc = _ChmlCmplncReqCmplncProc.ChmlCmplncReqCmplncProc
[0..1] I_ChmlCmplncBusProc _BusinessProcess $projection.ChmlCmplncBusinessProcess = _BusinessProcess.ChmlCmplncBusinessProcess
[0..1] I_ChmlCmplncReqOriginType _OriginType $projection.ChmlCmplncRequestOriginType = _OriginType.ChmlCmplncRequestOriginType
[0..1] I_ChmlCmplncReqOriginProc _OriginProcess $projection.ChmlCmplncReqOriginProc = _OriginProcess.ChmlCmplncReqOriginProc
[0..1] I_ChmlCmplncReqStatus _RequestStatus $projection.ChmlCmplncRequestPrgrsStatus = _RequestStatus.ChmlCmplncReqStatus
[0..1] I_ChemicalCustomerMaterial _ChemicalCustomerMaterial $projection.ChemicalCustomerMaterialUUID = _ChemicalCustomerMaterial.ChemicalCustomerMaterialUUID
[0..*] I_ChmlCmplncReqMkt _RequestedMarket $projection.ChmlCmplncRequestUUID = _RequestedMarket.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqApplication _RequestedApplication $projection.ChmlCmplncRequestUUID = _RequestedApplication.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqPrpsAssgmt _RequestedPurpose $projection.ChmlCmplncRequestUUID = _RequestedPurpose.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqSlsOrg _RequestedSlsOrg $projection.ChmlCmplncRequestUUID = _RequestedSlsOrg.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqPlnt _RequestedPlnt $projection.ChmlCmplncRequestUUID = _RequestedPlnt.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqRouteSegment _RouteSegment $projection.ChmlCmplncRequestUUID = _RouteSegment.ChmlCmplncRequestUUID
[0..*] I_ChmlCmplncReqStep _Step $projection.ChmlCmplncRequestUUID = _Step.ChmlCmplncRequestUUID
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_SDDocumentPartner _SDDocumentPartnerCustomer $projection.SalesDocument = _SDDocumentPartnerCustomer.SDDocument and _SDDocumentPartnerCustomer.PartnerFunction = 'WE'
[0..1] I_DngrsGdsLogsPackgInstrn _PackingInstruction $projection.DngrsGdsLogsPackgInstrnUUID = _PackingInstruction.DngrsGdsLogsPackgInstrnUUID

Annotations (11)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName ICCMPLCNREQ view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Chemical Compliance Request view
ObjectModel.representativeKey ChmlCmplncRequestUUID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
VDM.viewType #BASIC view

Fields (60)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncRequestUUID chmlcmplncrequestuuid Chemical Compliance Request
CreationUTCDateTime Time Stamp
CreatedByUser User Name
LastChangeUTCDateTime Time Stamp
LastChangedByUser User Name
ChmlCmplncRequestDueDate chmlcmplncrequestduedate Due Date
ChmlCmplncReqCmplncProc chmlcmplncreqcmplncproc Solution Area
ChmlCmplncRequestOriginType chmlcmplncrequestorigintype Origin
ChmlCmplncReqOriginProc chmlcmplncreqoriginproc Reason for Request
ChmlCmplncRequestPrgrsStatus chmlcmplncrequestprgrsstatus Status
ChmlCmplncBusinessProcess chmlcmplncbusinessprocess Business Process
ChmlCmplncReqBPProcessor chmlcmplncreqbpprocessor Processor
ChmlCmplncReqBPRequester chmlcmplncreqbprequester Requester
ChmlCmplncReqRequester chmlcmplncreqrequester Requester
ChmlCmplncInfoUUID chmlcmplncinfouuid Chemical Compliance Information PP
ChmlCmplncProdUUID chmlcmplncproduuid Product Assignment
ChemicalCustomerMaterialUUID chemicalcustomermaterialuuid Customer Material
Material material Vehicle Model
SalesDocument salesdocument SD Document
SalesDocumentItem salesdocumentitem Sales Document Item
ChmlCmplncReqLogisticDocCat chmlcmplncreqlogisticdoccat Document Category
MultiComponentProduct multicomponentproduct
ChmlCmplncRequestRemark chmlcmplncrequestremark Remark for Chemical Compliance Request
ChmlCmplncReqDetails chmlcmplncreqdetails Request Details
ProdCmplncLogsDocument prodcmplnclogsdocument Logistics Document
ProdCmplncLogsDocNotCnvrtd Logistics Document
ProdCmplncLogsDocumentUUID prodcmplnclogsdocumentuuid Logistics Doc. UUID
ProdCmplncLogsDocumentItem prodcmplnclogsdocumentitem Item
BusinessSystemName businesssystemname Business System
DngrsGoodsModeOfTransport dngrsgoodsmodeoftransport Mode of Transport
Supplier supplier Supplier
Customer customer Sold-to Party
ProductComplianceRequest productcompliancerequest
DngrsGdsLogsPackgInstrnUUID dngrsgdslogspackginstrnuuid
associations_CreatedByUser
_LastChangedByUser _LastChangedByUser
_Product _Product
_ChmlCmplncInfo _ChmlCmplncInfo
_ChmlCmplncInfoProd _ChmlCmplncInfoProd
_ChemicalCustomerMaterial _ChemicalCustomerMaterial
_RequesterUser _RequesterUser
_BusinessUserRequester _BusinessUserRequester
_BusinessUserProcessor _BusinessUserProcessor
_ChmlCmplncReqCmplncProc _ChmlCmplncReqCmplncProc
_BusinessProcess _BusinessProcess
_OriginType _OriginType
_OriginProcess _OriginProcess
_RequestStatus _RequestStatus
_RequestedMarket _RequestedMarket
_RequestedApplication _RequestedApplication
_RequestedPurpose _RequestedPurpose
_RequestedSlsOrg _RequestedSlsOrg
_RequestedPlnt _RequestedPlnt
_RouteSegment _RouteSegment
_Step _Step
_Supplier _Supplier
_Customer _Customer
_SDDocumentPartnerCustomer _SDDocumentPartnerCustomer
_MultiComponentProduct _MultiComponentProduct
_PackingInstruction _PackingInstruction

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_ChmlCmplncReq.
-- 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.
-- SQL view name: ICCMPLCNREQ

CREATE VIEW I_ChmlCmplncReq AS
SELECT
  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,
  ChmlCmplncRequestDueDate,
  ChmlCmplncReqCmplncProc,
  ChmlCmplncRequestOriginType,
  ChmlCmplncReqOriginProc,
  ChmlCmplncRequestPrgrsStatus,
  ChmlCmplncBusinessProcess,
  ChmlCmplncReqBPProcessor,
  ChmlCmplncReqBPRequester,
  ChmlCmplncReqRequester,
  ChmlCmplncInfoUUID,
  ChmlCmplncProdUUID,
  ChemicalCustomerMaterialUUID,
  Material,
  SalesDocument,
  SalesDocumentItem,
  ChmlCmplncReqLogisticDocCat,
  MultiComponentProduct,
  ChmlCmplncRequestRemark,
  ChmlCmplncReqDetails,
  ProdCmplncLogsDocument,
  cast(prodcmplnclogsdocument as ehfnd_log_doc_number_nc preserving type) AS ProdCmplncLogsDocNotCnvrtd,
  ProdCmplncLogsDocumentUUID,
  ProdCmplncLogsDocumentItem,
  BusinessSystemName,
  DngrsGoodsModeOfTransport,
  Supplier,
  Customer,
  ProductComplianceRequest,
  DngrsGdsLogsPackgInstrnUUID
FROM ehfndv_crq
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfoProd ON ChmlCmplncProdUUID = _ChmlCmplncInfoProd.ChmlCmplncInfoUUID  -- association [0..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_User AS _RequesterUser ON ChmlCmplncReqRequester = _RequesterUser.UserID  -- association [0..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_Product AS _MultiComponentProduct ON MultiComponentProduct = _MultiComponentProduct.Product  -- association [0..1]
LEFT OUTER JOIN I_BusinessUserBasic AS _BusinessUserRequester ON ChmlCmplncReqBPRequester = _BusinessUserRequester.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_BusinessUserBasic AS _BusinessUserProcessor ON ChmlCmplncReqBPProcessor = _BusinessUserProcessor.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncReqCmplncProc AS _ChmlCmplncReqCmplncProc ON ChmlCmplncReqCmplncProc = _ChmlCmplncReqCmplncProc.ChmlCmplncReqCmplncProc  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncBusProc AS _BusinessProcess ON ChmlCmplncBusinessProcess = _BusinessProcess.ChmlCmplncBusinessProcess  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncReqOriginType AS _OriginType ON ChmlCmplncRequestOriginType = _OriginType.ChmlCmplncRequestOriginType  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncReqOriginProc AS _OriginProcess ON ChmlCmplncReqOriginProc = _OriginProcess.ChmlCmplncReqOriginProc  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncReqStatus AS _RequestStatus ON ChmlCmplncRequestPrgrsStatus = _RequestStatus.ChmlCmplncReqStatus  -- association [0..1]
LEFT OUTER JOIN I_ChemicalCustomerMaterial AS _ChemicalCustomerMaterial ON ChemicalCustomerMaterialUUID = _ChemicalCustomerMaterial.ChemicalCustomerMaterialUUID  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncReqMkt AS _RequestedMarket ON ChmlCmplncRequestUUID = _RequestedMarket.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncReqApplication AS _RequestedApplication ON ChmlCmplncRequestUUID = _RequestedApplication.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncReqPrpsAssgmt AS _RequestedPurpose ON ChmlCmplncRequestUUID = _RequestedPurpose.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncReqSlsOrg AS _RequestedSlsOrg ON ChmlCmplncRequestUUID = _RequestedSlsOrg.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncReqPlnt AS _RequestedPlnt ON ChmlCmplncRequestUUID = _RequestedPlnt.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncReqRouteSegment AS _RouteSegment ON ChmlCmplncRequestUUID = _RouteSegment.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncReqStep AS _Step ON ChmlCmplncRequestUUID = _Step.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_SDDocumentPartner AS _SDDocumentPartnerCustomer ON SalesDocument = _SDDocumentPartnerCustomer.SDDocument AND _SDDocumentPartnerCustomer.PartnerFunction = 'WE'  -- association [0..1]
LEFT OUTER JOIN I_DngrsGdsLogsPackgInstrn AS _PackingInstruction ON DngrsGdsLogsPackgInstrnUUID = _PackingInstruction.DngrsGdsLogsPackgInstrnUUID  -- association [0..1]
;