cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP EHS Safety Issue iPhone app doesn't create Safety Observation

Former Member
0 Likes
266

Hello!

I'm currently working on configuring the SAP EHS Safety Issue app for iPhone as part of our SAP EHSM implementation. The app is currently connecting to our system through NW Gateway and SMP 3.0.

We've been able to log in and retrieve Safety Observations that we have created on NWBC. However, we're unable to create a Safety Observation by submitting through the app.

When we submit a Safety Issue, the application responds with a successful message saying: Created - Safety Issue created. But when we look on NetWeaver Business Client under Safety Observations, they don't appear on the list.

We've verified that the model class is being called by setting up a breakpoint, so we know that the call is getting to the backend. But I have no idea what happens after that.

Can anyone provide some technical information around the process of creating a Safety Observation from a submitted Safety Issue? Anyone knows which ABAP class is responsible on creating the Safety Observation?

Has someone has a similar experience implementing this app?

Thanks for your help!

-Omar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

For anyone interested, I found the issue:

It was the timezone. I had forgotten to add the configuration for the GMT timezone to the SAP system.

Additionally, if you would like to debug any issues that don't show on the log, you need to debug class:

  • /EHSMM01/CL_LWM_SAFETY_OBS_DPC


This class is called when submitting a Safety Observation. On the create safety observation method, there's a chunk of logic that checks for error message and then checks:


if error_msg is not initial then return;


So you don't really know what error message you're getting unless you debug the method.



Good luck!

Former Member
0 Likes

are you referring to my user or the system?

Answers (0)