Example: Negative Number Module
Definition
The Negative Number module (com.sap.ip.bi.rig.NegativeNumber) depicts negative numbers in a column or entire table in red. Other types of formatting are not currently supported.
The technical name of the implementation is com.sap.ip.bi.rig.NegativeNumber.
Example
<bi:ANALYSIS_ITEM name="ANALYSIS_ITEM_1" designwidth="400" designheight="200" >
<bi:DATA_PROVIDER_REF value="DP_1" />
<bi:MODIFICATION type="CHOICE" value="MOD_SINGLE_MODULE" >
<bi:MOD_SINGLE_MODULE type="COMPOSITE" >
<bi:ACTIVE value="X" />
<bi:MOD_SELECT type="CHOICE" value="MOD_GENERIC_MODULE" >
<bi:MOD_GENERIC_MODULE type="COMPOSITE" >
<bi:MOD_REFERENCE value="com.sap.ip.bi.rig.NegativeNumber" />
</bi:MOD_GENERIC_MODULE>
</bi:MOD_SELECT>
</bi:MOD_SINGLE_MODULE>
</bi:MODIFICATION>
</bi:ANALYSIS_ITEM>
The following section describes the various options offered in this module. The options are specified as parameters in the parameter list (MOD_PARAMETER_LIST). A parameter consists of a Name/Expression (MOD_PARAM_NAME), Value (MOD_PARAM_VALUE) and Placeholder List(MOD_PLACEHOLDER_LIST). If you do not specify the Placeholder List parameter, you can ignore this parameter.
Column (Optional)
If no columns are specified, the negative numbers are formatted in all columns.
| Parameter | Value | Description |
|---|---|---|
|
Name/Expression (MOD_PARAM_NAME) |
COLUMN |
With this parameter you can specify the column whose negative numbers are formatted. The Set Column Width Module module describes the possible options for specifying a column as a parameter. |
|
Value (MOD_PARAM_VALUE) |
Boolean |
Active |
Example for formatted negative numbers in the column with index 3
<bi:MOD_PARAM_NAME value="COLUMN" />
<bi:MOD_PARAM_VALUE type="CHOICE" value="BOOLEAN" >
<bi:BOOLEAN value="X" />
</bi:MOD_PARAM_VALUE>
<bi:MOD_PLACEHOLDER_LIST type="ORDEREDLIST" >
<bi:MOD_PARAM_VALUE type="CHOICE" index="1" value="INTEGER" >
<bi:INTEGER value="3" />
</bi:MOD_PARAM_VALUE>
</bi:MOD_PLACEHOLDER_LIST>