Using function module REUSE_ALV_GRID_DISPLAY in a report.
Some fields are defined with three decimals.
Requirement is to round the data (zero decimal places) on the ALV report display, but when displaying as a Spreadsheet (toolbar Ctrl+Shift+F7), leave the data with three decimal places.
The data references QUAN fields that are defined with 3 decimal places.
The field catalog DECIMALS_OUT is set to '0'.
On the display, the data is shown with 0 decimal places. This is correct.
Under 4.7, the data still displayed in Excel with 3 decimal places.
Same code in ECC 6.0 is removing the decimal places in the Excel display.
Any ideas how to show 0 decimals on the ALV display, but 3 decimals for the same field in the Excel display?
I did not want to have to create separate fields (with and without rounding).
Thanks,
Norm