C_UpaDaGdsClfnTechNameAll

DDL: C_UPADAGDSCLFNTECHNAMEALL SQL: IUPDGTECHNAMALL Type: view CONSUMPTION

Technical Names - All Company Substances

C_UpaDaGdsClfnTechNameAll is a Consumption CDS View that provides data about "Technical Names - All Company Substances" in SAP S/4HANA. It reads from 1 data source (I_Substance) and exposes 7 fields with key fields SubstanceUUID, CmplRqVersOrganicPrxdUUID, CmplRqVersSelfReactvSubstUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_Substance I_Substance from

Parameters (3)

NameTypeDefault
P_CmplRqVersUUID sysuuid_x
P_DangerousGoodsIdnNumber ehdgm_dangerous_good_idn
P_DangerousGoodsIdnNumberType ehdgm_dangerous_good_idn_type

Associations (3)

CardinalityTargetAliasCondition
[0..1] P_SubstNameFallbackLogonLang _SubstNameFallbackLogonLang _SubstNameFallbackLogonLang.SubstanceUUID = $projection.SubstanceUUID
[0..1] P_SubstIsOnOrganicPrxdList _SubstIsOnOrganicPrxdList _SubstIsOnOrganicPrxdList.SubstanceUUID = $projection.SubstanceUUID and _SubstIsOnOrganicPrxdList.CmplRqVersUUID = $parameters.P_CmplRqVersUUID and _SubstIsOnOrganicPrxdList.ProdCmplncDngrsGdsIdnNmbrType = $parameters.P_DangerousGoodsIdnNumberType and _SubstIsOnOrganicPrxdList.ProdCmplncDngrsGdsIdnNmbr = $parameters.P_DangerousGoodsIdnNumber
[0..1] P_SubstIsOnSelfReactvSubstList _SubstIsOnSelfReactvSubstList _SubstIsOnSelfReactvSubstList.SubstanceUUID = $projection.SubstanceUUID and _SubstIsOnSelfReactvSubstList.CmplRqVersUUID = $parameters.P_CmplRqVersUUID and _SubstIsOnSelfReactvSubstList.ProdCmplncDngrsGdsIdnNmbrType = $parameters.P_DangerousGoodsIdnNumberType and _SubstIsOnSelfReactvSubstList.ProdCmplncDngrsGdsIdnNmbr = $parameters.P_DangerousGoodsIdnNumber

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IUPDGTECHNAMALL 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
EndUserText.label Technical Names - All Company Substances view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY SubstanceUUID SubstanceUUID Substance
KEY CmplRqVersOrganicPrxdUUID _SubstIsOnOrganicPrxdList CmplRqVersOrganicPrxdUUID
KEY CmplRqVersSelfReactvSubstUUID _SubstIsOnSelfReactvSubstList CmplRqVersSelfReactvSubstUUID
SubstanceNameendasSubstanceName
CASNumber _ListedSubstance CASNumber CAS Number
ECNumber _ListedSubstance ECNumber EC Number
ResponsibleUnit ResponsibleUnit Responsible Unit

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_UpaDaGdsClfnTechNameAll.
-- 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: IUPDGTECHNAMALL
-- Parameters: P_CmplRqVersUUID : sysuuid_x, P_DangerousGoodsIdnNumber : ehdgm_dangerous_good_idn, P_DangerousGoodsIdnNumberType : ehdgm_dangerous_good_idn_type

CREATE VIEW C_UpaDaGdsClfnTechNameAll AS
SELECT
  SubstanceUUID,
  _SubstIsOnOrganicPrxdList.CmplRqVersOrganicPrxdUUID AS CmplRqVersOrganicPrxdUUID,
  _SubstIsOnSelfReactvSubstList.CmplRqVersSelfReactvSubstUUID AS CmplRqVersSelfReactvSubstUUID,
  case when _SubstIsOnOrganicPrxdList.SubstanceUUID is not null then _SubstIsOnOrganicPrxdList.DngrsGdsOrganicPrxdName when _SubstIsOnSelfReactvSubstList.SubstanceUUID is not null then _SubstIsOnSelfReactvSubstList.DngrsGdsSelfReactvName else _SubstNameFallbackLogonLang.SubstanceName end as SubstanceName AS SubstanceNameendasSubstanceName,
  _ListedSubstance.CASNumber AS CASNumber,
  _ListedSubstance.ECNumber AS ECNumber,
  ResponsibleUnit
FROM I_Substance
LEFT OUTER JOIN P_SubstNameFallbackLogonLang AS _SubstNameFallbackLogonLang ON _SubstNameFallbackLogonLang.SubstanceUUID = SubstanceUUID  -- association [0..1]
LEFT OUTER JOIN P_SubstIsOnOrganicPrxdList AS _SubstIsOnOrganicPrxdList ON _SubstIsOnOrganicPrxdList.SubstanceUUID = SubstanceUUID AND _SubstIsOnOrganicPrxdList.CmplRqVersUUID = $parameters.P_CmplRqVersUUID AND _SubstIsOnOrganicPrxdList.ProdCmplncDngrsGdsIdnNmbrType = $parameters.P_DangerousGoodsIdnNumberType AND _SubstIsOnOrganicPrxdList.ProdCmplncDngrsGdsIdnNmbr = $parameters.P_DangerousGoodsIdnNumber  -- association [0..1]
LEFT OUTER JOIN P_SubstIsOnSelfReactvSubstList AS _SubstIsOnSelfReactvSubstList ON _SubstIsOnSelfReactvSubstList.SubstanceUUID = SubstanceUUID AND _SubstIsOnSelfReactvSubstList.CmplRqVersUUID = $parameters.P_CmplRqVersUUID AND _SubstIsOnSelfReactvSubstList.ProdCmplncDngrsGdsIdnNmbrType = $parameters.P_DangerousGoodsIdnNumberType AND _SubstIsOnSelfReactvSubstList.ProdCmplncDngrsGdsIdnNmbr = $parameters.P_DangerousGoodsIdnNumber  -- association [0..1]
;