I was wondering if there is a way of deleting the Workflow mails which are moved into the "Work Items executed by me" link under the Outbox folder in SAP Business Workplace.
They're not mail, they're a record of workitems that were executed by you. Why would you want to "delete" them?
Its just that with time my "workflows executed by me"outbox is going up and as i have already worked on those jobs thus wanted to clear them.
Using this FM 'SAP_WAPI_WORKITEM_DELETE' to Delete mail from business workplace.
WORKITEM_ID = 'pass parent work item id'.
Pass above mentioned input to this FM and Execute.then Press refers button in Business work place. then Mail go off from your SAP Business Workplace.
I don't see any reason why the outbox should be empty. The users should be interested about the inbox and complete the tasks from there. Sometimes they might have a need to check the outbox (for example to see some details of a task that they have completed).
Also, the outbox shows only the items from last 90 days, so it will not include ALL items from the history.
Also, I don't think that SAP_WAPI_WORKITEM_DELETE will work. The items are already completed and thus cannot be logically deleted. Or maybe they can, but that doesn't make much sense.
SO16 and then goto 'Document Org'.
Deleting workflows is not the option to choose for this purpose. The user is obviously confused with outlook express 'sent Items' with sap workflow outbox. both are for different purposes and let the use know that its a report. In production systems, only archiving is recommended if you want to clear the items.