2024 Sep 18 9:23 AM
Hi Guys,
I have an ALV Report that needs to be downloaded. Since the export option is disabled, I am exporting the internal table instead and used the GUI_DOWNLOAD function module.
When downloaded the negative signs are coming at the end of the numbers. I used the CLOI_PUT_SIGN_IN_FRONT but since I used Type P decimals 0, the types are not compatible. Is there any other way to specify the placement of the negative sign?
Any suggestions/solutions will be really appreciated.
When downloaded:
2024 Sep 18 12:01 PM
Don't use obscure and unsupported function modules (e.g. don't use CLOI_PUT_SIGN_IN_FRONT).
The solution is pure ABAP language since ABAP 7.02, twenty years ago (see the ABAP documentation of string templates - formatting of numbers😞
DATA(string) = |{ number }|.