Hi Justin,
I suggest to use LSMW (Legacy System Migration Workbench). You can record a transaction (e.g. RSECADMIN) and process particular screens. You can make particular fields variable which can be connected to a flat file.
It can work very efficiently for repetitive actions like deletions.
Best regards,
Sander