How to remove blank lines in the end of list .

hi,
in a complex report ,when there are only 20 pages,and linecount is 65(2) ,in the last page only 27 lines are filled and data is completed.then blank lines are printing from 27th line to 63 line.then end of page is triggering.
so plz help me how to remove the blank lines here and immediately print the endof page.

Hi,
will this work for you.
SET BLANK LINES OFF.
These statements allow you to specify whether you want to output blank lines or not. Use SET BLANK LINES ON to output blank lines or SET BLANK LINES OFF to suppress them.
Regards
Viswanath Babu

Similar Messages

  • How to remove blank spaces in the source code of my page?

    I created a page with the following code for testing:
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/>
         <dsp:droplet name="ProductLookup">
              <dsp:param name="id" value="xprod2046" />
              <dsp:param name="elementName" value="product" />
              <dsp:oparam name="output">
                   <dsp:valueof param="product.DisplayName"/>
              </dsp:oparam>
         </dsp:droplet>
    </dsp:page>
    It only shows the product name in the browser. But if I look at the source code of my page he created 61 lines in response to this code, where a line is the product name and the other 60 have nothing.
    I know how to remove these lines that the ATG creates no content because my project is full of these empty lines.
    Anyone ever had this problem and could help me?
    Thanks

    Hi ,
    Yup this is a problem ,
    you can use following ways :
    1- use jsp comments eg :
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/><%--
         ----%><dsp:droplet name="ProductLookup"><%--
              ----%><dsp:param name="id" value="xprod2046" /><%--
              ----%><dsp:param name="elementName" value="product" /><%--
              ----%><dsp:oparam name="output"><%--
                   ----%><dsp:valueof param="product.DisplayName"/><%--
              ----%></dsp:oparam><%--
         ----%></dsp:droplet><%--
    ----%></dsp:page>
    2- End tags at next line :
    e g :
    * <dsp:page
    * ><dsp:droplet name=”xyz”
    * ><dsp:oparam name=”output”
    * >Name: <dsp:valueof param=”abc”
    * /></dsp:oparam
    * ></dsp:droplet
    * ></dsp:page>
    3- Always use TAB instead of using SPACEBAR whie writing source code.
    4 - From JSP 2.1 onwards we have a page directive trimwhitespaces ( see if that works , i was not able to ), google for it for more info
    5 - You can modify your build scripts to remove white spaces from jsps while building EAR.(complex though, as you may not want to trim all white space.)
    6 - modifying the deployment descriptor.
    <init-param>
    <param-name>trimSpaces</param-name>
    <param-value>true</param-value>
    </init-param>

  • SMS Messaging: Blank line at the end of the message

    I never had this problem with the 3G, but on my iPhone 4, I often see a blank line at the end of my text message after I send it.
    Also, a similar issue I am having is that while I am drafting text messages, the words fits nicely in the text input box, but once I hit send, some words are shifted to the next line.
    *Typed in input box:*
    Sorry. We'll be there asap.
    *Show in the green bubble:*
    Sorry. We'll be there
    asap.
    Anyone know how I can solve this problem? Thank you!

    this isnt the way to respond to someones problem... thats not what this forum is for ..
    now to the op have you tried resetting your phone by holding both the home button and the sleep/wake switch for 15 seconds...
    if that doesnt work I would try restoring your phone from backup to see if you can clear this issue up

  • How to draw horizontal line at the end of table for multiple line items

    Dear Experts,
                       Pls can anyone help me how to draw horizontal line at the end of table for multiple line items . kindly help me regarding this
    Thanks
    Ramesh Manoharan

    Hi
       I tried as per your logic but it is not solving my problem .  when i am gone to table painter it is showing line type 1 and line type 2
      is below format.. if u see here line type 1 bottom line and line type 2 top line both are same..  so how to avoid this ?
                              line type 1
                             line type 2

  • How to insert blank lines in the ALV output.

    Hi Friends,
    Could any body help me out How to insert blank lines in the ALV output.?? Any Code pls...
    Thank you,
    Vikram.C

    hi vikram
    do like this
    In the fieldcatalog table all the fields should be in editable mode
    ie lw_fcat-edit = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_callback_pf_status_set = 'SET_PF_STATUS'
    i_callback_user_command = 'USER_COMMAND'
    is_layout = lv_layout
    it_fieldcat = lt_fcat[]
    i_save = 'A'
    is_variant = lv_variant
    TABLES
    t_outtab = lt_license[]
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    IF sy-subrc 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ENDFORM. " display_data
    *& Form user_command
    FORM user_command USING r_ucomm TYPE sy-ucomm
    rs_selfield TYPE slis_selfield.
    CASE r_ucomm.
    WHEN 'ADD'. "
    data: lv_ind type i.
    data: lv_line type i.
    describe table lt_license lines lv_line.
    loop at lt_license into lw_license.
    lv_ind = sy-tabix.
    if lv_ind = lv_line.
    append initial line to lt_license.
    endif.
    endloop.
    ENDCASE.
    ENDFORM. "user_command
    reward points if useful
    Rohan

  • How to remove the blank lines at the end of the JTextArea .

    Hi,
    I need to remove the blank lines in the JTextArea at the end. Suppose i am giving 'A' in the first line and press the enter key two times, after i am giving the 'B' in the third line and press enter key for two times. I need to remove, the last two lines of JTextAreae, . How i can remove these lines?

    String#trim() removes all whitespace from both ends of the String.
    The requirement was to remove line breaks from the end of the String only.
    String#replaceAll with a suitable regex would do the trick. Untested regex for this:text.replaceAll("[\\n\\r]+$", "")db

  • How to remove characters/lines from the beginning of an InputStream

    Hi,
    I have a program which receives several InputStreams. From each of these streams I have to remove 2 lines from the beginning. After the lines are removed, all the streams are combined to one with SequenceInputStream and read in one chunk. Is there an easy/simple way of doing this?
    One option I thought would be to read the char by char until 2 end of line chars have been detected and then read the rest of the data to a buffer. And the create a ByteArrayInputStream out of this buffer. Problem with this approach is, that the amount of data can be large, so putting all the data in to memory might cause problems.
    Another option is to use BufferredInputStream and use the readline() method twice to get rid of the lines that are not needed. After this I would write the data to some output stream, which is then converted back to input stream. Propably would work, but sound too much of work for a simple thing like this. There has to be better way.
    To make it simple, what I need is a method that looks like the following, or something similar
    *  Removes n number of lines from the beginning of a InputStream.
    *  @param is InputStream where the lines are removed
    *  @param numberOfLines int value to indicate how many lines whould be removed
    *  @return InputStream where lines have been removed.
    public InputStream removeLines(InputStream is, numberOfLines);Thanks.

    Here's the code, feel free to use it. Comments are also welcome.
    public InputStream removeLinesFromTheBeginning(InputStream is, int numberOfLines) throws IOException
              char c = 'c';
              int i = 0;
              for(int n = 0 ; n < numberOfLines ; n++)
                   do
                        c = (char)is.read();
                        System.out.print(c);
                        if(c == (char)-1)     // end of stream reached before any newline characters were found.
                             return null;
                        i++;
                   while(c != '\n');
                   System.out.println();
                   System.out.println("Characters removed:" + i);
                   System.out.println("n: " + n);
                   i = 0;
              return is;
         }Edited by: dave_spaghetti on Jun 16, 2009 5:42 AM
    Fixed a bug.

  • How to add blank line below the table/row whenever there is no data

    Hello Everyone,
    I have a table in my report template like below:-
    Children / Dependents: Name / Comments: Grandchildren: Name / Comments:
    Son John Daughter Smith
    Daughter Laura Son Kevin
    Son Bill None NA
    When i run the report I need to achieve the following conditions:-
    Condition 1: Loop through all rows and whenever there is data in any row in the table...I need to Populate and print it.
    Condition 2: When Loop is ended, when you see there is no data in any row in the table... add a dash line at the end of the table.
    Condition 3: Total no of populated rows + blank dash line <= Max no of rows in DB. And when max no of populated rows in report = max no of rows in DB/UI ... don’t print dash line.
    I want to achieve these conditions. Can you please help me.
    Thanks..Rithesh

    Hello Everyone,
    I have a table in my report template like below:-
    Children / Dependents: Name / Comments: Grandchildren: Name / Comments:
    Son John Daughter Smith
    Daughter Laura Son Kevin
    Son Bill None NA
    When i run the report I need to achieve the following conditions:-
    Condition 1: Loop through all rows and whenever there is data in any row in the table...I need to Populate and print it.
    Condition 2: When Loop is ended, when you see there is no data in any row in the table... add a dash line at the end of the table.
    Condition 3: Total no of populated rows + blank dash line <= Max no of rows in DB. And when max no of populated rows in report = max no of rows in DB/UI ... don’t print dash line.
    I want to achieve these conditions. Can you please help me.
    Thanks..Rithesh

  • PI removing blank spaces at the end of the lines in a plain text file

    Hi -
    I have an interface that transfers a file via FTP. I defined both the sender and receiver to transfer either Text or Binary but the interface removes every blank space I have after the last character. The file is a fixed lenght file.
    Example:
    Original file:
    Hello world(space)(space)(space)(space)(space)(space)(space)(space)(eol)
    where (space) is the space character and (eol) is the end of line char.
    File after it is received.
    Hello world(eol)
    I already defined the parameter Row.fieldFixedLenghts with 10164 which is the lenght of the lines of the file.
    Any ideas why it may be happening?
    Thanks,
    Carlos.

    Hi -
    I tried both the parameters:
    xml.fieldContentFormatting
    structure.fieldContentFormatting
    The received file still has the problem. All the blank spaces are cleared out.
    The file is a plain text file not an XML file. May this be the issue?
    Thanks,
    Carlos.

  • Unable to remove the "blank" line at the end of the file

    Hi Experts,
    My requirement is to send data in 'Binary' form as an attachement to a mail address. I have followed as below.
    Converted data into Binary form using the FM 'SCMS_TEXT_TO_BINARY'
    Call FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send mail.
    Until this point, all works fine and I receive a text file as well. Howvever, a blank line gets appended at the end (after last line) of the file. Please let me know, how I would get rid-off this empty line. Please refer attachment.
    Thanks in advance !

    Thanks Manish.
    I have resoved the issue, following steps have been incorporated.
    1. Find the output length of the file from the exporting parameter(output_length) of the Function module 'SCMS_TEXT_TO_BINARY'
    2. Pass the output length to DOC_SIZE component to the second line of the itab packing_list of function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    3. Pass the output length to DOC_SIZE component to document_data of function module 'SO_NEW_DOCUMENT_ATT_SEND_API1'.
    So there it is, the blank line is gone....
    Regards,
    Umar Ali

  • How to Remove Blank spaces in the text elements for a smartform

    Hi All,
    Can any one please help me out to remove the blank spaces in the text elements.
    We are printing Labels using the Zebra Printer and we have rotated the windows to 90 degrees.
    We are able to see out text and barcodes. But the issues is when we are printing the label. We are getting spaces in the Text and in the Text elements fields. I have tried to give &g_name(C)&. But it is not working even i worked with style sheet spaces no luck.
    Currently out text and fields are printing like this
    s h r i y a n
    material number
    1111  -001  -000
    They should print like
    shriyan
    1111-001-000
    According to the ZEBRA suggestions we are using the font helve.
    Plase help us it is very urgent.
    Reward point will be given.
    Thanks

    Hi,
    Just use Condense g_name inside the program lines.
    Just to see how it behaves put a hard breakpoint.
    Break Username. and check the condense statement.
    condense <your field> no-gaps.
    Create program lines ahead of printing. give the field you want to condense in the input and output parameters of the program lines.
    Use condense inside the program lines.
    Thanks,
    Vamshi.

  • Blank lines at the end of SMS - iOS 4

    I've recently upgraded to the iPhone 4 from a 3G and messaging is so much faster, but for some reason occasionally when I send or receive an SMS there is a blank space at the bottom of the message, as if there's a carriage return there. This happens for both messages I send and receive, about every fifth message or so, and seems to be random.
    Anyone else noticed this? I've not had this issue before iOS 4 and although it isn't causing any problems with actually sending and receiving messages, it's quite annoying!

    String#trim() removes all whitespace from both ends of the String.
    The requirement was to remove line breaks from the end of the String only.
    String#replaceAll with a suitable regex would do the trick. Untested regex for this:text.replaceAll("[\\n\\r]+$", "")db

  • ADF:How to remove vertical line in the panel collection toolbar

    Hi Everybody,
    I have an issue in removing the vertical line that separates various options like 'detach', viewMenu' etc..in the ADF Panel Collection tool bar.I am able to remove the options in the tool bar using "featuresOff", But i could not remove the vertical line seperator in the toolbar.Any help would be appriciated.
    Thanks,
    Harish

    Hi kamaal,
    Thanks for the reply, I went through the document , but didnt get any clue to hide the vertical line in the toolbar.Can you please tell me how to use AFBarSeparator:alias class in the jspx page to hide the vertical line in the tool bar of panel collection?.Is there any other alternative to do this?
    Thanks,
    Harish

  • How to remove trailing space at the end of a song.

    This is related to this thread: Shorten song length (remove trailing bars) in Garageband 10.0.1
    I have also done some Googling and have found some links related to selecting and exporting regions, which I have tried, but this is what I noticed.
    It does not work when I select certain instruments, eg Synthesizer - Soundscape - Subtle Shiftscape or Synthesizer - Lead - Screamlead. I believe that what is happening is that those sounds tend to have some additional length to it. No matter where I cut my region, the additional length still get added. I don't have that problem if I don't select those instruments.
    Anybody has any ideas?

    Are you using GB 10.0.2 as well?
    I am using both - GarageBand 10.0.2 and GarageBand '11.
    And if I deselect all regions, File - Add Region to loop library is of course greyed out. Is it possible to save multiple tracks as a loop?
    No.
    Yep, I've deselected all regions. Still no luck.
    My answer above was in answer to your "This time GB felt I only needed the first 4 measures of the song, even though I defined an entire Region over the length of the song and selected everything with Ctrl-A..."
    You should be able to export the complete song, if you deselect all regions, and select all of the song using the cycle region with "Export Cycle region only" enabled, or with "Export Cycle region only" disabled, nothing selected, and the end-of-song marker correctly set.
    However, this will not get rid of the trailing empty bars.
    Reimport the bounced song to a new Ringtone project and trim it and save it as a tone, or to a regular project and add it to the Loop Library.
    Find the AIFF file of the loop in the Loop library - it will be installed in your User Library in your Home folder
    ~/Library/Audio/Apple Loops/User Loops/SingleFiles/

  • How to remove HTML comments at the end of the portal page

    Hi,
    I've noticed that even if you turn off performance comments, some code in the portal UI still sticks this:
    <!--Hostname: bdg-laptop--><!--Portal Version: 6.0.0.199938, Changelist: 199938, Build Date: 08/31/2005 at 07:49 PM-->
    at the bottom of every page.
    Does anyone know how I can suppress these comments?
    Thanks,
    Chris Bucchere | bdg | [email protected] | www.bdg-online.com

    Are you using GB 10.0.2 as well?
    I am using both - GarageBand 10.0.2 and GarageBand '11.
    And if I deselect all regions, File - Add Region to loop library is of course greyed out. Is it possible to save multiple tracks as a loop?
    No.
    Yep, I've deselected all regions. Still no luck.
    My answer above was in answer to your "This time GB felt I only needed the first 4 measures of the song, even though I defined an entire Region over the length of the song and selected everything with Ctrl-A..."
    You should be able to export the complete song, if you deselect all regions, and select all of the song using the cycle region with "Export Cycle region only" enabled, or with "Export Cycle region only" disabled, nothing selected, and the end-of-song marker correctly set.
    However, this will not get rid of the trailing empty bars.
    Reimport the bounced song to a new Ringtone project and trim it and save it as a tone, or to a regular project and add it to the Loop Library.
    Find the AIFF file of the loop in the Loop library - it will be installed in your User Library in your Home folder
    ~/Library/Audio/Apple Loops/User Loops/SingleFiles/

Maybe you are looking for

  • Adobe Bridge Doesn't show all files in a folder

    I am using a MacPro with 8GB of Ram and 1TB HD running Mountain Lion.  I have a network folder that has about 320 GB of files in it.  This is spread out between about 255 different Illustrator files.  When I view them in Finder, all the files show up

  • A question about the impact of SQL*PLUS SERVEROUTPUT option on v$sql

    Hello everybody, SQL> SELECT * FROM v$version; BANNER Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production PL/SQL Release 11.2.0.1.0 - Production CORE    11.2.0.1.0  Production TNS for Linux: Version 11.2.0.1.0 - Production NL

  • MP4 songs will no longer play in iTunes

    For some reason, maybe updating itunes, my MP4s will sit at 0:00 on pause when they are played, or get selected by shuffle. I dont know why this is happening. Most of them are from one artist, because I downloaded their music when it was free online,

  • Open link onto the current page in a region?

    Was wondering how i would open a website onto my Apex page. so for example... i have a link linking to http://somewebsite.com in my apex page when the link is click the page would populate within a region in apex which now let the user use that websi

  • Blackberry Z10 DUN and Mercedes Comand Online

    Hi community, I own a BB Z10. I bought it because my iPhone doesn´t support DUN for my Mercedes Comand Online. Yesterday I paired my BB with the Comand Online. But when I try to use the Online features it tells my " phone doesn´t support mobile netwo