SapColumn Type
A column in an internal table.
Remarks
An internal table is made up of rows and columns. Table definitions including the number and type of
the columns in the table, are retrieved from the R/3 server by the SapClient component. This means
that the Name, Length, and ColumnType cannot be edited manually. Only the Value may be
changed.
Fields
|
|
ColumnType int |
The type of the column.
A list of valid column types is shown below:
| | ctCharacters (0) | Character data. | ctDate (1) | A date in the format YYYYMMDD. | ctPackedDecimal (2) | Packed decimals are unique to the SAP system, and are treated as binary data by the
component. | ctTime (3) | A time in the format HHMMSS. | ctBinary (4) | Raw binary data. | ctTable (5) | Handle to a table in memory. | ctNumber (6) | Numeric data formatted as a String. | ctDouble (7) | An 8-byte floating-point number (double). | ctInteger (8) | A 4-byte integer (int). | ctShort (9) | A 2-byte integer (short). | ctByte (10) | A 1-byte integer (byte). | ctNull (14) | An unsupported data type | ctStructure (17) | ABAP structure | ctDecF16 (23) | 754r decimal floating point, 8 bytes | ctDecF34 (24) | 754r decimal floating point, 16 bytes | ctXMLData (28) | Null terminated string containing an ABAP structure with XML | ctString (29) | Null terminated string | ctXString (30) | Null terminated string with length field in bytes |
Note that the Value field will always contain a string representation of integer or floating point data. The
component will convert between this string representation and the actual integer and float data expected by the SAP
system.
|
Length int |
The maximum length of the data stored in Value
|
Name String |
The name of the column.
|
TableIndex int |
This should be set if the ColumnType is set to ctTable. The value specified here should be the TableIndex of the table you want to pass as a parameter.
Note that this field does not apply when using SapReadTable
|
Value String |
This is the actual data contained in the column.
|
ValueB byte [] |
This is the actual data contained in the column.
|
Constructors
public SapColumn();