C_EHSMaintenanceInfo
EHS Simple Task Definition
C_EHSMaintenanceInfo is a Consumption CDS View that provides data about "EHS Simple Task Definition" in SAP S/4HANA. It reads from 1 data source (I_EHSTaskDefMaintenanceTP) and exposes 21 fields with key field EHSTaskDefMaintenanceUUID. It has 1 association to related views. Part of development package EHFND_CNS_TASK_MANAGEMENT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSTaskDefMaintenanceTP | EHSTaskDefMaintenance | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_EHSMaintenanceNotification | _EHSMaintenanceNotification | $projection.EHSTaskDefinitionUUID = _EHSMaintenanceNotification.EHSTaskDefinitionUUID |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CEHSMNOTD | view | |
| EndUserText.label | EHS Simple Task Definition | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Consumption.semanticObject | EHSTask | view | |
| ObjectModel.representativeKey | EHSTaskDefMaintenanceUUID | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSTaskDefMaintenanceUUID | EHSTaskDefMaintenanceUUID | UUID | |
| EHSTaskDefinitionUUID | EHSTaskDefinitionUUID | Task Definition | ||
| TechnicalObjectLabel | TechnicalObjectLabel | Technical Object | ||
| TechnicalObject | TechnicalObject | Technical Object | ||
| TechnicalObjectDescription | ||||
| NotificationType | NotificationType | Notifictn Type | ||
| _EHSNotificationType | _EHSNotificationType | |||
| _EHSMaintenanceNotification | _EHSMaintenanceNotification | |||
| EHSTaskHostObjectInstance | _EHSMaintenanceNotification | EHSTaskHostObjectInstance | Instance ID | |
| EHSTaskHostObjectInstanceUUID | _EHSMaintenanceNotification | EHSTaskHostObjectInstanceUUID | Host Obj. UUID | |
| _EHSCmplncScenAuthznFields | _EHSMaintenanceNotification | _EHSCmplncScenAuthznFields | ||
| _CmplncRqmtAuthznFields | _EHSMaintenanceNotification | _CmplncRqmtAuthznFields | ||
| _EHSCtrlImplmtnAuthznFields | _EHSMaintenanceNotification | _EHSCtrlImplmtnAuthznFields | ||
| _EHSRskAssessmentAuthznFields | _EHSMaintenanceNotification | _EHSRskAssessmentAuthznFields | ||
| _EHSRskAssmt2RskCtrlAuthznFld | _EHSMaintenanceNotification | _EHSRskAssmt2RskCtrlAuthznFld | ||
| _IncidentAuthorizationFields | _EHSMaintenanceNotification | _IncidentAuthorizationFields | ||
| IncidentHasAccessRestriction | _EHSMaintenanceNotification | IncidentHasAccessRestriction | Restricted | |
| EHSTaskHostObjectAdapterClass | _EHSMaintenanceNotification | EHSTaskHostObjectAdapterClass | Class Name | |
| _EHSTaskAdapterClass | _EHSMaintenanceNotification | _EHSTaskAdapterClass | ||
| EHSTaskOwnerUser | _EHSMaintenanceNotification | EHSTaskOwnerUser | Owner | |
| _EHSTaskOwnerUser | _EHSMaintenanceNotification | _EHSTaskOwnerUser |
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_EHSMaintenanceInfo.
-- 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: CEHSMNOTD
CREATE VIEW C_EHSMaintenanceInfo AS
SELECT
EHSTaskDefMaintenanceUUID,
EHSTaskDefinitionUUID,
TechnicalObjectLabel,
TechnicalObject,
_TechnicalObjectText[1:Language = $session.system_language].TechnicalObjectDescription AS TechnicalObjectDescription,
NotificationType,
_EHSMaintenanceNotification.EHSTaskHostObjectInstance AS EHSTaskHostObjectInstance,
_EHSMaintenanceNotification.EHSTaskHostObjectInstanceUUID AS EHSTaskHostObjectInstanceUUID,
_EHSMaintenanceNotification._EHSCmplncScenAuthznFields AS _EHSCmplncScenAuthznFields,
_EHSMaintenanceNotification._CmplncRqmtAuthznFields AS _CmplncRqmtAuthznFields,
_EHSMaintenanceNotification._EHSCtrlImplmtnAuthznFields AS _EHSCtrlImplmtnAuthznFields,
_EHSMaintenanceNotification._EHSRskAssessmentAuthznFields AS _EHSRskAssessmentAuthznFields,
_EHSMaintenanceNotification._EHSRskAssmt2RskCtrlAuthznFld AS _EHSRskAssmt2RskCtrlAuthznFld,
_EHSMaintenanceNotification._IncidentAuthorizationFields AS _IncidentAuthorizationFields,
_EHSMaintenanceNotification.IncidentHasAccessRestriction AS IncidentHasAccessRestriction,
_EHSMaintenanceNotification.EHSTaskHostObjectAdapterClass AS EHSTaskHostObjectAdapterClass,
_EHSMaintenanceNotification._EHSTaskAdapterClass AS _EHSTaskAdapterClass,
_EHSMaintenanceNotification.EHSTaskOwnerUser AS EHSTaskOwnerUser,
_EHSMaintenanceNotification._EHSTaskOwnerUser AS _EHSTaskOwnerUser
FROM I_EHSTaskDefMaintenanceTP AS EHSTaskDefMaintenance
LEFT OUTER JOIN C_EHSMaintenanceNotification AS _EHSMaintenanceNotification ON EHSTaskDefinitionUUID = _EHSMaintenanceNotification.EHSTaskDefinitionUUID -- association [1..1]
;
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