Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
Showing results for 
Search instead for 
Did you mean: 

Smartform amount alignment issue

Former Member
0 Kudos

Hi experts,

I have a Smartform that outputs amounts every other line, then outputs the subtotal, tax, and grand total of those amounts after all the line items of the input Invoice have been processed. However, there is a particularly annoying issue that is preventing us from passing this beyond UAT. Take a look at the following:

As you can see, the subtotal and grand total are not aligned with the tax (and by extension, the rest of the line item amounts). They use the exact same Paragraph Format as the others (right-aligned), and I've ensured that there are no errant spaces in their respective Text Elements. What's more, when we output a PDF of the form, they are properly aligned. Is there any reason why it's only the Print Preview that has an issue?

Thank you very much.


Active Contributor
0 Kudos

The smart form print preview should take as input the same data in OTF format as the one you find in the spool file. So, please provide the OTF format for the concerned amounts (transaction SP01, display spool request in raw/OTF format), including the MT ("move to") and ST ("string") lines and everything between. For instance, you could obtain these kind of lines:

FCCOURIER 120  00144 SF001SF001110000144E
UL +0000000000000
ST0201614Dear Customer,

0 Kudos

Use style for text cell. add margin for right side.