cancel
Showing results for 
Search instead for 
Did you mean: 

Keep workitem in SAP Inbox.

Former Member
0 Kudos

Hi,

Please clarify my doubts. I am creating one approver screen and sending it to approver in activity as work item. When the approver opens the work item and pressing the back button or exit button in the screen, the work item is deleted. Is there any option of keeping the workitem in the Inbox until the approve or reject button is pressed.

Regards

Sathish

Accepted Solutions (1)

Accepted Solutions (1)

martin_nooteboom
Active Contributor
0 Kudos

Hi Satish,

You could evaluate the result of the task to see if one of the buttons has been pressed, if not loop back and put the task in the inbox again.

Another option is let the user confirm he has executed the task by turning on 'Confirm end of processing'.

Regards,

Martin

Former Member
0 Kudos

Thanks. I have used Confirm end of processing and it is working as per my requirement.

Answers (1)

Answers (1)

KKilhavn
Active Contributor
0 Kudos

As I understand what you write you have created the approval screen yourself. Then the best option is to detect that cancel or exit was pressed and then throw the exception for cancelled execution (i.e. call the macro exit_cancelled). I prefer creating the screens in function groups for this purpose, as that makes it easy to pass information back to the calling method.

Side note: I started wondering when the spell checker indicated that I had misspelled cancelled. Why is it that every spell checker insists we all misspell the same way they do in USA? Annoying, is what it is! I want to keep my English English.