C_ChmlCmplncReqProcMkt

DDL: C_CHMLCMPLNCREQPROCMKT Type: view CONSUMPTION Package: EHPMA_CNS_CRQ

Process Chemical Compliance Request for Markets

C_ChmlCmplncReqProcMkt is a Consumption CDS View that provides data about "Process Chemical Compliance Request for Markets" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncReqTP) and exposes 34 fields. It has 19 associations to related views. It is exposed through 1 OData service (ASQL_F3341). Part of development package EHPMA_CNS_CRQ.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncReqTP ComplianceRequest from

Associations (19)

CardinalityTargetAliasCondition
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfo $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
[0..1] I_ChmlCmplncInfo _ChmlCmplncInfoProd $projection.ChmlCmplncProdUUID = _ChmlCmplncInfoProd.ChmlCmplncInfoUUID -- Requester Contact Card
[0..1] C_ChmlCmplncReqRequesterCntct _RequesterContact $projection.ChmlCmplncReqBPRequester = _RequesterContact.BusinessPartner -- Sales specific Customer Contact Card (Ship to party)
[0..1] C_ChmlCmplncReqCustomerCntct _CustomerContact $projection.SalesDocument = _CustomerContact.SalesDocument -- Delivery specific Customer Contact Card (Ship to party)
[0..1] C_ChmlCmplncReqDelivCustCntct _CustomerContactDelivery $projection.SalesDocument = _CustomerContactDelivery.DeliveryDocument ----------------------------------------------------------------------------------------------------------------------------- -- Nodes ----------------------------------------------------------------------------------------------------------------------------- -- New CCI data - expected cardinality: don't change!
[0..1] C_ChmlCmplncReqNewCmplncInfoTP _NewComplInfo $projection.ChmlCmplncRequestUUID = _NewComplInfo.ChmlCmplncRequestUUID -- All Market Countries (for Facet)
[0..*] C_ChmlCmplncReqMktCntry _MarketCountries $projection.ChmlCmplncRequestUUID = _MarketCountries.ChmlCmplncRequestUUID and $projection.ChmlCmplncBusinessProcess = _MarketCountries.ChmlCmplncBusinessProcess -- All Purposes (for Facet)
[0..*] C_ChmlCmplncReqPrps _Purposes $projection.ChmlCmplncRequestUUID = _Purposes.ChmlCmplncRequestUUID -- Requested Markets (Persisted)
[0..*] C_ChmlCmplncReqMktTP _RequestedMarket $projection.ChmlCmplncRequestUUID = _RequestedMarket.ChmlCmplncRequestUUID -- Purposes (Persisted)
[0..*] C_ChmlCmplncReqPrpsAssgmtTP _RequestedPurpose $projection.ChmlCmplncRequestUUID = _RequestedPurpose.ChmlCmplncRequestUUID ----------------------------------------------------------------------------------------------------------------------------- --Additional Information
[1..1] I_ChmlCmplncReqCmplncProcVH _CmplncProcVH $projection.ChmlCmplncReqCmplncProc = _CmplncProcVH.ChmlCmplncReqCmplncProc ----------------------------------------------------------------------------------------------------------------------------- -- Combined name of CCI/PP
[0..1] C_ChmlCmplncPrimMatl _PrimeMatPackaged $projection.ChmlCmplncInfoUUID = _PrimeMatPackaged.ChmlCmplncInfoUUID
[0..1] C_ChmlCmplncPrimMatl _PrimeMatUnpackaged $projection.ChmlCmplncProdUUID = _PrimeMatUnpackaged.ChmlCmplncInfoUUID -- Supplier Contact Data
[0..1] C_ChmlSuplrMatlSupplierContact _SupplierContact $projection.BusinessPartnerSupplier = _SupplierContact.BusinessPartnerSupplier -- Request Status Name
[0..1] I_ChmlCmplncReqStatusTxt _RequestStatus $projection.ChmlCmplncRequestPrgrsStatus = _RequestStatus.ChmlCmplncReqStatus
[0..1] I_ChmlCmplncBusProcVH _BusinessProcessVH $projection.ChmlCmplncBusinessProcess = _BusinessProcessVH.ChmlCmplncBusinessProcess
[0..1] I_ChmlCmplncReqOrigTypeVH _OriginTypeVH $projection.ChmlCmplncRequestOriginType = _OriginTypeVH.ChmlCmplncRequestOriginType -- Request Details
[0..*] I_OTRText _ChmlCmplncReqDetailsText $projection.ChmlCmplncReqDetails = _ChmlCmplncReqDetailsText.OnlnTxtRpstryConceptID ----------------------------------------------------------------------------------------------------------------------------- --Product Information -----------------------------------------------------------------------------------------------------------------------------
[0..1] I_ProductGroup_2 _ProductGroupVH $projection.MaterialGroup = _ProductGroupVH.ProductGroup

Annotations (23)

NameValueLevelField
EndUserText.label Process Chemical Compliance Request for Markets view
AbapCatalog.sqlViewName CCREQPROCMKT view
AbapCatalog.compiler.compareFilter true view
Metadata.allowExtensions true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.compositionRoot true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled false view
ObjectModel.deleteEnabled false view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
Consumption.semanticObject ComplianceRequest view
UI.headerInfo.typeName Compliance Request from Logistics view
UI.headerInfo.typeNamePlural Compliance Requests from Logistics view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value ProductName view
UI.headerInfo.description.type #STANDARD view
UI.headerInfo.description.value Material view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3341 ASQL_F3341 C2 NOT_RELEASED

Fields (34)

KeyFieldSource TableSource FieldDescription
SupplierSupplierasSupplier
BusinessPartnerSupplier
BPSupplierName _Supplier BPSupplierName Supplier Name
Customer Customer Sold-to Party
BusinessPartnerCustomer
BPCustomerName _Customer BPCustomerName Name of Customer
ChmlCmplncInfoType
MaterialIsTransported
MaterialIsSold
MaterialIsProduced
MaterialIsSourced
UnpckgdProdIsSold _ChmlCmplncInfoProd MaterialIsSold Is Sold
UnpckgdProdIsProduced _ChmlCmplncInfoProd MaterialIsProduced Is Produced
UnpckgdProdIsSourced _ChmlCmplncInfoProd MaterialIsSourced Is Purchased
_NewComplInfo
_RequestedMarket _RequestedMarket
_RequestedPurpose _RequestedPurpose
_MarketCountries _MarketCountries
_Purposes _Purposes
_BusinessProcess _BusinessProcess
_OriginType _OriginType
_ProductGroupVH _ProductGroupVH
_OriginTypeVH _OriginTypeVH
_BusinessProcessVH _BusinessProcessVH
_RequesterContact _RequesterContact
_CustomerContact _CustomerContact
_CustomerContactDelivery _CustomerContactDelivery
_ChmlCmplncInfo _ChmlCmplncInfo
_ChmlCmplncInfoProd _ChmlCmplncInfoProd
_ChemicalCustomerMaterial _ChemicalCustomerMaterial
_CmplncProcVH _CmplncProcVH
_SupplierContact _SupplierContact
_Supplier _Supplier
_Customer _Customer

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 C_ChmlCmplncReqProcMkt.
-- 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 C_ChmlCmplncReqProcMkt AS
SELECT
  _Supplier._SupplierToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartnerSupplier,
  _Supplier.BPSupplierName AS BPSupplierName,
  Customer,
  _Customer._CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartnerCustomer,
  _Customer.BPCustomerName AS BPCustomerName,
  _ChmlCmplncInfoProd.MaterialIsSold AS UnpckgdProdIsSold,
  _ChmlCmplncInfoProd.MaterialIsProduced AS UnpckgdProdIsProduced,
  _ChmlCmplncInfoProd.MaterialIsSourced AS UnpckgdProdIsSourced
FROM I_ChmlCmplncReqTP AS ComplianceRequest
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 C_ChmlCmplncReqRequesterCntct AS _RequesterContact ON ChmlCmplncReqBPRequester = _RequesterContact.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncReqCustomerCntct AS _CustomerContact ON SalesDocument = _CustomerContact.SalesDocument  -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncReqDelivCustCntct AS _CustomerContactDelivery ON SalesDocument = _CustomerContactDelivery.DeliveryDocument  -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncReqNewCmplncInfoTP AS _NewComplInfo ON ChmlCmplncRequestUUID = _NewComplInfo.ChmlCmplncRequestUUID  -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncReqMktCntry AS _MarketCountries ON ChmlCmplncRequestUUID = _MarketCountries.ChmlCmplncRequestUUID AND ChmlCmplncBusinessProcess = _MarketCountries.ChmlCmplncBusinessProcess  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncReqPrps AS _Purposes ON ChmlCmplncRequestUUID = _Purposes.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncReqMktTP AS _RequestedMarket ON ChmlCmplncRequestUUID = _RequestedMarket.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN C_ChmlCmplncReqPrpsAssgmtTP AS _RequestedPurpose ON ChmlCmplncRequestUUID = _RequestedPurpose.ChmlCmplncRequestUUID  -- association [0..*]
LEFT OUTER JOIN I_ChmlCmplncReqCmplncProcVH AS _CmplncProcVH ON ChmlCmplncReqCmplncProc = _CmplncProcVH.ChmlCmplncReqCmplncProc  -- association [1..1]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _PrimeMatPackaged ON ChmlCmplncInfoUUID = _PrimeMatPackaged.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _PrimeMatUnpackaged ON ChmlCmplncProdUUID = _PrimeMatUnpackaged.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_ChmlSuplrMatlSupplierContact AS _SupplierContact ON BusinessPartnerSupplier = _SupplierContact.BusinessPartnerSupplier  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncReqStatusTxt AS _RequestStatus ON ChmlCmplncRequestPrgrsStatus = _RequestStatus.ChmlCmplncReqStatus  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncBusProcVH AS _BusinessProcessVH ON ChmlCmplncBusinessProcess = _BusinessProcessVH.ChmlCmplncBusinessProcess  -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncReqOrigTypeVH AS _OriginTypeVH ON ChmlCmplncRequestOriginType = _OriginTypeVH.ChmlCmplncRequestOriginType  -- association [0..1]
LEFT OUTER JOIN I_OTRText AS _ChmlCmplncReqDetailsText ON ChmlCmplncReqDetails = _ChmlCmplncReqDetailsText.OnlnTxtRpstryConceptID  -- association [0..*]
LEFT OUTER JOIN I_ProductGroup_2 AS _ProductGroupVH ON MaterialGroup = _ProductGroupVH.ProductGroup  -- association [0..1]
;