iCommand Events and Methods
The SAP Manufacturing Integration and Intelligence (SAP MII) iCommand applet only supports the CreationEvent
applet parameter that permits JavaScript functions to be linked to the creation of the applet object on the Web page.
You can use scripting methods to return information from a command.
The following table lists common methods to use with iCommand and i5Command. All column and row numbers for described iCommand start at one and for i5Command start at 0.
Method | Use |
|---|---|
| Executes the command associated with the query template. It returns True if successful and False if an error occurs. |
| Returns a string that describes the last error associated with a call to the |
| Returns the number of columns returned by the query. |
| Returns the number of rows returned by the query. Use the |
| Returns the number of rows for the specified column. |
| Returns the number of rows for the specified column name. |
| Returns the column number for the specified column name. |
| Returns the column name for the specified column number. |
| Returns the value for the specified column and row numbers as a string. |
| Returns the value for the specified column name and row number as a string. |
| Returns the first row value for the specified column name as a string. |
| Returns the data type as an integer for the specified column number. |
| Returns the metadata section description of the query result set for the specified column number. |