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

EH & S incident accident log

Former Member
0 Likes
401

I am looking to initiate a workflow for BUS1240 (incident/accident log) but it appears that there no standard triggering events. Does anyone have documentation on how to create a new event for this object?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Hi,

when u want specify the types of incident/accident log entries, first it must be distinguished in Customizing the entry for Industrial Hygiene and Safety under Specify Incident/Accident Log Entry Types. After completion of the creation of an entry in the incident/accident log, then it must be assigned for specific type to the creation. The incident/accident log entry type is subject to the authorization check for editing incident/accident log entries. This controls the incident/accident log entries that can be displayed or edited.

may be the following link will be useful for further details -

[http://help.sap.com/erp2005_ehp_04/helpdata/EN/25/c9f8e8e10611d2b4760004ac160be0/frameset.htm]

regards,

mahesh.

Answers (4)

Answers (4)

Former Member
0 Likes

Richard,

For triggering workflow while creating incident accident log or while changing status of the log you need to create a ZBUS1240 with assigning supper object(delegate) as BUS1240. workflow consultant can help you out while creating custom business object. it will have all the method inherited from BUS1240 and only you need to create events in this custom object.

after creation of BO you need to link event through event linkage mechnism available in workflow development.

i have already done this process before ........

Regards

Bhuwan

Former Member
0 Likes

Hi Richard,

You can create an event for the specified object (BUS1240) in transaction SWO1.

Then use this event as the trigger in your BAdI or user exit or any other triggering program.

Cheers!!

Ramesh

Former Member
0 Likes

Hi,

You can use "status switch" to initiate the trigger, for incident status Created, In Process, Conference and Closed can be used as per the requirement.

Last event ie "save"can also be used, but its not recommended as saving the incident n times will triggger a workflow n number of times.

Ideally the status switch is the proven solution for initiating the condition.

Regards,

Keshav

Former Member
0 Likes

Thank you for the response, I figured we would need create a custom triggering event based on status change, I was just hopeful that sap had already created something that amy be available.

Former Member
0 Likes

Thank you for the reply, while very informative, this is not exctly what I was l hoping for. What I am would like to do is to trigger a workflow based on creation and status changes done to the incident accoident log (BUS1240). Most SAP objects have defined triggering events which can be used to start workflows, I do not see any predefined "event type linkages" for BUS1240 in SWETYPV.