Use Parameters in Expressions of PIC Analysis Query Reports
In addition to constants, parameters can also be passed to expressions in PIC analysis query reports. You can define the parameter values for your PIC analysis query reports either in SAP MII Workbench or in SSCE (Self Service Composition Environment).
In total 32 parameters can be used. The parameter name is predefined as Param.<No.>
. For example, Param.1
.
When passing a parameter to an expression, be sure to enclose the parameter in single quotes plus brackets: '[Parameter Name]'. For example: "EMA_Equipment.EMA_Equipment.Equipment_ID“ = ‘[Param.1]’.
In SAP MII Workbench, create a catalog query in the mode of PICAnalysis.
On the Template categories
tab, double-click PIC Analysis Query Details
.
Define all necessary PIC analysis query details, following the instructions in PIC Analysis Query Details.
When defining expressions, you can use any one of the 32 parameters.
On the Template categories
tab, double-click Parameters
.
A parameters table is displayed.
To test run the PIC analysis query report, define a value for each parameter used.
Save the PIC analysis query report.
In SSCE, in the design dashboard, open a PIC analysis query template.
Choose
(Configure Query Parameters
).
The Configure Query Parameters
window appears.
Choose Add
and then in the Select Parameters
window, select and add Parameters
.
Back in the Configure Query Parameters
window, you can change the PIC analysis query details and parameter values, if necessary.
For more information about using parameters in PIC analysis query reports, see:
SAP MII Workbench: Catalog Query
SSCE: Query Templates