I_EHSLocRespManager

DDL: I_EHSLOCRESPMANAGER SQL: ILOCRESPMNGR Type: view BASIC

Location Responsible Manager

I_EHSLocRespManager is a Basic CDS View that provides data about "Location Responsible Manager" in SAP S/4HANA. It reads from 2 data sources (ehfndd_loc_resp, ehenvc_mdef_ro) and exposes 5 fields with key field EHSLocationResponsibleUUID.

Data Sources (2)

SourceAliasJoin Type
ehfndd_loc_resp loc_resp from
ehenvc_mdef_ro role_cust inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ILOCRESPMNGR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Location Responsible Manager view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY EHSLocationResponsibleUUID UUID
EHSLocationUUID root_key UUID
EHSLocationRevisionUUID parent_key UUID
EHSLocationPersonRespRole
EHSLocResponsibleManagerID Person ID

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_EHSLocRespManager.
-- 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: ILOCRESPMNGR

CREATE VIEW I_EHSLocRespManager AS
SELECT
  cast( db_key as ehfnd_location_uuid_ref preserving type ) AS EHSLocationResponsibleUUID,
  root_key AS EHSLocationUUID,
  parent_key AS EHSLocationRevisionUUID,
  cast(role_cust.code as abap.char( 30 ) ) AS EHSLocationPersonRespRole,
  cast(person_id as abap.char( 13 ) ) AS EHSLocResponsibleManagerID
FROM ehfndd_loc_resp AS loc_resp
INNER JOIN ehenvc_mdef_ro AS role_cust ON /* join condition not captured in parsed metadata */
;