When CLEAR itab references an internal table itab with a header line, it only resets the sub-fields in the header entry to their initial values. The individual table entries remain unchanged.
To delete the entire internal table together with all its entries, you can use CLEAR itab[] or REFRESH itab.
To delete the entire internal table together with all its entries, you can use CLEAR itab[] or REFRESH itab.