Injuries

DataSource Transactional Data 0EHSM_HSS_INC_REC_02

Use

You can use this DataSource to extract personal and injury 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)

  • PERSON_INVOLVED

  • PERSON_DETAIL

  • PERSON_ROLE

  • PERSON_INJ_INFO

  • INJURY_ILLNESS

  • INVESTIG_RESULT

  • RELEASE_EXCEPT

  • TIME_DATA

  • RESTRICTED_DUTY

You can process the extracted data by using the DataStore object 0EHH_DS02 shipped with this release.

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
RemoteCube-Capable No
Delta-Capable Yes
Extraction from Archives No
Verifiable Yes

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
IPGUID NodeID EHHSSD_INC_PINV DB_KEY
INVPERS ID of Involved Person See Extractor Logic below -
IPGROUPINT Internal/Technical Person Group See Extractor Logic below -
IPRGUID NodeID EHHSSD_INC_PROLE DB_KEY
ROLE Role of Involved Person EHHSSD_INC_PROLE ROLE
PER_GROUP Person Group of Person See Extractor Logic below -
IPCONF Restricted Access to Person Information EHHSSD_INC_PINV CONFIDENTIAL_TS
GENDER Gender of Involved Person See Extractor Logic below -
NATION Nationality of Involved Person See Extractor Logic below -
MAR_STATUS Marital Status of Involved Person See Extractor Logic below -
CORR_LANGU Involved Person's Language of Correspondence See Extractor Logic below -
MANAGER_NAME Name of Involved Person's Manager See Extractor Logic below -
OC_INC_TYPE Incident Type EHHSSD_INC_PINJI OC_INC_TYPE
REPORT_REQ_TS Required in Summary Report EHHSSD_INC_PINJI REPORT_REQ_TS
AGE_MEAS Age of Injured Person Obselete -
JURISD_PRIV_TS Privacy Case EHHSSD_INC_PINJI JURISD_PRIV_TS
INJ_ORG_PROP_TS Injured on Company's Site EHHSSD_INC_PINJI INJ_ORG_PROP_TS
INJ_ON_DUTY_TS Person Injured on Duty EHHSSD_INC_PINJI INJ_ON_DUTY_TS
IPFTLTY Fatal Injury / Illness EHHSSD_INC_PINJI FATALITY_TS
DEATH_LOC_TYPE Location of Death EHHSSD_INC_PINJI DEATH_LOC_TYPE
DEATH_CAUSE_TYPE Cause of Death EHHSSD_INC_PINJI DEATH_CAUSE_TYPE
UNCONSC_TS Unconsciousness EHHSSD_INC_PINJI UNCONSC_TS
RESUSC_TS Immediate Resuscitation Performed EHHSSD_INC_PINJI RESUSC_TS
TREAT_BEY_FI_TS Treatment Beyond First Aid EHHSSD_INC_PINJI TREAT_BEY_FI_TS
EMERG_ROOM_TS Emergency Room Treatment EHHSSD_INC_PINJI EMERG_ROOM_TS
INPAT_TS Inpatient Treatment Overnight EHHSSD_INC_PINJI INPAT_TS
INPAT_24H_TS Inpatient Treatment (More Than 24 Hours) EHHSSD_INC_PINJI INPAT_24H_TS
DEATH_DATE Date of Death EHHSSD_INC_PINJI DEATH_TIMESTAMP / DEATH_TIME_ZONE
DEATH_TIME Time of Death EHHSSD_INC_PINJI DEATH_TIMESTAMP / DEATH_TIME_ZONE
IIGUID NodeID EHHSSD_INC_INJIL DB_KEY
INJ_ILL Injury/Illness Classification EHHSSD_INC_INJIL INJ_ILL
TYPE Injury/Illness Type EHHSSD_INC_INJIL INJ_ILL
INJFTL Fatal Injury / Illness EHHSSD_INC_INJIL TYPE
BODY_PART Injured Body Part EHHSSD_INC_INJIL BODY_PART
BODY_SIDE Injured Body Side EHHSSD_INC_INJIL BODY_SIDE
REG_REP_TS Reporting of Injury / Illness Required EHHSSD_INC_INJIL REG_REP_TS
MAJOR_ROOT_CAUSE Root Cause EHHSSD_INC_INJIL REG_REP_TS
RELRR_TS Reporting of Release Required EHHSSD_INC_RELEX REPORT_REQ_TS
DAYPOS Duration in Position EHHSSD_INC_TIDAT TP_DUR_MEAS
DUR_TI_PO_UNIT Unit of Duration in Position EHHSSD_INC_TIDAT DUR_TI_PO_UNIT
NUMLWD Actual Workdays of Absence See Extractor Logic below -
NUMLCD Actual Calendar Days of Absence See Extractor Logic below -
NUMRWD Actual Workdays of Restricted Duty See Extractor Logic below -
NUMRCD Actual Calendar Days of Restricted Duty See Extractor Logic below -
NUMTWD Actual Workdays of Job Transfer See Extractor Logic below -
NUMTCD Actual Calendar Days of Job Transfer See Extractor Logic below -
IIDESIG Injury/Illness - -
PERM_ABSENCE Permanent Absence EHHSSD_INC_RESDU PERMANENT_IND TYPE = 001
PERM_RESTRICTION Permanent Restriction EHHSSD_INC_RESDU PERMANENT_IND TYPE <> 001 JOB_TRANSFER_IND = ‚ ‚
PERM_TRANSFER Permanent Transfer EHHSSD_INC_RESDU PERMANENT_IND TYPE <> 001 JOB_TRANSFER_IND = X
SERIAL Serial Number - -
BW_DELTATIMESTMP BW Delta Time Stamp - -
BW_RECORDMODE BW Delta Process: Record Mode - -

Extractor Logic

The DataSource is implemented by a function module (extraction method F1). The extractor transfers most of the data 1:1.

For the field OEH_RELRR the extractor provides the values according to the following logic:

  • X if there is at least one release with REPORT_REQ_TS = X (reporting required).

  • - if there is no release with REPORT_REQ_TS = X and at least one release with REPORT_REQ_TS = - (reporting is not required).

  • ' ' in all remaining cases when all releases have REPORT_REQ_TS = ' ' (empty).

In order to retrieve data on a certain person, the extractor uses a special method that returns the requested name. The names can come from different sources, such as HCM (Human Capital Management), 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.

The injury/illness codes in the customizing table EHHSSC_INJIL have an additional indicator INJ_ILL_IND in this table that identifies whether it is an injury or an illness. This indicator is used to populate the InfoObject 0EH_IIDESIG.

The InfoObject 0EH_WDAYFAT is populated from the field DEATH_DATE with the transformation rule formula DATE_WEEKDAY1().

The values for the key figures 0EH_NUMLWD through 0EH_NUMTCD are determined from the RESTRICTED_DUTY node as follows:

In order to calculate 0EH_NUMLWD and 0EH_NUMLCD, read all records from RESTRICTE_DUTY relating to the person in question and all records that have the TYPE = 001 (absence). Evaluate the fields START_DATE and END_DATE and determine the number of days from these fields. When there are multiple records of TYPE = 001 with overlapping date ranges, the duplicate days must be eliminated.

Verification of Key Figures

Check the absences/restrictions and the work experience in incident management in SAP EHS Management.

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.