Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Workitem not getting deleted from SAP inbox

Hi ,

I have a scenario in workflows , in which when a user creates a timesheet , a mail goes to approver , when the timesheet is approved the mail should get automatically deleted .

We have created a standard task for this purpose ( a copy of TS31000007) .

The business Object is CATS , terminating event is COMPLETED , method is APPROVE . There is no triggereing event a FM is being used .

The standard task is copied in two test environments , from first system the mail gets automatically deleted , but from the second one it is not getting deleted .

Also the workflow log in SWEL doesnt show any rows in the second system .

In the first system , there are 4 steps in the workflow log :

Dialog work item created

Background process started

terminating event received

work item processing complete

Though the workitem has deleted , but the status of the workflow is in Progress

while the second has only two steps in workflow log

Dialog work item created

Background process started

and the workflow status is "Ready"

I guess the terminating event in the second case is not getting received .

but ,I have checked sweinst and found that the instance linkage is activated .

Also when the workitem is approved , it does not get delete , and if we try to re execute it again , the gives a msg " NO data found "

Can someone help me to find why the mail is stuck in the inbox and correct this problem.



Former Member
Former Member replied

It will be automatically configured once you press execute on SWU3 transaction.

or u can create an RFC destination with name WORKFLOW_LOCAL_XXX where XXX is ur client number. this is done in Tcode SM59 . Usually the config is maintain thru SWU3 only and by someone who has SAP_ALL auth coz it gives WF-BATCH SAP_ALL auth which enables WF to run smoothly.

Hope this helped u !


Anuj Sethi

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question