GUI_DOWNLOAD with WK1 File format

Hi All,
I am using GUI_DOWNLOAD to download into xls file with "WK1" format.
My Internal table that is passed to FM has 155 columns.But in the output file i can see only 99 columns. Is there ia restriction to download the number of columns in xls file when the file format used is "WK1".
Is there any other way to get all columns with "WK1" filetype.
Thanks.

Hi,
try like this.....
CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        bin_filesize              = w_bin_filesize
        filename                  = w_full_path
        filetype                  = 'BIN'
        append                    = ' '
        write_field_separator     = ' '
        header                    = '00'
        trunc_trailing_blanks     = ' '
        write_lf                  = 'X'
        col_select                = ' '
        col_select_mask           = ' '
        dat_mode                  = ' '
        confirm_overwrite         = ' '
        no_auth_check             = ' '
        codepage                  = ' '
        ignore_cerr               = abap_true
        replacement               = '#'
        write_bom                 = ' '
        trunc_trailing_blanks_eol = 'X'
        wk1_n_format              = ' '
        wk1_n_size                = ' '
        wk1_t_format              = ' '
        wk1_t_size                = ' '
*      IMPORTING
*        filelength                =
        TABLES
        data_tab                  = t_pdf_tab
*        fieldnames                =
        EXCEPTIONS
        file_write_error          = 1
        no_batch                  = 2
        gui_refuse_filetransfer   = 3
        invalid_type              = 4
        no_authority              = 5
        unknown_error             = 6
        header_not_allowed        = 7
        separator_not_allowed     = 8
        filesize_not_allowed      = 9
        header_too_long           = 10
        dp_error_create           = 11
        dp_error_send             = 12
        dp_error_write            = 13
        unknown_dp_error          = 14
        access_denied             = 15
        dp_out_of_memory          = 16
        disk_full                 = 17
        dp_timeout                = 18
        file_not_found            = 19
        dataprovider_exception    = 20
        control_flush_error       = 21
        OTHERS                    = 22.
    IF sy-subrc <> 0.
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
Arunima

Similar Messages

  • Fed up with "Unsupported File format" crashes!

    I really like Aperture - but, I am totally fed up with only being able to edit a few photos before I get the dreaded red/brown screen and the message of 'Unsupported file format' This cannot be the case as they are all .tifs and I have just edited several OK. My whole day is now one of 'stop/start' and either quit or sometimes 'Force quit'. Then Aperture works fine for another short series of edits - before the same problem recurs. It wastes a lot of valuable editing time - and completely spoils the otherwise pleasurable experience of using Aperture!
    I have made a lot of scans from original slides via a Nikon Coolscan 5000 - using Silverfast I have converted these from 48 bit to 24 bit. However, the file size is still large at 100MB - to get the best from the slides. I then import these .tifs into Aperture 2.1. I am using a MacBook Pro, 2.4 Ghz Intel Core 2 Duo with 4 MB RAM. I have an external 24 inch monitor. The .tif files are on an external firewire hard drive - 500 GB LaCie. My Aperture library is in my pictures folder on my MacBook Pro.
    Can someone PLEASE explain how and why I can make a series of edits fine in Aperture and then suddenly I get the red/brown screen and this unsupported file format message?
    Is it a memory problem? Given that I need to edit such large files is it a problem for my (powerful) MacBook Pro? Or, is it a more general problem with Aperure 2.1?
    Any advice - or solutions - PLEASE

    It's a bug in Aperture 2.x with large files and/or large pixel dimensions on images (not clear which). I have submitted a bug report, as should anyone who is seeing this. You'll find quite a few threads on this if you search back. The error message is frustratingly incorrect: there is nothing whatsoever unsupported or wrong with the file format, it just leads you down some dead ends in trying to find a solution while you figure that out.
    I could sometimes not even work on one image before it would do this. I went from 6GB to 10GB in my Mac Pro, and now I can pretty reliably work on two images before having to restart. So that to me smells like a memory leak or memory mismanagement of some sort is at the root of this, but who knows. We're all just waiting for each next release, hoping Apple has finally found and fixed this, because as you know they don't spend a lot of time discussing what bugs they're addressing; they just show up fixed eventually (one hopes!)
    If anyone chimes in here to tell you it's your fault for working with such large images, just ignore them. There were releases of 1.5 that handled these images just fine, as Aperture should. It broke with 2.x.
    Duncan

  • HT3775 Is the Codec listed adjacent to the file format the Codec used with that file format?

    Is the Codec listed adjacent to the file format the Codec used with that file format?

    Is the Codec listed adjacent to the file format the Codec used with that file format?

  • 3D (with animation) file formats

    Which 3D (with animation) file formats are accepted by Acrobat X Pro?
    Do these 3D animation files work after importing them?
    Do their animation work inside the PDF or only their 3D image is displayed?
    Do their animation work inside the PDF without requiring javascript coding?
    Which are the 3D (such as Tetra4D) softwares  which can create 3D animation files that are compatible with Acrobat X Pro?

    Acrobat X Pro can only place native 3D files into PDF files - U3D and PRC formats. Both can contain animations as per their specification, but it's limited - you cannot for example animate on a vertex level.
    Animations will play without JS, but to control them beyond the basic 'play bar' on the 3D tool, you would need to write some advanced code.

  • When opening .doc from website link, FF appends .docx extention to file & does not open in Word 2010, with incorrect file format error. Pls Help

    I'm using Firefox v12 to open a hyperlink from a website that points to a filename.doc MS Word Document for download.
    We are then asked to open the file with MS Word (Default), which our installed version is MS Word 2010.
    Firefox then renames the file appending a .docx to the filename e.g filename.doc.docx. MS Word 2010 opens with error 'incorrect file format', which is correct as Firefox has renamed it.
    Is there a fix or workaround for this?

    Hello Jscher2000,
    I can save the file and it opens fine.
    It's when I open it directly, Firefox appends the 'docx' extenstion to the filename.
    If I continue to reopen from the web link, Firefox renames the file as so
    mydoc.doc-1.docx
    mydoc.doc-2.docx
    mydoc.doc-3.docx
    I can open a .doc from a Microsoft site ok.
    I have the feeling it's the way the web server is reporting the mime type to Firefox.
    The link in question works fine in Internet Explorer.
    best regards,
    Youngielinux.

  • Premiere pro cs5 : audio and video sync issue with .aiff file format

    I am using premiere pro cs5 on MAC and facing issue with audio and video sync  using .AIFF file format for audio unable to make it work.
    Is there any solution to this issue or any work around?
    Thanks in advance.
    Vinay

    Hi,
    hmmm, well that settles that...
    Here's a link to info about an open source free program to convert....for mac
    http://www.ehow.com/how_5072563_convert-files-wav-files-freeware.html
    Good luck
    Rod

  • How to calling with any file format

    Dear experts
    i want to know how i can call to file like doc,xls,htm or any file format ,, from form  by when button pressed
    regards to all....

    Start here:
    http://blogs.oracle.com/shay/entry/10_commandments_for_the_otn_fo
    Then consider something like this if the client machines are Windows:
    Declare
         my_cmd varchar2(512);
    Begin
         -- Item :t1 would be the path and file name to open.
         -- For example: C:\myDirectory\hello.doc
         -- If the path or name includes spaces, you will have to
         -- add quotes around the entry.
         my_cmd := 'rundll32 shell32,ShellExec_RunDLL '|| :t1;
         HOST(my_cmd);
    End;If you are running on the web you will need something like WebUtil which is not available for Forms 6

  • GUI_DOWNLOAD with txt file?

    I can succesfully upload a csv, comma delimited, file, and manipulate it with GUI_DOWNLOAD. This way....
    DATA: BEGIN OF gt_coa_data_holder OCCURS 0,
             rec(200) TYPE c,
          END OF gt_coa_data_holder.
    CALL FUNCTION 'GUI_UPLOAD'
             EXPORTING
                  filename                = lv_filename
             TABLES
                  data_tab                = gt_coa_data_holder
    LOOP AT gt_coa_data_holder into <gs_coa_data_holder>.
        SPLIT <gs_coa_data_holder> AT ',' INT into wa-fields
    But I discovered the file has commas in it so I need to do this with a text, space delimited file. When I use the new txt, space delimited file the space appears as a # in gt_coa_data_holder but as a /h/ in the work area. Thus I can not split up the records lines field by field properly. Even when I say
    SPLIT <gs_coa_data_holder> AT '#' INT into wa-fields
    or
    SPLIT <gs_coa_data_holder> AT '/h/' INT into wa-fields
    I tried using different parameters like "has field seperator" whos default is space.
    Any suggestions?
                 Thank-You.

    Hello Tom,
    I've encountered a similar problem. Not being aware of the exits or abap classes as of which to use, what I've done is that...
    Downloaded the file on the presentation server into an elementary table of type c. Then used the SPLIT AT ','command and store them into the required table fields, here 'gt_coa_data_holder' .
    It worked this way!!
    Indu.

  • Accessing a Maxtor with windows file format

    Despite the instructions from maxtor my new maxbook pro cannot read the maxtor external drive (which has 760GB of data on it). I need advice on how best I can read the files. The mac disk utility offers to "first aid the disk" will this wipe my data? If so what other software or options are open to me?

    Disc first aid may not help you to access your pc files on a pc formatted disc but you may discover whether or not you can access the files or what the format of the drive is with Disc Utility.
    Someone might have a different program that can read or access the pc formatted drive.
    Disc 'first aid' is the first program that you should try when having problems with your mac drives.
    In disc first aid, begin with "verify" drive ... select the drive and click button "verify" If it then says you need to repair the disc, quit other programs using that disc and then click "repair".
    Disc utility is also used to verify or repair permissions.
    disc "first aid" is good and should be a first response to any problem with a mac.
    disk utility offers to erase or format? not good if you want your data, erasing and formatting on disc utility are approximately the same as far as deleting data.
    Is your external drive connecting with USB or with Firewire?
    Have you still got the computer that originally wrote to the drive? Was it Mac or PC? (edit- I read the post not the subject line first)
    Message was edited by: Rhyd

  • 1 hd with 2 file formats for use between mac and windows?

    Think this is the right forum...
    I want to instal a program onto an external hard drive for use on both mac and windows. The program supports both mac and windows.
    My plan is to get an external hd and partition it in half. One half i will format mac os extended and the other i will format ntfs. I'll instal the mac version on the mac partition and the windows version on the ntfs partition.
    This should work i'm thinking, yes? I.e. when i plug it into windows it'll run the windows installation no problem and when i plug it into the mac it'll run the mac installation no problem?
    Thanks.

    An easier solution might be to just connect the drive to a Windows PC and format it as FAT32. Both Windows (98 and higher) as well as Mac allow full read/write access to FAT32 formatted drives. No need to download any drivers, etc. It just works.
    Yes, this solution is not perfect, but none are. The free NTFS drivers for Mac are not most efficient drivers for speed/performance, the HFS+ drivers for Windows are not cheap, and have their own performance issues, and FAT32 has the limit of file sizes over 2GB (or is it 4GB now?) not supported. No one solution is perfect, but for the many one is better than the others, but it all depends upon their circumstances which is "better".

  • Need Help with audio file formats

    Can ssomeone give me a quick list of audio files that I can import into logic Pro 7? i'm surprised it doesn't import the normal wave file,
    Thanx
    John

    not sure if this will do it for you, but here is a link to a sample player preset for ultrabeat. you can use this to load up ultrabeat with your own samples
    http://www.logicprohelp.com/viewtopic.php?t=879

  • Photoshop CS5-Could not complete your request because of a problem with the file-format module interface.

    When I always try to open a picture, a pop-up always open displaying the said message. What will I gonna do? Help, please!

    Without proper system information and other details like what pictures you are trying to open from which storage locations nobody can tell you much.
    Mylenium

  • How to read only files with a certain format from folder with java

    I have this folder on the server and I only want to read files from this folder on the server... I only want to read files with the files format starting with error_ and ending with xml... an example of a file would be..
    error_123.xml
    I want something like this
    if(fileName.startsWith("error_") && fileName.endsWith(".xml")){
    but which java package will I have to use to read the file from the directory...

    Create an implementation of the java.io.FilenameFilter interface to match the pattern you need.
    Create a java.io.File object for the folder.
    Use the File.listFiles(FilenameFilter) method to get an array of File objects for the files in the folder that match the pattern.
    For each file in the array, create a FileInputStream, wrap it in an InputStreamReader, and wrap that in a BufferedReader (assuming you want to read the XML files as character streams).

  • How to examine pdf for image file formats, OCR, and layers

    Hi,
    I have a question about how to find out specific features of a pdf.  I am using Adobe Acrobat 9 Pro for windows.
    With any given PDF, I am looking to find out:
    a]  The specs of any image files used  to create the pdf (i.e., if the pdf is made up of text pages with image objects on top of them, are those image objects JPGs?  TIFFS?  What resolution are they? Are they compressed?)
    b]  Does this PDF have OCR already embedded in it?
    c]  Does this PDF have multiple layers?
    with a] -- file format is perhaps the most important, resolution and compression being second most
    with c] -- is there an easy way to see the layers, visually, on the page images?
    What is a smiple way to find out this information?
    I've poked around a bit in the "Examine Document" function, and various checks in "Preflight," as well as the help manual, and have found bits and pieces that look like some of what I'm looking for, but nothing simple or conclusive yet.
    Any help or advice would be wonderful!  I just want a simple way to be able to see what my PDF is made out of, in terms of image files, OCR, and layers.
    Thanks,
    Andrew

    Preflight is inded the best way to do this operation. You may have to read a bit to figure out what you are looking at, but that is the right route to take.

  • File format for newline character

    Hi there, I have a scenario to do. From IDOC to flat file. I receive a number of idocs and must convert them into a flat file. Each idoc must start on a new line. Each line represents a new record. I have done this and it works fine. But now the system reading the flat file is having trouble with the newline character. Im using ABAP mapping to create the flat file and the newline characters I tried are
    l_crlf(2) VALUE %_cr_lf
    l_crlf(1) VALUE %_NEWLINE
    Lest say I open the flatfile in MS Word and do a character count it shows as 100 char's but on there system it shows as 101. It has something to do with the file format..
    Does anyone know how to fix this?
    Thanx,
    Jan

    It turnes out that their file encoding was not the same as ours so I just changes the file type brom binary to text and set the encoding to UTF-8
    Thanx,
    Jan

Maybe you are looking for