C_EHSControlImplmtnForTaskList
EHS Control Implementation for Task List
C_EHSControlImplmtnForTaskList is a Consumption CDS View that provides data about "EHS Control Implementation for Task List" in SAP S/4HANA. It reads from 1 data source (I_EHSRiskControl) and exposes 20 fields with key field EHSControlInstanceUUID. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSRiskControl | I_EHSRiskControl | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_EHSCtrlImplmtnStatusText | _EHSCtrlImplmtnStatusText | $projection.EHSControlImplStatus = _EHSCtrlImplmtnStatusText.EHSControlImplStatus |
| [0..*] | I_CurrentEHSLocationNameText | _CurrentEHSLocationNameText | $projection.ehslocationuuid = _CurrentEHSLocationNameText.EHSLocationUUID |
| [0..*] | I_HazardText | _HazardText | $projection.hazard = _HazardText.Hazard |
| [0..*] | I_CurrentEHSAgentNameText | _CurrentEHSAgentNameText | $projection.EHSAgentUUID = _CurrentEHSAgentNameText.EHSAgentUUID |
| [0..*] | I_EHSOperationalStatusText | _EHSOperationalStatusText | $projection.operationalstatus = _EHSOperationalStatusText.OperationalStatus |
| [0..*] | C_EHSControlImplementationTask | _Tasks | $projection.EHSControlInstanceUUIDHex = _Tasks.EHSTaskHostObjectInstance |
| [0..*] | I_EHSTaskDefinitionTP | _EHSTaskDefinitionTP | $projection.EHSControlInstanceUUID = _EHSTaskDefinitionTP.EHSTaskHostObjectInstanceUUID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | CEHSCIMFTSKLST | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Consumption.semanticObject | EHSControlImplementation | view | |
| EndUserText.label | EHS Control Implementation for Task List | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | EHSControlInstanceUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSControlInstanceUUID | EHSControlInstanceUUID | UUID | |
| EHSControlInstanceUUIDHex | ||||
| EHSControlTitleendasEHSControlTitle | ||||
| EHSControlImplStatus | EHSControlImplStatus | |||
| _EHSCtrlImplementationStatus | _EHSCtrlImplementationStatus | |||
| EHSLocationUUID | _EHSRiskRoot | EHSLocationUUID | NodeID | |
| _EHSLocationRoot | _EHSRiskRoot | _EHSLocationRoot | ||
| Hazard | _EHSRiskRoot | Hazard | Hazard | |
| _Hazard | _EHSRiskRoot | _Hazard | ||
| OperationalStatus | _EHSRiskRoot | OperationalStatus | Operational Status | |
| _EHSOperationalStatus | _EHSRiskRoot | _EHSOperationalStatus | ||
| _EHSCtrlImplmtnStatusText | _EHSCtrlImplmtnStatusText | |||
| _CurrentEHSLocationNameText | _CurrentEHSLocationNameText | |||
| _HazardText | _HazardText | |||
| _CurrentEHSAgentNameText | _CurrentEHSAgentNameText | |||
| _EHSOperationalStatusText | _EHSOperationalStatusText | |||
| _Tasks | _Tasks | |||
| EHSRiskUUID | EHSRiskUUID | |||
| _EHSRiskRoot | _EHSRiskRoot | |||
| _EHSTaskDefinitionTP | _EHSTaskDefinitionTP |
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_EHSControlImplmtnForTaskList.
-- 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 C_EHSControlImplmtnForTaskList AS
SELECT
EHSControlInstanceUUID,
bintohex(EHSControlInstanceUUID) AS EHSControlInstanceUUIDHex,
case EHSControlIsAdhoc when 'X' then EHSControlAdhocTitle else _EHSControl._EHSCtrlTitleTxt[1:Language = $session.system_language].EHSControlTitle end as EHSControlTitle AS EHSControlTitleendasEHSControlTitle,
EHSControlImplStatus,
_EHSRiskRoot.EHSLocationUUID AS EHSLocationUUID,
_EHSRiskRoot._EHSLocationRoot AS _EHSLocationRoot,
_EHSRiskRoot.Hazard AS Hazard,
_EHSRiskRoot._Hazard AS _Hazard,
_EHSRiskRoot.OperationalStatus AS OperationalStatus,
_EHSRiskRoot._EHSOperationalStatus AS _EHSOperationalStatus,
EHSRiskUUID
FROM I_EHSRiskControl
LEFT OUTER JOIN I_EHSCtrlImplmtnStatusText AS _EHSCtrlImplmtnStatusText ON EHSControlImplStatus = _EHSCtrlImplmtnStatusText.EHSControlImplStatus -- association [0..*]
LEFT OUTER JOIN I_CurrentEHSLocationNameText AS _CurrentEHSLocationNameText ON ehslocationuuid = _CurrentEHSLocationNameText.EHSLocationUUID -- association [0..*]
LEFT OUTER JOIN I_HazardText AS _HazardText ON hazard = _HazardText.Hazard -- association [0..*]
LEFT OUTER JOIN I_CurrentEHSAgentNameText AS _CurrentEHSAgentNameText ON EHSAgentUUID = _CurrentEHSAgentNameText.EHSAgentUUID -- association [0..*]
LEFT OUTER JOIN I_EHSOperationalStatusText AS _EHSOperationalStatusText ON operationalstatus = _EHSOperationalStatusText.OperationalStatus -- association [0..*]
LEFT OUTER JOIN C_EHSControlImplementationTask AS _Tasks ON EHSControlInstanceUUIDHex = _Tasks.EHSTaskHostObjectInstance -- association [0..*]
LEFT OUTER JOIN I_EHSTaskDefinitionTP AS _EHSTaskDefinitionTP ON EHSControlInstanceUUID = _EHSTaskDefinitionTP.EHSTaskHostObjectInstanceUUID -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA