The ItPutLine routine copies the source onto the line ‘line’ of an internal table. The syntax is:

int SAP_API ItPutLine(ITAB_H itab, unsigned line, void* src)

The corresponding ABAP operation is Modify... Index...

This function is defined in SAPITAB.H.

Return Values:

  • returns 0, if successful
  • returns -1 if an error occurred

Function Parameters:

  • itab

handle of an internal table

  • line

row number onto which ‘src’ is copied

  • src

pointer to source, source is copied in the length of a table row

See also ItGetLine, ItCpyLine and ItGupLine.