C_ProdCmplncServiceRequestProd

DDL: C_PRODCMPLNCSERVICEREQUESTPROD SQL: CPCMPLSERVREQPVH Type: view CONSUMPTION

Product Compliance Service Requests Prod

C_ProdCmplncServiceRequestProd is a Consumption CDS View that provides data about "Product Compliance Service Requests Prod" in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 12 fields with key field ChmlCmplncInfoUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ChmlCmplncInfo _ChmlCmplncInfo from

Associations (3)

CardinalityTargetAliasCondition
[0..1] C_ChmlCmplncPrimMatl _PrimeMatReferenced $projection.ChmlCmplncInfoUUID = _PrimeMatReferenced.ChmlCmplncInfoUUID -- Document information to show the language (used in virtual elements coding for filtering)
[0..*] C_ProdCmplncProdReqSftyDataSht _SftyDataSht $projection.ChmlCmplncInfoUUID = _SftyDataSht.ChmlCmplncInfoUUID -- Data bucket information via a Custom Entity (ABAP Implementation - so only accessible via OData / SADL)
[0..*] C_ProdCmplncProdReqSendData _SendData $projection.ChmlCmplncInfoUUID = _SendData.ChmlCmplncInfoUUID

Annotations (12)

NameValueLevelField
EndUserText.label Product Compliance Service Requests Prod view
AbapCatalog.sqlViewName CPCMPLSERVREQPVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
Search.searchable true view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ChmlCmplncInfoUUID I_ChmlCmplncInfo ChmlCmplncInfoUUID Chemical Compliance Information PP
ChmlCompositionUUID _Composition ChmlCompositionUUID Chemical Composition
PhysChmlPrptyUUID _PhysChemProperty PhysChmlPrptyUUID Physical-Chemical Property
PCSftyPrptyUUID _SftyRelated PCSftyPrptyUUID Safety-Related Property
ChmlCmplncInfoCombinedName _PrimeMatReferenced ChmlCmplncInfoCombinedName
Material _PrimeMatReferenced Material Vehicle Model
ProductGroup
ProductGroupNameasProductGroupName
ProdCmplncServiceReqIsExisting
_SftyDataSht _SftyDataSht
_SendData _SendData
_ProductGroup_2

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_ProdCmplncServiceRequestProd.
-- 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: CPCMPLSERVREQPVH

CREATE VIEW C_ProdCmplncServiceRequestProd AS
SELECT
  _ChmlCmplncInfo.ChmlCmplncInfoUUID AS ChmlCmplncInfoUUID,
  _Composition.ChmlCompositionUUID AS ChmlCompositionUUID,
  _PhysChemProperty.PhysChmlPrptyUUID AS PhysChmlPrptyUUID,
  _SftyRelated.PCSftyPrptyUUID AS PCSftyPrptyUUID,
  _PrimeMatReferenced.ChmlCmplncInfoCombinedName AS ChmlCmplncInfoCombinedName,
  _PrimeMatReferenced.Material AS Material,
  _PrimeMatReferenced._MaterialData.ProductGroup AS ProductGroup,
  cast ( case when _LatestSrvcReqForProduct.LastChangeDateTime is null then ' ' else 'X' end as ehfnd_boolean preserving type ) AS ProdCmplncServiceReqIsExisting,
  _PrimeMatReferenced._MaterialData._ProductGroup_2 AS _ProductGroup_2
FROM I_ChmlCmplncInfo AS _ChmlCmplncInfo
LEFT OUTER JOIN C_ChmlCmplncPrimMatl AS _PrimeMatReferenced ON ChmlCmplncInfoUUID = _PrimeMatReferenced.ChmlCmplncInfoUUID  -- association [0..1]
LEFT OUTER JOIN C_ProdCmplncProdReqSftyDataSht AS _SftyDataSht ON ChmlCmplncInfoUUID = _SftyDataSht.ChmlCmplncInfoUUID  -- association [0..*]
LEFT OUTER JOIN C_ProdCmplncProdReqSendData AS _SendData ON ChmlCmplncInfoUUID = _SendData.ChmlCmplncInfoUUID  -- association [0..*]
;