Skip to Content
0
Oct 25, 2018 at 01:31 PM

Right alignment of currency amount in Sap script

387 Views

Hi All,

I have the following issue, I can't do the right alignment of currency value column in the sap script form as you can see from the picture below decimal values: 127,96 and 5.639.46 are not right-aligned.

The sap script is copied from the standard one - F140_ACC_STAT_01, and it is executed from custom report which is copied from the standard one - RFKORD10, of course modifications are made on the custom report and in the custom sap script.

This is how looks the line in the sap script where the invoice details are printed

and this is how are defined the tabs defined for the paragraph format - "ZN"

I tried all possible alignment here: "DECIMAL", "SIGN", "RIGHT", but none of them is working.

I've also read many suggestions on SAP SDN forum, but I wasn't able to find some solution for my problem, I also convert to string the currency amount and tried to right justify the string but it was also not working this solution.

So I will be very grateful if someone has experienced the same problem and found solution, or any suggestion that can help me to solve this problem.

Thanks,

Dime

Attachments

screenshot-1.png (17.8 kB)
screenshot-2.png (3.6 kB)
screenshot-3.png (11.6 kB)
screenshot-4.png (12.6 kB)