QueryFieldType Property
The ABAP type of query result property.
Syntax
int GetQueryFieldType(int iQueryFieldIndex);
Possible Values
QT_CHARACTERS(0), QT_DATE(1), QT_PACKED_DECIMAL(2), QT_TIME(3), QT_BINARY(4), QT_TABLE(5), QT_NUMBER(6), QT_FLOAT(7), QT_INTEGER(8), QT_SHORT(9), QT_BYTE(10), QT_NULL(14), QT_STRUCTURE(17), QT_DEC_F16(23), QT_DEC_F34(24), QT_XMLDATA(28), QT_STRING(29), QT_XSTRING(30)
Default Value
0
Remarks
The ABAP type of query result property. The valid values are as follows:
qtCharacters (0) | Character data. |
qtDate (1) | A date in the format YYYYMMDD. |
qtPackedDecimal (2) | Packed decimals are unique to the SAP system, and are treated as binary data by the class. |
qtTime (3) | A time in the format HHMMSS. |
qtBinary (4) | Raw binary data. |
qtTable (5) | Handle to a table in memory. |
qtNumber (6) | Numeric data formatted as a String. |
qtDouble (7) | An 8-byte floating-point number (double). |
qtInteger (8) | A 4-byte integer (int). |
qtShort (9) | A 2-byte integer (short). |
qtByte (10) | A 1-byte integer (byte). |
qtNull (14) | An unsupported data type |
qtStructure (17) | ABAP structure |
qtDecF16 (23) | 754r decimal floating point, 8 bytes |
qtDecF34 (24) | 754r decimal floating point, 16 bytes |
qtXMLData (28) | Null terminated string containing an ABAP structure with XML |
qtString (29) | Null terminated string |
qtXString (30) | Null terminated string with length property in bytes |
The size of the array is controlled by the QueryFieldCount property.
This property is read-only and not available at design time.
Data Type
Integer