Page 1 of 1

Canceling a workflow step so it remains in the user inbox

PostPosted: Wed Nov 14, 2012 4:09 am
by DeathAndPain
Hello everyone,

so in my workflow I defined a task that calls a BOR-method that calls a FM that does some user dialogue. Several outcomes of that dialogue are possible. However, it is also possible that the user wants to cancel the dialogue and do it at a later time. In this case, no exit of the workflow step is called for; I need the task (workflow step) to remain sitting in the user's inbox so he can start it again. How do I achieve that?

The generic "approval" step that comes with SAP offers this, but I wonder how I can achieve the same with a custom task-step. It appears to be implemented in the step itself; no workflow logic is required to do it.

Re: Canceling a workflow step so it remains in the user inbox

PostPosted: Tue Dec 04, 2012 8:47 am
by DeathAndPain
I finally managed to find the answer myself.

In the method of the BOR-object that calls the FM you need to call the macro EXIT_CANCELLED.

Thanks for nothing :(