To delete a row from an internal table, use:
int SAP_API ItDelLine(ITAB_H itab, unsigned line);
The corresponding ABAP operation is
Delete...This function is defined in SAPITAB.H.
Return Values:
row does not exist
other error (no space available for index, etc.)
Function Parameters:
handle of an internal table
rom number of the line to be deleted