RfcRows

This object represents the rows of a table.

See Using Tables for more information

Properties

Name Type Description
Item[index] RfcField [] Access an existing row of the table by (numeric) index. Use AddRow or AddRows to append rows
Type RfcType type of the table
FileMode bool True if file mode is set
DataCol integer If in file mode, contains the index of the data column
IndexCol integer If in file mode, this field contains the index of the index column (if any)

Methods

Method AddRow

Parameter Type Description
Return Value RfcField [] the newly created row

Add a single row to the table

Method AddRows

Parameter Type Description
count integer number of rows to add

Add count rows to the table

Method SetFileMode

Parameter Type Description
dataCol integer index of the column where the file data should be stored (mandatory)
indexCol integer index of the column where the index (autoincrement) should be stored (optional, default 0=no index)

Enable FileMode for this table

Method RemoveAll

Remove all rows from this table