In this blog I will take a look on a situation where there is an error during payment file creation after the final approver has approved a payment batch in Bank Communication Management. When such an error occurs, usually there is this kind of message in transaction BNK_MONI:
The error can be investigated further in SM37 transaction where you should find a job in the status “cancelled”.
In our case the problem is in missing authorizations to folder where the payment medium should be stored.
Of course this error needs to be corrected by granting authorizations to the user who is executing the payment approval and thus creating payment file. The problem is that even after it has been corrected, the status in BNK_MONI remains as “Error in payment medium creation”. To fix this error, two steps need to be executed.
- Run the report RBNK_BATCH_REPEAT_SAPFPAYM – this report recreates the original job for payment medium creation with same parameters. It is also possible to delete old job data.
File date and file ID can be found in BNK_MONI. After the execution a new job has been created.
2. Next step is to run the report RBNK_BATCH_RETRY_FILE_CREATION. This report sets the correct status in BNK_MONI. We need to enter correct batch number.
With this procedure the status is correctly updated and further processing is possible (import of status messages from the bank).