Default Values

DefaultValues represents the default values that the parameter can accept.

Note If the parameter type is context, then there is no default value, and DefaultValues is not required.
One Column

DefaultValues is structured as follows if the parameter accepts values of only one column:

<values>
    <value id="string" path="[[0|1|2,\ second_level_value],[0|1|2,\ third_level_value],[...]]">
    ...

The following table describes the <value> attributes:

Attribute Type or Value Description
id string The value identifier. It is used if the parameter is of context type or if the values are indexed either from the SAP system or from index awareness.
path [0|1|2,\ value] Optional. In the case of hierarchical parameters, specifies the values and types of the hierarchy, starting with the second level.

The syntax [0|1|2,\ value] describes the data type and the data value of a level.

  • 0 represents a string
  • 1 represents a date
  • 2 represents a number
Multiple Columns

DefaultValues is structured as follows if the parameter accepts values of multiple columns:

<cvalues>
    <cvalue id="string" final="Boolean">
        <column id="integer" type="String|Date|Numeric">
        ...

<cvalue> defines the values of multiple columns. The following table describes its attributes:

Attribute Type or Value Description
id string The value identifier. It is used if the values are indexed either from the SAP system or from index awareness.
final Boolean Attribute specific to hierarchical parameters that defines if the parameter is used to answer a value for a node (final="false") or a leaf (final="true") in the hierarchy

<column> defines the value mapped to a column. The following table describes its attributes:

Attribute Type or Value Description
id integer The column identifier. The web service generates it automatically.
type String|Date|Numeric The column type. Is optional.