I_EHSJobForIdentifyRisks
Interface view for the Jobs used in the EHS Risks
I_EHSJobForIdentifyRisks is a Composite CDS View that provides data about "Interface view for the Jobs used in the EHS Risks" in SAP S/4HANA. It reads from 2 data sources (I_EHSJobAtLocation, I_EHSLocationRoot) and exposes 5 fields with key fields EHSLocationUUID, EHSJobUUID, EHSJobUUID. It has 1 association to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSJobAtLocation | I_EHSJobAtLocation | union |
| I_EHSLocationRoot | I_EHSLocationRoot | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EHSLocationRoot | _EHSLocationRoot | _EHSLocationRoot.EHSLocationUUID = $projection.EHSLocationUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Interface view for the Jobs used in the EHS Risks | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | EHSJobUUID | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IEHSJOBFORIDRSK | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSLocationUUID | EHSLocationUUID | ||
| KEY | EHSJobUUID | |||
| EHSLocationUUIDkeyEHSLocationUUID | ||||
| KEY | EHSJobUUID | EHSJobUUID | ||
| _EHSLocationRoot | _EHSLocationRoot |
@EndUserText.label: 'Interface view for the Jobs used in the EHS Risks'
@VDM.viewType: #COMPOSITE
@ObjectModel.representativeKey: 'EHSJobUUID'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'IEHSJOBFORIDRSK'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey:true
// Client handling by session
@ClientHandling.algorithm: #SESSION_VARIABLE
// used for BOBF Master Data Object
@ObjectModel.usageType:{ serviceQuality: #C, // < 15 msec
sizeCategory: #XL, // < 100.000.000
dataClass: #TRANSACTIONAL }
define view I_EHSJobForIdentifyRisks as
select from I_EHSLocationRoot
association [0..1] to I_EHSLocationRoot as _EHSLocationRoot on _EHSLocationRoot.EHSLocationUUID = $projection.EHSLocationUUID
{
// virtual record for risks not assigned to a job
@ObjectModel.foreignKey.association: '_EHSLocationRoot'
key EHSLocationUUID,
key cast( hextobin( '00000000000000000000000000000000' ) as ehhss_job_uuid_ref ) as EHSJobUUID,
// satisfy ATC VDM check (OMRK)
_EHSLocationRoot
}
union
select from I_EHSJobAtLocation
association [0..1] to I_EHSLocationRoot as _EHSLocationRoot on _EHSLocationRoot.EHSLocationUUID = $projection.EHSLocationUUID
{
// jobs at the location
@ObjectModel.foreignKey.association: '_EHSLocationRoot'
key EHSLocationUUID,
key EHSJobUUID,
// satisfy ATC VDM check (OMRK)
_EHSLocationRoot
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EHSJOBATLOCATION",
"I_EHSLOCATIONROOT"
],
"ASSOCIATED":
[
"I_EHSLOCATIONROOT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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