Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SDK: FormatString not set in Datasource (data.dimensions[].members[].formatString)


i have a SDK component which uses the format strings passed by the data source to format the values.

To format the values, i use the following (prosa)code:

var formatString = datasource.dimensions[].members[].formatString;

var formattedValue = sap.common.globalization.NumericFormatManager.format(value, formatString);

The problem is, that sometimes the formatString is not set although the same measure is used.

FormatString is set:

FormatString is not set:

In BO DS 1.5 decimal places are set as shown here:

Is this a bug or does someone has an idea how to fix it?

Thx a lot.

Former Member
Not what you were looking for? View more on this topic or Ask a question