Incidents (Group Data)
DataSource Transactional Data 0EHSM_HSS_INC_REC_01
Use
You can use this DataSource to extract group data of incidents from SAP EHS Management into SAP NetWeaver Business Warehouse (SAP NetWeaver BW). The DataSource extracts the data from the following nodes of the incident business object EHHSS_INCIDENT:
-
ROOT (only the ID of the incident)
-
GROUP
-
NEAR_MISS
-
SAFETY_OBSERVAT
-
PERSON_INVOLVED
-
PERSON_DETAIL
You can process the extracted data by using the DataStore object 0EHH_DS01 shipped with this release.
Special Characteristics
Note the following special characteristics for the fields in the extract structure:
-
0EH_OBSNAME: This refers to the name of the involved person with the role Reporting Person (the person who reported the incident).
-
0EH_OPNAME: In case of a near miss, this refers to the names of the involved people with the role Nearly Injured Person. In case of a safety observation, this refers to the names of the involved people with the role Observed Person.
Special Key Figures
0EH_NUMINC: Number of incident groups (always 1)
Technical Data
| Application Component | SAP EHS Management (EHS-MGM-INC) |
|---|---|
| Exchange Available as of Release | Component Extension 1.0 for SAP EHS Management |
| Shipment | SAP NetWeaver 7.0 BI Content Add-On 5 SP 02 |
| Content Versions | EHSM10; EHM200 |
| RemoteCube-Capable | No |
| Delta-Capable | Yes |
| Extraction from Archives | No |
| Verifiable | No |
Data Modeling
Delta Update
The delta update used for this DataSource is AIED (After-Images with Deletion Indicator by Extractor). The deciding field for the update is BW_DELTATIMESTMP.
Fields of Origin for the Extraction Structure
| Fields in the Extraction Structure | Description of the Field in the Extraction Structure | Table of Origin | Field in the Table of Origin |
|---|---|---|---|
| INCIDNT | Incident ID | EHHSSD_INC_ROOT | ID |
| IGGUID | NodeID | EHHSSD_INC_INCGR | DB_KEY |
| IPGUID | NodeID | EHHSSD_INC_PINV | DB_KEY |
| INCGRP | Incident Group | EHHSSD_INC_INCGR | INC_GROUP |
| NMGRP | Near Miss Group | EHHSSD_INC_INCGR | NM_GROUP |
| SOGRP | Safety Observation Group | EHHSSD_INC_INCGR | SO_GROUP |
| NMESTRT | Estimated Risk Type | EHHSSD_INC_NRMSS | EST_RISK_TYPE |
| SOESTRT | Estimated Risk Type | EHHSSD_INC_SAFOB | EST_RISK_TYPE |
| OPNAME | Name of Involved Person | See Extractor Logic below | - |
| OBSNAME | Name of Involved Person | See Extractor Logic below | - |
| BW_DELTATIMESTMP | BW Delta Time Stamp | - | - |
| SERIAL | Serial Number | - | - |
| BW_RECORDMODE | BW Delta Process: Record Mode | - | - |
Extractor Logic
The DataSource is implemented by a function module (extraction method F1). The extractor transfers the data 1:1 from the nodes of the business object into SAP NetWeaver BW; the data is not aggregated.
In order to retrieve data about a certain person, the extractor uses a special method that returns the requested name. The names can come from different sources, such as human capital management (HCM), business partners, and system users, depending on what has been entered in the application. The easiest way to verify the data, in particular the names of the persons, is to check what the application displays against the data that the extractor provides.
In certain cases, specific logic applies:
-
The InfoObject 0EH_IPGUID contains the GUID of the involved person instance belonging to the nearly injured person or the observed person as there could be more than one person per incident.
-
The name in 0EH_OBSNAME is populated from the involved person who has the role of Reporting Person.
-
In the case of a near miss, the name in 0EH_OPNAME is populated from the involved person who has the role of Nearly Injured Person.
-
In the case of a safety observation, the name in 0EH_OPNAME is populated from the involved person who has the role of Observed Person.
Unsychronized Backup Recovery in BI System
The DataSource does not have its own timestamp management. If you are applying unsynchronized BW backup recovery, the delta procedure for the DataSource has to be reinitialized.