Hi
If IDOC is generated and run into error, you can use bd87 or we02 to reprocess the IDOC but make sure source of error is fixed.
If IDOC is not yet generated, reprocess depends on how IDOC is generated and what is payment program. For eg - If payment program is RFFOEDI1 or custom version of this, you can rerun the program, or rerun from F110 also possible. If status Reguh status dont allow rerun, you need to reset the status for eg with program RFFOEDI2.