Solution : https://service.sap.com/sap/support/notes/133943 (SAP Service marketplace login required)
Key words :
additional key words rswwwide, archiving object workitem, archiving class workitem, work item manager, function module swl_wi_notes_delete, function module sww_wi_delete_s, function module, commit work, attachment exists, update termination