Hi Algrace,
Try with AI_SDK_SP_AUTO_CLOSE. I hope this report, You can close the message with the status "In Process By SAP" too,
but SAP's standard practise we are not supposed to close CRM ticket which are in INPROCESS by sap. this lead inconsistency. Even sap provided another report AI_SDK_SP_AUTO_CLOSE_2 which prevent the ticket confirmation when the ticket with SAP Still opens.
All the needed information for how to create this report and usage available in the SAP note 1498458 - AI_SDK_SP_AUTO_CLOSE: Eliminate status inconsistencies and also refer the sap note 1792409.
Thanks
Jansi