RequestParameterType Property
The type of the parameter.
Object Oriented Interface
public function getRequestParameterType($requestparameterindex); public function setRequestParameterType($requestparameterindex, $value);
Procedural Interface
inerp_sapclient_get($res, 12 , $requestparameterindex); inerp_sapclient_set($res, 12, $value , $requestparameterindex);
Default Value
0
Remarks
The type of the parameter.
A list of valid parameter types is shown below:
ptCharacters (0) | Character data. |
ptDate (1) | A date in the format YYYYMMDD. |
ptPackedDecimal (2) | Packed decimals are unique to the SAP system, and are treated as binary data by the class. |
ptTime (3) | A time in the format HHMMSS. |
ptBinary (4) | Raw binary data. |
ptTable (5) | Handle to a table in memory. |
ptNumber (6) | Numeric data formatted as a String. |
ptDouble (7) | An 8-byte floating-point number (double). |
ptInteger (8) | A 4-byte integer (int). |
ptShort (9) | A 2-byte integer (short). |
ptByte (10) | A 1-byte integer (byte). |
ptNull (14) | An unsupported data type |
ptStructure (17) | ABAP structure |
ptDecF16 (23) | 754r decimal floating point, 8 bytes |
ptDecF34 (24) | 754r decimal floating point, 16 bytes |
ptXMLData (28) | Null terminated string containing an ABAP structure with XML |
ptString (29) | Null terminated string |
ptXString (30) | Null terminated string with length property in bytes |
Note that the RequestParameterValue property will always contain a string representation of integer or floating point data. The class will convert between this string representation and the actual integer and float data expected by the SAP system.
The size of the array is controlled by the RequestParameterCount property.
This property is not available at design time.
Data Type
Integer