The function sets two time parameters of the report given by the reference variable refId.
Note
The report parameters can be also defined by right-clicking the report and select the item Parameters.In the displayed dialog box set required values and click the button OK.