This website is not affiliated with, sponsored by, or approved by SAP AG.

Canceling a workflow step so it remains in the user inbox

Business WorkFlow

Moderators: Snowy, thx4allthefish

Canceling a workflow step so it remains in the user inbox

Postby DeathAndPain » Wed Nov 14, 2012 4:09 am

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.
Image
DeathAndPain
 
Posts: 85
Joined: Wed Oct 06, 2004 12:49 am

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

Postby DeathAndPain » Tue Dec 04, 2012 8:47 am

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 :(
Image
DeathAndPain
 
Posts: 85
Joined: Wed Oct 06, 2004 12:49 am


Return to Business WorkFlow

Who is online

Users browsing this forum: No registered users and 1 guest





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.