Skip to Content

Smartform amount alignment issue

Sep 02, 2017 at 11:01 AM


avatar image
Former Member

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.

alignment.png (1.0 kB)
10 |10000 characters needed characters left characters exceeded

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,
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Sep 04, 2017 at 06:29 AM

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

ij57v.png (27.9 kB)
10 |10000 characters needed characters left characters exceeded