QueryField Type
The fields returned by GetQueryInfo.
Remarks
After GetQueryInfo is called the following fields will be populated:
Fields
|
|
Decimals int |
The decimal value of query result field.
|
Description String |
The description of query result field.
|
Length int |
The length of the data in the query result field.
|
Name String |
The name of query result field.
|
QueryFieldType int |
The ABAP type of query result field. 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
component. | 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 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.
|
Constructors
public QueryField();
public QueryField(String name, int queryFieldType, int decimals, int length, String description);