SAP Message BA058 - Maintain the variants for the deletion program first

Diagnosis
No variants have been maintained for the delete program. Consequently,the delete program cannot be run.

System Response
It is only possible to run the delete program if you have maintainedvariants for the delete program in both test and production modes inthe Customizing settings. You must also ensure that these variantsactually exist.
If the delete program is to be triggered automatically by the writeprogram, you must have maintained the variants for the delete program.

Procedure
Create a test mode variant and a production variant for the deleteprogram in the archive object and maintain the Customizing settings forthe archiving object.
In transaction AOBJ, select the relevant archiving object andchoose: Customizing Settings -> Delete Program Settings:Test Mode/Production Mode.
Or in transaction SARA choose: Customizing ->Archiving Object-Specific Customizing: Technical Settings)