The ItFree routine empties a table; it deletes all rows from a table, and frees the memory allocated for these rows. The syntax is:
int SAP_API ItFree(ITAB_H itab);
ItFree does not destroy the table itself, however, since the itab control structure still exists after the call. Still, the table handle remains valid. You can add new lines to the table after using ItFree.
The corresponding ABAP operation is Free...
This function is defined in SAPITAB.H.
See also ItCreate and ItDelete.