C_ProdCmplncServiceReqSubst

DDL: C_PRODCMPLNCSERVICEREQSUBST Type: view CONSUMPTION Package: EHFND_SDSA_SERVICE_INTEGRATION

PC Service Requests Private Substance

C_ProdCmplncServiceReqSubst is a Consumption CDS View that provides data about "PC Service Requests Private Substance" in SAP S/4HANA. It reads from 1 data source (I_SubstanceTP) and exposes 9 fields with key field SubstanceUUID. It has 1 association to related views. It is exposed through 1 OData service (ASQL_F4295). Part of development package EHFND_SDSA_SERVICE_INTEGRATION.

Data Sources (1)

SourceAliasJoin Type
I_SubstanceTP _Substance from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_ProdCmplncPrvtSubstSendData _SendData $projection.SubstanceUUID = _SendData.SubstanceUUID

Annotations (11)

NameValueLevelField
EndUserText.label PC Service Requests Private Substance view
AbapCatalog.sqlViewName CPCMPLSERVRQSUVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F4295 ASQL_F4295 C2 NOT_RELEASED

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SubstanceUUID I_SubstanceTP SubstanceUUID Substance
PhysChmlPrptyUUID _PhysChemProperty PhysChmlPrptyUUID Physical-Chemical Property
PCSftyPrptyUUID _SftyRelated PCSftyPrptyUUID Safety-Related Property
SubstanceName I_SubstanceTP SubstanceName Substance Name
SubstanceInternalName I_SubstanceTP SubstanceInternalName Internal Name
ECNumber
CASNumber
ProdCmplncServiceReqIsExisting
_SendData _SendData

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_ProdCmplncServiceReqSubst.
-- 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_ProdCmplncServiceReqSubst AS
SELECT
  _Substance.SubstanceUUID AS SubstanceUUID,
  _PhysChemProperty.PhysChmlPrptyUUID AS PhysChmlPrptyUUID,
  _SftyRelated.PCSftyPrptyUUID AS PCSftyPrptyUUID,
  _Substance.SubstanceName AS SubstanceName,
  _Substance.SubstanceInternalName AS SubstanceInternalName,
  _Substance._ListedSubstance.ECNumber AS ECNumber,
  _Substance._ListedSubstance.CASNumber AS CASNumber,
  cast ( case when _LatestSrvcReqForSubstance.LastChangeDateTime is null then ' ' else 'X' end as ehfnd_boolean preserving type ) AS ProdCmplncServiceReqIsExisting
FROM I_SubstanceTP AS _Substance
LEFT OUTER JOIN C_ProdCmplncPrvtSubstSendData AS _SendData ON SubstanceUUID = _SendData.SubstanceUUID  -- association [0..*]
;