I_ChemicalNameText

DDL: I_CHEMICALNAMETEXT SQL: ICHMNAMET Type: view BASIC Package: EHFND_BO_CHM_IMPL

Chemical Name

I_ChemicalNameText is a Basic CDS View that provides data about "Chemical Name" in SAP S/4HANA. It reads from 2 data sources (ehfndd_chm_binfo, ehfndd_chm_name) and exposes 11 fields with key fields ChemicalUUID, RevisionEndDate, Language, ChemicalRevisionUUID. It has 4 associations to related views. Part of development package EHFND_BO_CHM_IMPL.

Data Sources (2)

SourceAliasJoin Type
ehfndd_chm_binfo BasicInfo inner
ehfndd_chm_name ChemicalNameText from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_ChemicalBasicInfo _ChemicalBasicInfo $projection.ChemicalBasicInfoUUID = _ChemicalBasicInfo.ChemicalBasicInfoUUID
[1..1] I_ChemicalRoot _ChemicalRoot $projection.ChemicalUUID = _ChemicalRoot.ChemicalUUID
[1..1] I_ChemicalRevision _ChemicalRevision $projection.ChemicalUUID = _ChemicalRevision.ChemicalUUID and $projection.ChemicalRevisionUUID = _ChemicalRevision.ChemicalRevisionUUID
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (11)

NameValueLevelField
EndUserText.label Chemical Name view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.dataCategory #TEXT view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ICHMNAMET view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ChemicalUUID
_ChemicalRoot _ChemicalRoot
KEY RevisionEndDate _ChemicalRevision RevisionEndDate
KEY Language
KEY ChemicalRevisionUUID ehfndd_chm_binfo parent_key UUID
_ChemicalRevision _ChemicalRevision
ChemicalBasicInfoUUID ehfndd_chm_name parent_key UUID
_ChemicalBasicInfo _ChemicalBasicInfo
RevisionStartDate _ChemicalRevision RevisionStartDate
NameOfChemical ehfndd_chm_name text User Group
_Language _Language

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 I_ChemicalNameText.
-- 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: ICHMNAMET

CREATE VIEW I_ChemicalNameText AS
SELECT
  cast( ChemicalNameText.root_key as ehfnd_chm_uuid_ref preserving type ) AS ChemicalUUID,
  _ChemicalRevision.RevisionEndDate AS RevisionEndDate,
  cast( ChemicalNameText.language as sylangu preserving type ) AS Language,
  BasicInfo.parent_key AS ChemicalRevisionUUID,
  ChemicalNameText.parent_key AS ChemicalBasicInfoUUID,
  _ChemicalRevision.RevisionStartDate AS RevisionStartDate,
  ChemicalNameText.text AS NameOfChemical
FROM ehfndd_chm_name AS ChemicalNameText
INNER JOIN ehfndd_chm_binfo AS BasicInfo ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ChemicalBasicInfo AS _ChemicalBasicInfo ON ChemicalBasicInfoUUID = _ChemicalBasicInfo.ChemicalBasicInfoUUID  -- association [1..1]
LEFT OUTER JOIN I_ChemicalRoot AS _ChemicalRoot ON ChemicalUUID = _ChemicalRoot.ChemicalUUID  -- association [1..1]
LEFT OUTER JOIN I_ChemicalRevision AS _ChemicalRevision ON ChemicalUUID = _ChemicalRevision.ChemicalUUID AND ChemicalRevisionUUID = _ChemicalRevision.ChemicalRevisionUUID  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;