Skip to Content

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



In EVM status we have large No of unprocessed and invalid messages. Can you provide me the best practice for deleting this messages .Also can there be automation done whereby a) if messages fail, they would be deleted from system automatically  b) reprocessing of failed EVM

Former Member
Former Member replied

Hello Dipak,

A) There is no standard utility available to automatically delete failed event messages. But there are archiving programs available which you can schedule as

background job based on Event Dates to delete unprocessed and/or failed

event messages. Follow this two programs to first archive and subsequent

delete those entries

1) /SAPTRX/ARCHIVE_EVM_WRITE - Provide Event dates as selection to

run this program faster

2) /SAPTRX/ARCHIVE_EVM_DELETE - Select in production mode

B) There is no standard utility available to reprocess the failed EVM.

You will have to create custom utility to find Failed EVM records and change

necessary information and then reprocess events for /SAPTRX/BAPI_EH_ADDEVENTMSG_02.

Hope this explain. Please do let me know if more information is required.


Kinjal Rathod

0 View this answer in context

Helpful Answer

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