on 08-02-2017 11:13 AM
Hello Gurus,
I've implemented a custom workitem with a dynpro in my workflow. The workitem is a decision but the user also has the possibility to resume work later so the button BACK on the dynpro is active. Now, the framework sets my workitem to completed after the screen has been left. I'm working with abap oo.
I have been searching for some hours how to let the workflow know that the workitem must remain in the inbox but I couldn't find any concrete answer. Please help.
Regards,
Ioan
You need to catch the back event and raise exception CX_BO_CANCELLED. This will leave the WI in STARTED status in the inbox.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good, another donation to Doctors without Borders 🙂
Hi
Why not using the confim the end of process flag ?
On the other end it means that the user always have to go back to the inbox to confirm the end of the workitem.
Cheers
Stephane
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ioan,
Can you explain how your dynpro is integrated within a decision workitem ?
Are you using the method to open a new SAP Mode or using the workitem display ?
When does your work item complete ? When you open the application or when you press the back button ?
An alternative could be to have your decision step within a loop and until you do have a value in your container you create another work item.
That could work, of course it is not the same work item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
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.