Skip to Content

How-To: Mass Deletion of Variants

This is a simple how-to on performing a mass deletion of variants for a particular ABAP program.

  1. First, copy the name of the ABAP program you wish to look at
    • If you do not know this, go into the transaction and go to System > Status… and look in the Program field
  2. Next go to SA38 and paste in the program name
    • Note – you can actually get there from the transaction by going to System > Services > Reporting
  3. With the program name in the SA38 field, click on Goto > Variants (F7)
  4. This takes you to the ABAP: Variants – Initial Screen
  5. From here, click on Variants > Catalog
  6. Next click on the button Selection criteria (this will have the standard trash can icon next to it)
  7. On this pop-up, you will be able to select the variants you wish to delete, finally clicking the Delete Variant button
  8. You’ll get one final warning, and once allowing, they will be removed.

Pretty simple, but was very helpful for me post installation and Go-Live where we had hundreds of unused variants to get rid of for particular programs.

4 Comments
You must be Logged on to comment or reply to a post.
      • Thanks Jordan.  Is there anyway you know of a report or a field that could give me the last used date of a given variant?  Now that you’ve shown how to easily delete, I’d like to know how to find unused variants.

         

        Thanks!

        • Oh wow, not sure that is possible – how is the main program being run, by a user or by a background job?

          If by a background job, you could look in table TBTCP at program and variant…but I am currently unaware of a report that would show you if a front end user used a variant or when a variant was last used =/