I_EHSPurposeOfUseText

DDL: I_EHSPURPOSEOFUSETEXT Type: view_entity BASIC Package: EHFND_CHM_COMMON

EHS Purpose - Text

I_EHSPurposeOfUseText is a Basic CDS View that provides data about "EHS Purpose - Text" in SAP S/4HANA. It reads from 1 data source (ehfndc_purp_t) and exposes 5 fields with key fields PurposeOfUse, Language. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F3406, ASQL_F8658). Part of development package EHFND_CHM_COMMON.

Data Sources (1)

SourceAliasJoin Type
ehfndc_purp_t ehfndc_purp_t from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_EHSPurposeOfUse _EHSPurposeOfUse $projection.PurposeOfUse = _EHSPurposeOfUse.PurposeOfUse
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (9)

NameValueLevelField
EndUserText.label EHS Purpose - Text view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey PurposeOfUse view
VDM.viewType #BASIC view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F3406 ASQL_F3406 C2 NOT_RELEASED
ASQL_F8658 ASQL_F8658 C2 NOT_RELEASED

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurposeOfUse Water Hazard Cl.
KEY Language language Report Text Language
PurposeOfUseName Well Code Des.
_EHSPurposeOfUse _EHSPurposeOfUse
_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_EHSPurposeOfUseText.
-- 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 I_EHSPurposeOfUseText AS
SELECT
  cast( code as ehfnd_purpose_code_nc preserving type ) AS PurposeOfUse,
  Language,
  cast( description as ehfnd_purpose_code_desc preserving type ) AS PurposeOfUseName
FROM ehfndc_purp_t
LEFT OUTER JOIN I_EHSPurposeOfUse AS _EHSPurposeOfUse ON PurposeOfUse = _EHSPurposeOfUse.PurposeOfUse  -- association [0..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;