C_PCEctxHistory

DDL: C_PCECTXHISTORY Type: view CONSUMPTION Package: EHFND_CNS_ECOTOX

Ecotoxic Properties History

C_PCEctxHistory is a Consumption CDS View that provides data about "Ecotoxic Properties History" in SAP S/4HANA. It reads from 1 data source (I_PCEctxPropertyTP) and exposes 8 fields. It has 3 associations to related views. Part of development package EHFND_CNS_ECOTOX.

Data Sources (1)

SourceAliasJoin Type
I_PCEctxPropertyTP PCEctxProperty from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_BusinessUserBasic _ReleasedByUser $projection.ReleasedByUser = _ReleasedByUser.BusinessPartner
[1..1] I_BusinessUserBasic _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID
[1..1] P_CChmlCmplConstants _Constants _Constants.Constant1 = _Constants.Constant1

Annotations (11)

NameValueLevelField
EndUserText.label Ecotoxic Properties History view
AbapCatalog.sqlViewName CPECTXHISTORY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (8)

KeyFieldSource TableSource FieldDescription
ActivePCEctxPrptyUUID ActivePCEctxPrptyUUID Ecotoxicological Property
PCPrptyProcgStsText
ReleasedByUserName _ReleasedByUser PersonFullName Full Name
ValidfromdateValidityStartDateTime
ValidtodateValidityEndDateTime
PCEctxPrptyIsActive _Constants ConstantTrue Single-Character Flag
_ChmlCmplncInfo _ChmlCmplncInfo
_Substance _Substance

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_PCEctxHistory.
-- 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_PCEctxHistory AS
SELECT
  ActivePCEctxPrptyUUID,
  _ProcessingStatus._Text[1: Language = $session.system_language].PCPrptyProcgStsText AS PCPrptyProcgStsText,
  _ReleasedByUser.PersonFullName AS ReleasedByUserName,
  _Constants.ConstantTrue AS PCEctxPrptyIsActive
FROM I_PCEctxPropertyTP AS PCEctxProperty
LEFT OUTER JOIN I_BusinessUserBasic AS _ReleasedByUser ON ReleasedByUser = _ReleasedByUser.BusinessPartner  -- association [0..1]
LEFT OUTER JOIN I_BusinessUserBasic AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID  -- association [1..1]
LEFT OUTER JOIN P_CChmlCmplConstants AS _Constants ON _Constants.Constant1 = _Constants.Constant1  -- association [1..1]
;