General presentation

Objective of the application

EHS stands for Environment, Health and Safety. The Goal of EHS is to protect employees, the public, the environment and to comply with applicable laws and protect the Company's reputation. EHS departments, of some companies are responsible for environmental protection, occupational health and safety.

This application offers a set of reports about EHS specifications and documents.

Assessment Report FFS: https://drive.google.com/open?id=1GMdZG9r5NZTGLFTTp-R0dIg9AGv5vYcNDOksMO204_A

Shared Pure Sub BUR: https://drive.google.com/open?id=1-LzduYSYn6ZepXOemnTzB5nsC8fbYpOsGs9AtCgfJQU

Report Shipping FFS: https://drive.google.com/open?id=1335-xQFGQLE4V1QMHN-rTDzQkDVq3lhEJJCb8LSxH2Y

 

Tool Leader + IT leader of the application: 

Reporting Coordinator: Célia Gonzalez-Roux

Usage information

Around 50 users. Some reports are only for the use of the EHS Admin team (Role menu EHS - Admin).

History

Provide some history of the application : When was it created ? What was the initial project ? Who was the original requestor ? If possible provide link to the project information

Roles & Access

Roles and access

List of application role + menu role  and explanation if we have several applications role with specials rules.

Role CodeRole DescriptionExplanation
ZR_RCS_CA_M51
EHS Reporting - ADMIN Reports
Role menu for EHS admin team reports
ZR_RCS_CA_M45
EHS Reporting - SDS Reports
Role menu for EHS reports "documents generation" and "SDS shipping"
ZBI_RCS_EHS_A02Environment, Health and Safety Analysis - End User Role

Application Role:

  • End User rights
  • gives access to infoproviders of Infoarea "AREA_EHSTR" (EHS - Transactional Data)
  • BI Analysis Authorization "ZBI_EHS" ("*" for authorization objects not relevant for the application)

Authorization objects

Link to the BW Catalog of role

https://drive.google.com/open?id=10GEfKYqrT1eeTO_uHYAheL1GX7L5y_pvH0KQU64qh5I

Dataflow overview


Reporting documentation drive folder:

https://drive.google.com/open?id=0B03hryo6pwqdTUtSSldyOXB0U1k

Functional and Technical rules

Rules & Explanations

Assessments dataflow:

SAP system logs all the changes that are made within the Specification Management (changes on substances properties, compositions…). This flow extracts these changes, from the table EST_CHANGE_DOCS which updated using the program RC1_CHANGE_DOCS_GET.


Zone determination (R1)

General case: the zone is obtained from the characteristics (C_ATWRT) attribute.

Special case: if the modification type is "Delete" and the characteritic value is empty, the zone is obtained from the Value Assignement Type (C_ESTCAT) attribute.


PURE_SUB determination when LIST_SUB inheritance (R2)

Some data are managed at LIST_SUB level and transfer to the PURE_SUB by inheritance link. In that case, the modification recovered in EST_CHANGE_DOCS table is at LIST_SUB level but not at PURE_SUB level. 

 In order to recover the LIST_SUB modifications at PURE_SUB level, the inheritance link are extracted into BW (DSO_EHSG). Each modification at LIST_SUB level is duplicated for each corresponding PURE_SUB. The LIST_SUB specification is kept in infoobject EHS_SPEC and the PURE_SUB specification in infoobject C_SPEC2. The flag "Inherited data" (C_SUBFLG) is filled.


Modification type (R3)

The field "Change Indicator Flag" (C_CHIND) is used to know how the EHS data have been modified: deletion, first load (insert), update, inactivation.

The change indicator field (CHNGIND) in source table EST_CHANGE_DOCS is used to determine a different value in C_CHIND, depending of the other lines on the change document:

 

If records with TABNAM = ESTCAT have CHNGIND = U, and have a record with TABNAM = ESTDU and CHNGIND = I and with same MASTER_RECN, then modification type field = Insert.

If records with TABNAM = ESTCAT have CHNGIND = U, and do not have records with TABNAM = ESTDU with same MASTER_RECN, then modification type field = Update.

If records with TABNAM = ESTDU have CHNGIND = D, then modification type field = Delete.

If we have records with TABNAM = ESTDU, FNAM = ACTVFLG, VALUE_OLD = X and VALUE_NEW is empty, then modification type = Inactivate.

 


Instance ID determination (R3)

The instance ID on the lines concerning changes on characteristics value or usage is not filled in the table EST_CHANGE_DOCS. That is why the instance ID is determined in the extractor from ESTVA table. However, if the instance is deleted, the corresponding record is first flagged as "deleted" in the tables and then is physically removed from ESTVA. In consequence, to be able to retrieve the instance ID when the instance is deleted, we have to find it in the logs concerning ESTVA table changes => this is done by a look up in the propagation layer DSO DPEHS01 where tabname = "ESTVA".


Datasources customer exit:

Legal and Standard Compositions dataflow:


Master Data dataflow:

Characteristic (C_ATWRT):

Attributes: 

C_ATWRT attributes are loading from a flat file.

The file contains 2 informations :

 

The file loading is not scheduled.

Flat files :

Value Assignment Type : 

Characteristic : 

 

Dependencies with other applications

Dependencies with other application (BW, QV, Externals tools like PVelocity or Dynasis etc...

Data loadings

Info providers and objects loaded

Main Process Chains

Process Chain
Code
Type
Frequency
Comments
EHS Daily TransacionalEHS_TRANSACIONALSLAVE
  • launched by RSP_DAILY
  • Daily
  • Sunday night to thursday night, around 7:00am
  • Whole chain lasts around 2h30
  • RCS systems
  • From datasources to cubes
  • EHS Master Data and transactional data, except concerning Reports generation and SDS shipping dataflow
EHS Assessment ReportPC_EHS_ASSESSMENTSLAVE
  • launched by EHS_TRANSACIONAL
  • Daily
  • Saturday at 7:00am
  • Whole chain lasts around 20 minutes
  • RCS system
  • From datasources to DSO
  • Inheritance links (DSO_EHSG), standard and legal compositions to propagation layer and "with SDS" DSO (DBEHS002) and Assessments.

 

EHS Dailly MD AttributesEHS_MASTER_DATASLAVE
  • launched by EHS_TRANSACIONAL
  • Daily
  • Sunday night to thursday night, around 7:00am
  • Whole chain lasts around 2h30
  • RCS systems
  • From datasources to cubes
  • EHS Master Data (0EHS_SPEC, C_OBJEK) and Propagation Layer DSO for EHS KPI from datasource 0EHS_SPEC_ATTR.
  • Infopackage 1CL_OEHS002 FULL lasts 2h!
EHS: TD - D - AdminPC_EHS_ADMIN_01SLAVE
  • launched by EHS_TRANSACIONAL
  • Daily
  • Sunday night to thursday night, around 7:15am
  • Whole chain lasts around 5 minutes
  • RCS systems
  • From Propagation Layer to cubes
  • EHS standard and legal compositions.
EHS Revision DocumentsPC_EHS_REV_DOCSLAVE
  • launched by EHS_TRANSACIONAL
  • Daily
  • Sunday night to thursday night, around 9:30am
  • Whole chain lasts around 5 minutes
  • RCS systems
  • From datasources to cubes
  • EHS revision documents data on PURE_SUB

Loading frequency

Detail of frequency : monthly; weekly or else

Average performance

if possible, give some information on average process chain duration, amount of data loaded and total data volume example: daily process chain loaded in 30 min, weekly chain loaded in 1h15, with around 2k to 10k lines in DELTA mode for a total of 10M lines in cube. The purpose is to give a general overview of the volume of data managed y the application

 

Key FigureEstimation
~ Average Process Chain Runtime 
~ Average nb of rows loaded per load 
~ Total nb of rows loaded (if full) 
~ Average Runtime for 10k lines 

Record Keeping

Give details if any historisation is done, example: keep only data greater than beginning of Y-3

Reporting

Queries End User Documentation

Query end user documentation should be created in the public "Customer Support Wiki" space under the corresponding BW application page : BW - Application. Technical query query documentation, if necessary should be added as a sub-page of this documentation using the BW Technical Query Documentation template.

 

Main queries

List the most important and complex queries only with a link to the documentation

Main functionalities

Give detail on all complex functionalities: list most important and/or complex KPI, query jump, alerts

Broadcast

Indicate if there are broadcasts and give some details on the broadcast settings.

Maintenance

Known bugs

Give the list and explanation on the known, not-solved, bugs.

Recurring procedure

List recurring procedures

Planned Evolution

Detail planned major evolution if already known. Example: complete decommissioning of application is planned in 2017 / Extension to solvay perimeter planned in 2nd semester of 2016