on 2018 Feb 20 5:45 PM
Hello,
I have created a FIORI list report using the ODATA service generated by HANA CDS views. The amount field displays three decimals though the back end field is packed(15,2). I believe this has to do with the way CDS Entity exposures are created via SADL framework.
The framework sets the amount field as Edm.Decimal with precision and scale(16,3). since this is SADL generated entity type I'm unable to change the precision and scale.
Please advise on how we can display amount field in the same format as in backend.
Thank You,
Kabir
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
I was able to fix this problem by setting the property of the amount field in the MPC_EXT class DEFINE method using the set_precision method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
30 | |
9 | |
9 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.