on 03-12-2012 7:16 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks people, actually all answers were helpful but I used the sapcript editor in the text node.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.