cancel
Showing results for 
Search instead for 
Did you mean: 

EHS - Risk Assessment and Incident Report Doubts

himanshu_mittal
Explorer
0 Kudos
492

Hi Community,

I am working on a Client requirement and need to show some fields from a EHS incident pages and having troubles finding the tables for the following red marked fields:

And the Incident Report as well

Kindly suggest.

Regards,

Himanshu Mittal

Accepted Solutions (0)

Answers (3)

Answers (3)

michaelf_
Product and Topic Expert
Product and Topic Expert

Dear Himanshu,

in EHS it's important to mention that a direct table level access is against the coding conventions. Therefore, you should use the BOPF and ENA service managers to read the comment you highlighted on the screenshot.

Please use transaction BOBX to have a look at the data model. The business object you have to look for is EHHSS_INCIDENT. There's a node available which is called ROOT_CAUSE. Within that node, the technical code of the root cause, the description and the comment text are stored. As a matter of fact, the comment (which is a longtext = string) is retrieved automatically whenever you load the node itself. The same approach applies if you change the comment - it is automatically updated (via determinations).

There are many programs which read data from the incident business object using proper BOPF / ENA logic, for example the data provider classes for the print forms. Therefore, I would kindly ask you to have a look at one of those classes and try to avoid direct table access especially to database tables which are a part of a delegated business object such as the text collection.

With kind regards,

Michael

0 Kudos

Hi Himanshu,

The starting point to work on EHSM is to get understanding on the FPM & BOPF and the relevant Business object. Follow below steps:

1. Right click on the UI element and go for the "Technical Help" to identify the UIBB and the BO, BO node linked to it.

2. Once you identify the BO then go to the BOBX transaction to locate the node and then the field name.

Cheers

Sagar Pilli

mzahid0071
Participant
0 Kudos

Dear ,

Can you please find the below table - were all the comments are stored -

/BOBF/D_TXCCON