on 11-08-2016 7:02 AM
I developed one travel expense workflow . When the expense is created by the user it triggers the workflow twice. I check the event trace, it displays the workflow with same event BO BUS2089 - Method : CREATED but twice with the time gap of around 10 seconds.
hi,
How you link your workflow with event. The most common problem is, maintain in SWEC as well as in SWEHR1, SWEHR2 and SWEHR3.
You have find linkage why two times event get created. Then deactivate any one event linkage.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The workflow is doing the right thing...You just need to find out why two events are being raised..
Are the events raised programatically? Set breakpoints in function modules SWE_EVENT_CREATE and SAP_WAPI_CREATE_EVENT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are any dynamic actions triggered for this employee? In any case you either find out why this is happening twice and surpress one of these events. Or you create a condition or check function module to prevent the second event-->wf from happening.
Kind regards, Rob Dielemans
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check SWE2 whether two workflows linked with same BO.
And check in SWEC whether same event (here CREATED ) is maintained twice or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.