on 2022 Nov 24 9:02 AM
Hello,
I have created a FIORI list report using the ODATA service generated by ABAP CDS views.
I have created that list report using VS code.
The amount field displays three decimals though the back end field is packed(15,2).
The framework sets the amount field as Edm.Decimal with precision and scale(16,3). since this is SADL generated entity type, I cannot change the precision and scale.
Although I found the solution, I am not able to do the same.
Please advise how can I implement the below solution.
Solution:- By setting the property of the amount field in the MPC_EXT class DEFINE method using the set_precision method.
Thank You,
Himanshu Kawatra
User | Count |
---|---|
62 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.