Hi,
If you want to trigger SYSTAT01 , you may have to write code in the workflow method using MASTER_IDOC_DISTRIBUTE by trapping the success/error event configured in the Process Code.
If you are using middleware, you can give it a thought of using ALEAUD Message. The reason is that there is a standard program ( RBDSTATE T code : BDM8 ) available which will do the job for you. No coding required.
You can schedule this program using standard variant SAP_AUDIT_SEND periodically. Only thing you have to do is to set up the partner profile.
R