Hi *,
I'm implementing a workflow with an ABAP OO class and I'm trying to include the exception class 'cx_bo_action_cancelled' to keep my workitem in the Inbox when the user presses 'cancel' in a dialog task.
First I created a function module that raises the exception cx_bo_action_cancelled
with <b>'raise exception type CX_BO_ACTION_CANCELLED.'</b> .
In my workflow class I implemented the following method with the exception cx_bo_action_cancelled :
<i>method select_user.
...
try.
call function 'Z_SELECT_USER'
importing
ex_bname = lv_bname
exceptions
cx_bo_action_cancelled = 1
others = 2.
catch cx_bo_action_cancelled.
endtry.
...
endmethod.</i>
When I press the 'cancel'-button the workflow just continues and does not raise any exception?
What do I have to do to make it work?
Thanks for your help.
Regards,
Georg