GUI_DOWNLOAD blank lines in the middle

Hi All,
I am using 'GUI_DOWNLOAD' FM to create excel file of my internal table data; Internal table is having 220 fields and expects to create 220 columns in excel file;
In the middle of the excel file I get several blank lines on and off with only very few column values are filled;
I checked the ITAB in debug before calling the FM it has no issues and has the correct data;
My code is as below;
CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
      filename                = l_filename
      filetype                = 'ASC'
      write_field_separator   = 'X'
    TABLES
      data_tab                = i_compare
      fieldnames              = i_excel_head
    EXCEPTIONS
      file_write_error        = 1
Appreciate your expert ideas please;
Thank you
Iver

Hi,
GUI_DOWNLOAD blank lines in the middle
In your GUI_DOWNLOAD code, There is no mistake.
I think, In your program, have you written any SET BLANK LINES ON.
It is one case.
Follow this link,
http://wiki.sdn.sap.com/wiki/display/ABAP/DownloadinginternaltablestoExcel
It may helps to you.
Regards,
Sekhar

Similar Messages

  • HP J6480 All in one leaves a line down the middle of the paper.

    When I use the feed mode the printer squeeks and protest leaving a line down the middle of the paper.  How can I get this resolved

    Hi there billba,
    This article covers clearing a carriage jam and gives steps used in clearing the carriage assembly. Give the steps a shot and let us know if it helps. Though it seems the product may need servicing.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How can I remove the preceding blank lines in the downloaded text file?

    I have created a jsp that writes to a file and then prompts a dialog box to have an option to view or save the file. However when i view the file, there are blank lines before the actual content of the file. How can i remove these lines?
    Below is part of my code:
         response.setContentType("application/x-download");
         response.setHeader("Content-Disposition","attachment; filename=\""+ fileName + "\"");

    Hi,
    Those blank lines are normally because of the scriptlet code at the start of your jsp page.
    Remove any new lines between page directives or any include directives that you have at the top of your page.
    Look at the generated servlet code to see what exactly is causing the newline to be inserted (look for out.println("\n");)

  • Fuzzy line on the middle of display.

    Recently i have found a fuzzy line in the middle of my retina macbook pro screen (15"). I have always treated it very well, it never falled down.
    The line appear only with a strong light from sun, especially with dark backgounds on the screen.
    The line seams like dust, it's not like a crack. It has a lenght of 9cm long and an height of 1mm.
    I understand that the problem is probably related to how i used the mac, but i don't undertand the cause. The only thing have done is replacing the Spek cover, but two or three weeks before now. What do you think? Have I to replace the screen? How much does it cost?
    Hope you can help me.
    Olivum
    Sorry for my bad english

    Warranty is worldwide. He can take it to a Dutch Apple Store without worrying
    Best of luck.

  • My iPad has not been dropped or damaged at all. The screen is grey fuzzy and has coloured lines down the middle. iPad 3 also.

    My iPad has not been dropped or damaged at all. The screen is grey fuzzy and has coloured lines down the middle. iPad 3 also.

    Basics from the manual are restart, reset, restore.
    Try all of these.
    If these fail, then:
    iOS: Unable to update or restore

  • Grey line in the middle on the screen

    help a grey line in the middle of the screen

    Probably a hardware issue, it could be a failing display or graphics card. I'd recommend running Apple Hardware Test in Extended Mode 2-3x to see if it finds any errors. At some point you will need to make an appointment at  our local Apple Store or AASP for professional assesment.
    BTW please complete your profile, you can find the link under Your Stuff in the upper right of this screen. At the very least let us know the version of OS X on your computer and what computer you own.

  • Black line in the middle of the screen, I Pad is 2 years old, tried rebootng no change. Help!

    black line in the middle of IPad

    I am guessing when you say reboot, that you reset by holding the power button and home button until you saw the apple then let go. Did you try restoring it as new through iTunes on your computer? If you still have problems, you may want to make an appt with an Apple store.

  • 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

  • TB 31.4 when compsing a message, has introduced a spurious blank line between the address boxes and subject box.

    When writing a new message I used to see two lines of address boxes followed by the subject line. So, when sending an email to a single recipient, that persons address would remain on screen as I composed the email.
    As of version 31.4 the initial "Write" window shows a single address line, the subject line, and a blank line between them. The consequence is that, upon entering the recipient's address, it immediately scrolls up and can no longer be seen. This happens regardless of how I enter the address i.e. start to type, select from address book and hit ENTER or TAB, or indeed if I choose an address from the address book sidebar. (See "capture1.png")
    If I increase the space available for the header data in the "Write" window I still get a blank line between the address lines and the subject line (see "capture2.png"). Furthermore, the next time I go to compose an email I am back with the original version of the "Write" window, as shown in "capture1.png".

    You might want to drop the author an email and let him know. It is not a major thing, but something that would probably require only a minor fix.
    I have found him helpful, but slow to reply. He is always on holidays when I email him.

  • Blank line in the spool file

    Good day,
    I was trying to retrive data from the table and save the results in the spool file, but I find blank lines in the spool file. What can be the couses of that? I am using oracle 9i.
    regards
    Talifhani

    SET SHOWMODE off
    SET FEEDBACK OFF
    SET VERIFY off
    SET RECSEP off
    SET TRIMSPOOL on
    SET LINESIZE 20000
    SET HEADING OFF
    SET PAGESIZE 0
    SET PAGES 0
    ==>Select the spool file
    ==>Run you query
    ==>Spool off.
    Now check the spool file.
    Good luck!!!
    Bhagat

  • Delete a line in the middle of a text file

    Hi, I want to delete a certain string line in the middle of a text file. How could I do this? Thanks.

    Got it. But instead of overwriting with spaces I only need to write the letter "b":
    try {
                                            RandomAccessFile acceso=new RandomAccessFile("F:/ArchivoContrase�as.txt","rw");
                                            String linea="";
                                            while ((linea = acceso.readLine()) != null) {
                                                      StringTokenizer patron=new StringTokenizer(linea," ;");
                                                      String s=patron.nextToken();
                                                      s=patron.nextToken();
                                                      if (elimina.equals(s)) {
                                                           System.out.println(acceso.getFilePointer());
                                                           acceso.seek(acceso.getFilePointer());
                                                           acceso.writeBytes("b");                         
                                       } catch (FileNotFoundException e) {
                                            e.printStackTrace();

  • 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

  • I have a horizontal line across the middle of the ipod screen and the ipod and itunes won't sync.  What is the line and is it connected to the no sync.

    I have a horizontal line across the middle of the ipod screen and itunes and the ipod won't sync.  What is the horizontal line and is it connected to the no sync.

    Hey Dean Marvin,
    Thanks for the question. These two symptoms are probablyh related. To troubleshoot, let's try resetting your iPod:
    How to reset iPod
    http://support.apple.com/kb/HT1320
    Thanks,
    Matt M.

  • I have vertical lines in the middle of my screen

    have vertical lines in the middle of my screen

    Disabling "Automatic Graphics Switching" seems to work to resolve this problem if there are random lines that appear around windows and glitches in the display.
    System Prefs -> Energy Saver -> Disable automatic graphics switching
    Source:
    https://discussions.apple.com/message/23982751#23982751

  • When watching a video, often the Press Esc to return line in the middle of the screen does not disappear. What can I do to remove it?

    Often when watching a video, TV show on ABC or Hulu Plus, after going to the full screen, the Press Esc to return line in the middle of the screen does not disappear. What can I do to remove it so it does not detract from the viewing?

    Mac Pro - Mid 2010
    Processor  2 x 2.66 GHz 6-Core Intel Xeon
    Memory  8 GB 1333 MHz DDR3 ECC
    Graphics  ATI Radeon HD 5870 1024 MB
    Software  Mac OS X Lion 10.7.2 (11C74)
    This is a brand new machine that I just purchased from Apple. It was delivered yesterday
    The old computer is an old PowerMac G5, but my OS X install disc is a retail version of 10.5.
    I also tried the OS X 10.5 install disc that came with my MacBook Pro (2.6 Ghz Intel Core 2 Dual).
    Same issue - nothing but a grey screen when the system tries to boot from the DVD

Maybe you are looking for