cancel
Showing results for 
Search instead for 
Did you mean: 

space after every line item in table smartform

former_member184551
Contributor
0 Kudos

guys i have a table in a smartforms and I want to give a space of 20 lines after every line item, is there any way of doing it without using smartstyle ?

Thanks
Sameer

Accepted Solutions (1)

Accepted Solutions (1)

gokul_radhakrishnan3
Active Participant
0 Kudos

Or may be you can try this in your item text node. Change the editor to sapscript editor by selecting the icon on the left of the word editor. Insert Line feed '/' and blank lines in your editor after your text. In your case..20 lines. Activate it & see whether that helps.

Regards,

Gokul

Answers (3)

Answers (3)

former_member184551
Contributor
0 Kudos

Thanks people, actually all answers were helpful but I used the sapcript editor in the text node.

Cheers

Former Member
0 Kudos

You could use a sorting level in your table and add a table line after a item. Then add in your text node of this line 20 empty lines (by hitting your enter button 20 times).

This ensures empty lines after each item has been printed.

Best regards,

Zhou

jitendra_it
Active Contributor
0 Kudos

Hi Sameer,

You can use 2 internal tables. one is actual and second is with 20 empty lines.

now use nested loops.

loop at actual_it

print item1

loop at empty_20.

print line 1

.

.

print line 20.

endloop.

emdloop.

former_member184551
Contributor
0 Kudos

Hi jitendra

Thats interesting,

How do we declare this empty table ?

Thanks

Sameer

jitendra_it
Active Contributor
0 Kudos

Hi Sameer,

Its my mistake , I named it a empty table . that table will have below structure.


TYPES : BEGIN OF ty,
        count TYPE sy-index,
       END OF ty.

Now populate that table with loop.

do 20 times.

wa-count  = sy-index.

append wa  to it.

enddo.

****
Now logic will be


loop at actual_it

print item1

loop at it_20.

print enter .  " Just press one enter in the text.

endloop.

endloop.