Suimon
Suimon

Reputation: 291

SAP Smartforms layout trouble with packed numbers

I'm currently trying to fill a smartform with some information. I have a simple text element and read the data fields via &name&. The data itself gets read perfectly fine, however the layout is incorrect. Some fields are just plain text, and others are defined as packed numbers with 2 decimals. These packed number fields for some reason are out of alignment, always showing one line below everything else that is supposed to be in this line. That looks like that:

How can I get the 121,08 in this example on the same height as the rest? The text element looks like the following:

test               &field1&     &field2& &field3&

Only field 2 is a packed number, therefore I think it might have something to do with that.

Upvotes: 3

Views: 1521

Answers (1)

Umar Abdullah
Umar Abdullah

Reputation: 1290

Use as below. C will remove extra space.

&field2(C)& &field2(C)& &field3(C)&

Upvotes: 4

Related Questions