on 08-10-2012 3:14 PM
hi there,
i have a strange system behaviour in ess travel management:
when i enter an travel request the BO BUS2089 event RequestCreated is triggered.
when i enter an travel expense report also BO BUS2089 event RequestCreated is triggered.
but i expect the BO BUS2089 event Created to be triggered.
i have compared it to another system i have access to. there it works fine.
any ideas what is wrong here ? the problem there is that the wrong workflow is starting when creating an travel expense report.
br
That does sound pretty spooky. Try the following for an analyzing approach:
Go to Include FITP_WORKFLOW.
Form trigger_workflow.
Externally debug it once for travel request and once for expense report. Especially the following coding part:
IF sw_deleted <> 'X'.
CASE statu-abrec.
WHEN '0'.
* begin WBGK024026;
CASE statu-antrg.
WHEN '5'. event = 'RequestWaits'. "#EC NOTEXT
WHEN '6'. event = 'ExpenseWaits'. "#EC NOTEXT
ENDCASE.
* end WBGK024026;
WHEN '1'.
CASE statu-antrg.
* WHEN '1'. EVENT = 'Requested'. "#EC NOTEXT "WBGK024026
WHEN '1'. event = 'RequestCreated'. "#EC NOTEXT "WBGK024026
WHEN '2'. event = 'RequestApproved'. "#EC NOTEXT
WHEN '3'. event = 'Created'. "#EC NOTEXT
WHEN '4'. event = 'Approved'. "#EC NOTEXT
* begin WBGPLN;
WHEN '5'. event = 'RequestWaits'. "#EC NOTEXT
WHEN '6'. event = 'ExpenseWaits'. "#EC NOTEXT
* end WBGPLN;
ENDCASE.
Cheers, Lukas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.