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

Notifications while updating Incident and Accident Log Entry

Former Member
0 Likes
518

Dear Experts,

We need to send notifications while updating Incident/Accident Log entry using the transaction code CBIH82. There are no standrad work flow objects or user exists to send notifications.

Can you please suggest any turnarounds to send notifications while updating Incident/Accident Log Entry.

Regards,

Kale

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi Kale,

We have a BADi available to send notifications based on status switch.

"BADI_EHSI_IH_STATUS_SWITCH of enhancement spor EHSI_IH_STATUS_SWITCH_SPOT"

Ask your abaper to activate the BADI and have to write small coding for email templates, at each status switch.

In our last project we used the same BADi to map the business requirement instead of using workflow. It reduces 90% of load on ABAPer. If the standard statuses are not fit to your requirement, you can configure extra statuses in SPRO >> Environment, Health & Safety >> Industrial Hygiene and Safety >> Basic Settings >> Status Management >> Check and extend status profiles.

Keep in mind, Newly configured statuses can be fit in between Inprocess & conference.

You can plan your business process accordingly. we maintained investigation, sign off's in between inprocess & conference statuses.

BADI wouldn't create notification at "Created" statuses. Email notificaitons only starts fromt he status "InProcess".

In the CBI82 transaction, you can maintain the person's in person involved tab. we can use different roles for email triggering in different statuses. Hence you have to configure extra roles in SPRO >> Environment, Health & Safety >> Industrial Hygiene & Safety >> Basic Settings >> Specify Roles for persons.

In HR Master Data, Info type - communication (0105) & Sub type - 0001 (System User Name) & MAIL are mandatory to send email notifications for the persons selected in person involved tab.

By maintaining the above solution with good process knowledge, you can send an email notificaitons at each status to different recepients, same like workflow with less work load and risk.

Regards

kamal

Answers (1)

Answers (1)

rohan_somji
Active Participant
0 Likes

Hi Kale,

            U can go for implicit enhancement. The program name is LCBIH_IA03F01. Co-ordinate with ur abaper. U can trigger mails as soon as incident is generated. Also mailing scenarios can be triggered with the help of status. U need to maintain a Z table with email address.

Thanks & Regards,

Rohan Somji

Former Member
0 Likes

Good Day Rohan,

Thanks for your suggestion. Do you mean to say that we need to write coding in standard include program. Please elaborate.

Regards,

Kale

rohan_somji
Active Participant
0 Likes

Hi Kale,

Yes u need to write specific code based on the Emails scenarios as per ur business requirement on status change.

All the data is available in CCIHS_IALHIOT. You can keep a check on status (CCIHS_IALHIOT-IASTATNAM) and as per your scenario trigger mails.

Thanks & Regards,

Rohan Somji