on ‎2009 Jul 07 10:59 PM
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?
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.