How To Fix BA058 - Maintain the variants for the deletion program first


BA058 - Overview

  • Message type: E = Error

  • Message class: BA - Data Archiving

  • Message number: 058

  • Message text: Maintain the variants for the deletion program first

  • Show details Hide details
  • What causes this issue?

    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 maintained
    variants for the delete program in both test and production modes in
    the Customizing settings. You must also ensure that these variants
    actually exist.
    If the delete program is to be triggered automatically by the write
    program, you must have maintained the variants for the delete program.

    How to fix this error?

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

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message BA058 - Maintain the variants for the deletion program first ?
    The SAP error message BA058, which states "Maintain the variants for the deletion program first," typically occurs when you are trying to execute a deletion program (such as for deleting old data or archiving) without having set up the necessary variants for that program. This is a common issue in SAP systems when dealing with data management tasks.
    
    Cause: The error arises because the deletion program requires specific parameters to be defined in a variant before it can be executed. Variants in SAP are used to store predefined values for selection screens, allowing users to run reports or programs with specific criteria without having to enter them each time.
    Solution: To resolve this error, you need to create and maintain the necessary variants for the deletion program. Here are the steps to do this: Access the Deletion Program: Go to the transaction code associated with the deletion program you are trying to run. This could be

    Already have an account? Login here!




Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author