on 09-08-2007 3:12 PM
Hi,
Can anyone tell me how to eliminate blank lines in scripts?
Title was edited by:
Alvaro Tejada Galindo
Take a look at the Paragraph Formats for the lines you want to not print if they are blank.
In the "Standard" part of the paragraph format, there is a checkbox "No Blank Lines". If this is selected, blank lines are not output for any lines defined with this style.
Take care changing it - there may be other windows using the style where blank lines are wanted. Safest option is to copy the style to a new Z.. value and change the area where you want no blank lines so it uses the Z.. paragraph format. If several formats are involved, you may have to copy all of them so you keep the correct fonts, tabs, etc.
If Paragraph format is not causing the blank lines, it could be because of trailing spaces on the previous lines wrapping to a new line when printing. You can look at using the (C) option on fields to compress blanks if this is the case.
Andrew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Swetha,
at what situation you are getting blank lines ?
if you see at text editor at SE71(Goto Page windows-> click on text elements)..
if you use below like this :
P1 &ITAB-MATNR&
P1
P1
P2 &ITAB-MAKTX&
P2
output would be
first line contains material number,2nd,3rd line will be blank line since there is no data ,4th line it prints material description,5th will be blank.
if you want to remove blank lines then
P1 &ITAB-MATNR&
P2 &ITAB-MAKTX&
here first line will print material number,second line will be print material description. so there is no blank line.
make sure that window size properly as per requirement.
Thanks
Seshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.