C_PCEctxTrrstrlPlantTP

DDL: C_PCECTXTRRSTRLPLANTTP Type: view CONSUMPTION Package: EHFND_CNS_ECOTOX

Toxicity to Terrestrial Plants

C_PCEctxTrrstrlPlantTP is a Consumption CDS View that provides data about "Toxicity to Terrestrial Plants" in SAP S/4HANA. It reads from 1 data source (I_PCEctxTrrstrlPlantTP) and exposes 16 fields. It has 4 associations to related views. Part of development package EHFND_CNS_ECOTOX.

Data Sources (1)

SourceAliasJoin Type
I_PCEctxTrrstrlPlantTP I_PCEctxTrrstrlPlantTP from

Associations (4)

CardinalityTargetAliasCondition
[1..1] C_PCEctxPropertyTP _PCEctxProperty $projection.PCEctxPrptyUUID = _PCEctxProperty.PCEctxPrptyUUID -- Unit of Measure - Exposure Time
[0..*] I_UnitOfMeasureText _UnitOfMeasureExposureTime $projection.PCEctxExpsrUoM = _UnitOfMeasureExposureTime.UnitOfMeasure -- Unit of Measure - TypeValue
[0..*] I_UnitOfMeasureText _UnitOfMeasureTypeValue $projection.PCEctxValueUoM = _UnitOfMeasureTypeValue.UnitOfMeasure --Rating text
[0..*] I_ProdCmplncRatingText _ProdCmplncRatingText $projection.PCEctxRating = _ProdCmplncRatingText.PCPrptyRating

Annotations (15)

NameValueLevelField
EndUserText.label Toxicity to Terrestrial Plants view
AbapCatalog.sqlViewName CPCECTXTPLNTTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (16)

KeyFieldSource TableSource FieldDescription
PCEctxSpeciesPhrsTxt
PCEctxExpsrUoMTxt
PCEctxValueTypePhrsTxt
PCEctxValueUoMTxt
PCEctxMethodPhrsTxt
NotePCEctxNoteText
RatingPCEctxRating
PCPrptyRatingText
PCEctxAddlStatementPhrsTxt
CreateatdatetimeCreationUTCDateTime
CreatebyuserCreatedByUser
UpdateatdatetimeLastChangeUTCDateTime
UpdatebyuserLastChangedByUser
PCPrptyCnctntdAssmtTxt
SubstanceUUID
_PCEctxProperty _PCEctxProperty

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_PCEctxTrrstrlPlantTP.
-- 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_PCEctxTrrstrlPlantTP AS
SELECT
  cast( '' as ehfnd_property_species ) AS PCEctxSpeciesPhrsTxt,
  _UnitOfMeasureExposureTime[1: Language = $session.system_language ].UnitOfMeasureName AS PCEctxExpsrUoMTxt,
  cast( '' as ehfnd_phrs_text ) AS PCEctxValueTypePhrsTxt,
  _UnitOfMeasureTypeValue[1: Language = $session.system_language ].UnitOfMeasureName AS PCEctxValueUoMTxt,
  cast( '' as ehfnd_property_method ) AS PCEctxMethodPhrsTxt,
  _ProdCmplncRatingText[1: Language = $session.system_language ].PCPrptyRatingText AS PCPrptyRatingText,
  cast( '' as ehfnd_add_stmnt ) AS PCEctxAddlStatementPhrsTxt,
  cast('' as ehfnd_property_results_concat ) AS PCPrptyCnctntdAssmtTxt
FROM I_PCEctxTrrstrlPlantTP
LEFT OUTER JOIN C_PCEctxPropertyTP AS _PCEctxProperty ON PCEctxPrptyUUID = _PCEctxProperty.PCEctxPrptyUUID  -- association [1..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureExposureTime ON PCEctxExpsrUoM = _UnitOfMeasureExposureTime.UnitOfMeasure  -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitOfMeasureTypeValue ON PCEctxValueUoM = _UnitOfMeasureTypeValue.UnitOfMeasure  -- association [0..*]
LEFT OUTER JOIN I_ProdCmplncRatingText AS _ProdCmplncRatingText ON PCEctxRating = _ProdCmplncRatingText.PCPrptyRating  -- association [0..*]
;