cancel
Showing results for 
Search instead for 
Did you mean: 

Reducing spaces between the lines of table in SAP smartforms

Former Member
0 Kudos

Hi everyone,

I am developing a custom smartforms for genrating customer statement.

The table has the fileds Trans Number, Document, Date, Description, Due date and Amount

The following are the line types of a table.

LTYPE2 8.17 4.47 2.73 3.52

LTYPE3 3.28 2.32 2.62 4.82 2.33 3.52

LTYPE6 13.72 1.17 4.00

Where LTYPE2 refers to header, Ltype3 for line items and LTYPE6 for the subtotals.

The subtotal has to display based on some condition evry time the order reason of the Document changes.

But now the issue is i am getting two line space between each line of the table.

I am using 4.6 version and there is no way reduce the line heights.

Please advise me.

Accepted Solutions (1)

Accepted Solutions (1)

Sandra_Rossi
Active Contributor
0 Kudos

Do you mean you have 2 line spaces between LTYPE2 and LTYPE3 and 2 line spaces between LTYPE3 and LTYPE6?

Check cell contents one by one that there is no unwanted new lines.

Check also that there is no a minimum height in the table attributse.

Former Member
0 Kudos

I have checked all the contents, there is no unwanted balnk lines, there is no minimum height attribute also.

I am getting 2 line space between each and every line of the data.

The preview looks like below.

Trans Number Document Date Description Due date Amount

20-344444 180001666 5/31/09 Security Plus 6/10/09 20,117.00

20-355555 180001444 6/31/09 Quality 7/10/09 1,123.09

Total Security Plus: $ 2,27,00.0000

I want to reduce the space coming between the lines.

Sandra_Rossi
Active Contributor
0 Kudos

Could you check the "space after" in the paragraph format (in the smart style) you use. Do it for each cell because several smart styles may be used.

Former Member
0 Kudos

I am using the same smart styles for other tables also, but i am getting spacing only in this table.

Even i have checked through smart styels the space after and space before is not set.

But the line apcing is set as 1 LN.

I just doubt is this happening beacuse the line for subtotal LTYPE6 is decalred in table level.

and is getting filled only when a condition satisfied.

Will this leade to a space or any other reason??

Former Member
0 Kudos

Hi Sandra,

Thanks alot.. The problem is solved.

For the description field i gave a space, i deleted that one...

But one more issue is there.

For the same description field i am using Justified for the Paragraph Format, so how much ever the data inside the filed it is adjusting for the whole filed lenght.

For ex:

security plus is showing as

security 8 spaces and then plus.

So it is showing some spaces in between the words of descrption field.

Left aligned is not supporting, it coming horizantally for left aligned.

Please let me know how to resolve this??

Sandra_Rossi
Active Contributor
0 Kudos

Not sure to understand: do you say that "Security +" is previewed "Security         +" when you use Justified (on left and right) paragraph?

If yes, it's abnormal, it should be the same as left justified (because the left and right works on all lines except the last one). Check that:

1) Make sure that the space is not a tab: suppress the space and enter it again.

2) Moreover, what happens when you use Left justified? (create a paragraph format for the test)

Answers (1)

Answers (1)

Former Member
0 Kudos

.