Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Smartform overflow in a table

What I've got here is a table filled with material data, including the long description.

That description has to be displayed in a column that has its width set to 8cm.

When the description exceeds that 8cm, we don't want it to continue on the next line. It's fine to just print as much as possible within the 8cm and then stop on the same line.

However I haven't been able to find a 'overflow' setting or anything like it. It makes no sense to shorten the description to x characters, since the font isn't monospaced... the length can differ per line.

Is this possible? They're called SMART forms, right?

Former Member
Former Member replied

Hi,

A smartform is really SMART if you can make it work as you want.

To achieve your requirement, do not use a table.

Instead use a template inside a loop.

Make the column width of the template as desired and the height of the line should be such that only one line can fit in it.

Create the text nodes in the template based on the number of columns you have.

In each text node, in the output options tab, assign the value for LINE as 1 and COLUMN as the actual column number.

Hope this meets your requirement.

(You cannot have some columns running into multiple lines and some columns terminated to fit into one line)

Regards,

Dawood

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question