cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms: Dynamic Cell Height

Former Member
0 Kudos

Hello:

-When filling table cells with contents, nothing is truncated, instead, the cell height is increased.

- Can i truncate the contents of table cells to only one line?

Thank you.

Accepted Solutions (0)

Answers (3)

Answers (3)

messier31
Active Contributor
0 Kudos

Hi Fernández / Max / Vijayendra Rao,

MAX

: -
Believe it or not but it does happens.... you can check in the system..

Vijayendra:-


This method wont wrk because even if there is only one word in cell and it exceeds the cell width half of the word will be printed in first line and remaining half in next line..

Fernández:-

1. First find out the maximum no of char that can fit in ur table cell in

single row... say 15 char.

2. Now create a program node inside the table

3. Read the content u r printing in table cell..

4. Say the content is 25 char long.. here you compare the length with max char

that can be printed in single line and truncate rest in the variable..

5. Now print this variable in cell..

Hope this helps you...

Enjoy SAP.

Pankaj Singh

Former Member
0 Kudos

Hi,

You can create a PROGRAM LINES node under the tables node and define a counter if the counter is above 1 then you can ignore printing in the table cells. You can use the counter to control the output options.

Cheers

VJ

Former Member
0 Kudos

Hi

No I don't believe, the system always tryes to insert all text in the cell, you should create the cell in according to the size of the text to be printed.

Max