This page is not a part of an official Int4 documentation.
Knowledge Articles

Remove Test Cases above 10Mb from a specific folder using /INT4/IFTT_DEL Report

How to Remove Test Cases Above 10 MB from a Specific Folder Using the Del Report

Overview

Over time, the test case repository in Int4 Suite can accumulate large payloads that over the course of the time might be no longer used. This guide walks you through a targeted cleanup: identifying test cases with payloads above 10 MB for a specific test type and folder, and deleting only those older than 365 days using the Int4 Deletion report.

The procedure has two parts. First, you query the payload size table in SE16 to collect the IDs of oversized test cases. Then you feed those IDs into the Deletion report, scoped to a single folder and interface type, and execute the deletion safely.

At the end of this guide you will have:

  • A list of test case IDs with payloads larger than 10 MB

  • A controlled deletion of only those IDs, limited to one folder and one interface type

  • Confirmation that test cases older than 365 days have been removed without touching unrelated folders


Prerequisites

Before you start, make sure:

  • You have access to the SAP backend where Int4 Suite is installed

  • You have authorization to run transaction SE16 and to execute the Int4 Deletion report

  • You know the folder (scenario) ID you want to clean up, including any subfolders it covers

  • You know the test type (in this example: PI unit test)

  • You have a backup or you are certain the test cases targeted for deletion are no longer needed

⚠️ Important: This is a destructive operation. Always scope it tightly using the folder ID, interface type, age filter, and the explicit list of test case IDs. Never run the Del report without these guardrails.


Step-by-step instructions

Get familiar with the test case deletion report: https://help.int4.com/int4-suite-knowledge-center-library/3.15/test-case-deletion-report


1. Define the cleanup goal

The goal is to delete every test case that meets all of these criteria:

  • Belongs to a specific test type (in this example: PI unit test)

  • Has a payload size above 10 MB

  • Is older than 365 days

  • Sits inside a specific folder (and its subfolders)

You will collect the test case IDs first, then apply them with the rest of the filters in the Del report.

2. Open the payload size table in SE16

  1. Run transaction SE16.

  2. Open the table /INT4/IFTT_TCDAT. This table stores the payload size for every test case in Int4 Suite.

3. Filter the table by file size above 10 MB

  1. In the File Size field, enter the equivalent of 10 MB in bytes: 10000000.

  2. In the selection criteria for that field, choose Greater than (>).

  3. Run the selection.

The result is the list of all test case IDs whose payload exceeds 10 MB.

💡 Tip: The file size field expects bytes, not megabytes. Always convert before entering the value.

4. Copy the resulting test case IDs

  1. From the result list, copy the test case IDs of all rows returned.

    dc1bf6e9239c42279abacb2f0aada22c?workflows_screenshot=true
  2. Keep them on hand - you will paste them into the Del report in the next step.

5. Open the Int4 Del report

  1. Run the Int4 deletion report: /N/INT4/IFTT_DEL

  2. The Deletion report is the controlled way to remove unwanted payloads from Int4 Suite.

6. Set the scenario (folder) ID

  1. Enter the Scenario ID of the main folder you want to clean.

  2. This ID covers the main folder and all subfolders below it.

This single field is the most important guardrail in the entire procedure: providing it prevents accidental deletion of test cases in unrelated folders. You can use this to clean up everything related to a specific project while leaving other projects untouched.

⚠️ Important: Never leave the scenario ID empty. Without it, the report can target test cases across all folders.

7. Provide the interface (test) type

  1. Set the Interface Type field to the test type you want to target.

  2. In this example, choose PI unit test.

8. Keep the age filter at 365 days

  1. Leave the Delete test cases older than option set to 365 days.

  2. This ensures recent test cases stay protected even if their IDs are included in the input list.

9. Paste the test case IDs collected in step 4

  1. In the Test Case IDs input field, paste the list of IDs you copied from /INT4/IFTT_TCDAT.

  2. This narrows the deletion to only the oversized test cases identified earlier.

    b1489b6edfee4aea98c2d891f737fc0f?workflows_screenshot=true

10. Confirm the test run flag is disabled

  1. Locate the Test Run flag on the selection screen.

  2. Make sure it is disabled (unchecked).

When the test run flag is enabled, the report runs in simulation mode and nothing is actually deleted. To perform the real deletion, this flag must be off.

💡 Tip: Run once with the test run flag enabled first to preview which test cases will be affected. Then disable the flag and re-run to perform the actual deletion.

11. Execute the report

  1. Click Execute.

  2. Review the list of test cases the report displays - these are the ones that will be deleted.

  3. Confirm the deletion.

The Deletion report now removes only the test cases that match every filter: the right folder, the right test type, older than 365 days, and explicitly listed by ID.


Troubleshooting

Issue

Likely cause

Resolution

Deletion report deletes nothing

Test Run flag is still enabled

Disable the flag and re-execute

Deletion report shows test cases from unexpected folders

Scenario ID is empty or wrong

Set the correct main folder ID before executing

Recent test cases appear in the result

Age filter changed or cleared

Reset Delete test cases older than to 365 days

  • Execute the search to display the list of test cases whose payloads are above 10 MB.