Start of Content Area

ItFree  Locate the document in its SAP Library structure

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.

Return Values:

Function Parameter:

handle of an internal table

See also ItCreate and ItDelete.