I_EHSAgentNameText

DDL: I_EHSAGENTNAMETEXT SQL: IEHSAGTNAMET Type: view COMPOSITE Package: EHHSS_BO_RAS_IMPL

Agent Name

I_EHSAgentNameText is a Composite CDS View that provides data about "Agent Name" in SAP S/4HANA. It reads from 1 data source (P_EHSAgentNameUnion) and exposes 9 fields with key fields EHSAgentUUID, RevisionEndDate, Language. It has 2 associations to related views. Part of development package EHHSS_BO_RAS_IMPL.

Data Sources (1)

SourceAliasJoin Type
P_EHSAgentNameUnion P_EHSAgentNameUnion from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[1..1] I_EHSAgent _EHSAgent $projection.RevisionEndDate = _EHSAgent.RevisionEndDate and $projection.EHSAgentUUID = _EHSAgent.EHSAgentUUID

Annotations (13)

NameValueLevelField
EndUserText.label Agent Name view
Analytics.dataExtraction.enabled true view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey EHSAgentUUID view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IEHSAGTNAMET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY EHSAgentUUID Agent
KEY RevisionEndDate RevisionEndDate
KEY Language Language Report Text Language
_Language _Language
EHSAgentRevisionUUID EHSAgentRevisionUUID
RevisionStartDate RevisionStartDate
EHSAgentName
_EHSAgent _EHSAgent
EHSAgentType EHSAgentType

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_EHSAgentNameText.
-- 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: IEHSAGTNAMET

CREATE VIEW I_EHSAgentNameText AS
SELECT
  cast( EHSAgentUUID as ehhss_agent_combined_uuid_ref preserving type ) AS EHSAgentUUID,
  RevisionEndDate,
  Language,
  EHSAgentRevisionUUID,
  RevisionStartDate,
  cast( EHSAgentName as ehhss_agent_combined_name ) AS EHSAgentName,
  EHSAgentType
FROM P_EHSAgentNameUnion
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
LEFT OUTER JOIN I_EHSAgent AS _EHSAgent ON RevisionEndDate = _EHSAgent.RevisionEndDate AND EHSAgentUUID = _EHSAgent.EHSAgentUUID  -- association [1..1]
;