Dear Experts,
I would like to format values in the UWL as a currency value, but am not able to figure out how to get it as I like.
Values with decimals are not presented very neatly, trailing zeros are left out. A value of 29.55 is presented as 29.55, which is correct, but 29.50 as 29.5 and 29.00 even as 29, which is not the way how it should be.
In the UWL definition, the value is configured like:
<DisplayAttribute name="Amount" referenceBundle="cclcl.fico.attr.Amount" type="double" sortable="yes" format="default" hAlign="RIGHT" vAlign="BASELINE" maxTextWidth="0" headerVisible="yes"/>
I tried “type=double” , “type=string”, “type=int”. The int is not working at all because decimals don’t fit in an int. Double and String give the same results.
I would expect some format option, but formatting is only valid for date/time values, as i read in the documentation.
The container, used in the workflow task, is referring to structure RSEG and Field WRBTR, the initial value is “0,00”. Field WRBTR is of type CURR (13 positions, 2 decimals).
We are running on NW 7.31, for which the UWL documentation can be found at http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4a/fc19b513c90a93e10000000a421937/content.htm?frameset=/en/4a/fc19b513c90a93e10000000a421937/frameset.htm¤t_toc=/en/db/579b66770245a688a227f80be3dff2/plain.htm&node_id=81.
Anyone who can help me out on this one?
Best regards,
Edward