on 03-23-2018 10:57 AM
Dear SAP colleagues,
in Lumira Designer we are using a query with a percentage figure, which is defined as follows in Query Desiger:
In the CROSSTAB "%" is displayed correctly in the Header as a unit of measure:
Now we access the same query in a custom SDK component, in which we consume the datasource as follows:
<property id="data" title="Data Selection" type="ResultSet" group="DataBinding"> <option name="maxCells" value="10000000"/> <option name="fillMetadataProperty" value="false"/> <option name="includeMetadata" value="true"/> <option name="includeConditionalFormats" value="true"/> <option name="includeFormattedData" value="true"/> <option name="includeAttributes" value="true"/> </Property>
The JSON that we receive correctly contains the unit of Measure for the quantity keyfigures:
{"key":"DQUFLH2ROED2UIQM2MREH9CIV","text":"Fakturierte Menge","scalingFactor":0,"unitOfMeasure":"ST","formatString":"#.##0,0000\\ \\S\\T;'-'#.##0,0000\\ \\S\\T"}
For the calculated % keyfigure, the unit is empty, though:
{"key":"DQUFLH2ROECB5WEUR3BSETY93","text":"Selektion 2","scalingFactor":0,"formatString":"#.##0,0\\ \\%;'-'#.##0,0\\ \\%"}
Is there any reason for this? To me, it Looks like a bug?
Thanks for your input!
Thilo
If you are using includeFormattedData option, then the UoM should come over and it is in the Stück case. You might want to open an OSS message, because that UoM should be coming over.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.