.xls and .xlsx file upload in webdynpro

Hi All,
Its very urgent.Tried for many options, Searched the scn. But no result. None of them are consistent while uploading xls and xlsx file.
Sometimes the same file is working garbage value and sometime is working fine.
Even I tried using CL_FDT_XL_SPREADSHEET , but its always been caught by cx_fdt_excel_core.
Could anyone suggest me what to do in this case, as my client is not agreeing to any other kind of file .

Hi Prabhati,
     i had a similar requirement  but i was able to persuade my clients to use tab delimeted file(saved as xls).
XLS and XLSX excel upload in WDA - webdynpro
Thanks & Regards,
Tashi

Similar Messages

  • Unable to open .xls and .xlsx files from windows explorer or from Microsoft outlook using MS Office 2007

    When I double click on an .xls or .xlsx file Excel will open up, but I never see the file open up.
    If I right click on the excel file and say open with excel I then get the following error:
    "Windows cannot find file c:\test\test.xls.  Make sure you typed the name correctly, and then try again...."
    Everywhere I looked seems to indicate the file associations was messed up so per a technical document I deleted the .xls and .xlsx association and then ran the Office 2007 repair and rebooted.  Still not working even after office puts the .xls and .xlsx
    file associations in.
    Here is what I see the in .xls and .xlsx for the &Open action:
    Application: "C:\Program Files\Microsoft Office\Office12\EXCEL.EXE" /e
    UseDDE: Checked
    DDE Message: [open("%1")]
    Any guidance would be appreciated!
    Greg

    In the ened I had to go into Excel Options, Advanced, General, and uncheck the "ignore other applicaitons....".  BUT this only worked after doing the Office 2007 repair.

  • Add the ability to use .xls and .xlsx files for Data Merge

    Who wouldn't like that?!

    Me! Me!
    Or rather: I think the big empty part of Data Merge right now is its inability to handle XML input. Much as I detest XML, it seems like a lot of people would really like that to happen, it does appear to be a Web 2.0 -type technology that it's easy to get the InDesign Marketing team excited about.
    It's easy enough to convert XLS/XLSX into CSV (or XML), so I think improving XML would be a better use of scarce resources...
    (I can't believe I'm tossing out a vote in favor of XML. Kill me now!)

  • How to import the data in a .xls or .xlsx file into a oracle database table

    Hi,
    Please tell me how to import the data in a .xls or .xlsx file into a oracle database table in Oracle 10gR2 using Oracle Warehouse Builder 10gR2.

    ....can we do something through Non-Oracle->ODBC?Yes, it is possible, look at this thread
    [SQLServer access from AIX Warehouse builder|http://forums.oracle.com/forums/thread.jspa?messageID=2502982]
    If your server (with target DB and OWB runtime) is on Windows OS this configuration will be simpler - you can use single server.
    And additional link on OWB blog (with 11g transparent gateway)
    [http://blogs.oracle.com/warehousebuilder/2008/01/11g_heterogeneous_agent.html]
    (configuring nonoracle connection with 10g generic connectivity very similar to 11g gateway)
    Also look at
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358
    Regards,
    Oleg

  • Excel File Upload In Webdynpro For ABAP

    Hi All,
    I have a doubt regarding EXCEL file upload for Webdynpro for ABAP.
    I am able to get the path of file using 'FILEUPLOAD' UI element.Now I need to upload the EXCEL file into ALV.I have tried out with GUI_UPLOAD and other excel upload function module.But these Function Module throws Dump.
    Can you please suggest how to go about it.It will be a great help if u can suggest any function module or method.

    Hi Amita,
    Insetad of using GUI_UPLOAD use 'HR_KR_XSTRING_TO_STRING'
    Here is the sample code,
    TYPES :BEGIN OF str_itab,
                  name(10) TYPE c,
                  age(10) TYPE c,
                 END OF str_itab.
    DATA : t_table1 TYPE STANDARD TABLE OF str_itab,
           i_data TYPE STANDARD TABLE OF string,
                   lo_nd_sflight TYPE REF TO if_wd_context_node,
                    lo_el_sflight TYPE REF TO if_wd_context_element,
                    l_string TYPE string,
            fs_table TYPE str_itab,
                    l_xstring TYPE xstring,
    fields TYPE string_table,
    lv_field TYPE string.
    DATA : t_table TYPE if_main=>elements_data_tab,
    data_table TYPE if_main=>elements_data_tab.
      * get single attribute
    wd_context->get_attribute(EXPORTING name =  `DATASOURCE`  
                              IMPORTING value = l_xstring ).
    CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
    EXPORTING
    in_xstring = l_xstring
    IMPORTING
    out_string = l_string.
    SPLIT l_string  AT
    cl_abap_char_utilities=>newline INTO TABLE i_data.
      * Bind With table Element.
    LOOP AT i_data INTO l_string.
    SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE
    fields.
    READ TABLE fields INTO lv_field INDEX 1.
    fs_table-name = lv_field.
    READ TABLE fields INTO lv_field INDEX 2.
    fs_table-age = lv_field.
    APPEND fs_table TO t_table1.
    ENDLOOP.
    lo_nd_sflight = wd_context->get_child_node( 'DATA_TAB' ).
    lo_nd_sflight->bind_table( t_table1 ).
      ENDMETHOD.
    if correct give correct answer
    Thanks & Regards,
    Meenachi.R

  • Problem in seeing the .xls and .pps file content

    hi all
    i have uploaded files to my server using jsp and i am giving the link to see the uploaded files to user
    it is working fine for .doc,.jpg ,.html ,.txt ,.ppt files
    but not for .xls and .pps files
    thought when on save traget as.... (on user's computer )it is working
    but on simple left click on the link (of .xls file)
    the bytecode data is opened in the browser window
    plz help

    check that your 0fiscper in cube is mapped to 0fiscper from communication structure in update rules.
    Please give me the details of mappings you have
    Cheers
    SB

  • I have office 2004. what do i have to buy, download, install to open and edit pptx, docx and xlsx files?

    i have office 2004. what do i have to buy, download, install to open and edit pptx, docx and xlsx files?

    Visit  Microsoft  at this site download converter.Install drag XML file and it creates a standard .doc, .xls or .ppt copy on your desktop.
    Its free and works a charm.
    NO need to spend a penny/cent
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=6B9238E1-CF69-48C4-B F2D-C4A8ACEEE520

  • 3.1EA1 bug: Exporting 300K records to a .xls or .xlsx file

    Hello:
    Exporting a large query result (300K records) into a .xls or .xlsx file will cause SQL Developer to hang. On some occurences, SQL Developer will not hang, but the file created is empty.
    Thanks,
    Adrian

    Hi Adrian,
    This is a known issue and even documented in the SQL Developer Help. Here are a couple of prior threads discussing it. To summarize their advice, either export to a csv file instead, or increase the Java VM's Xmx limit:
    Re: Export to Excel Hangs
    Re: the developer 3 crashed,when i exported the data out xls ,why?
    Regards,
    Gary
    SQL Developer Team

  • How to Save a file uploaded in WebDynpro Java to Windows server

    Hi Guys,
    I need to save a file uploaded in WebDynpro Java to a location on one of my companys many internal Window servers but I cannot get it to work.  I do not get any errors with the following code, but NOTHING happens...  And when I check the folder it is still emply...  Please advise.  I am particularly not sure about specifying the Path syntax.  Also, I do have permission to write to this server.  Is it even possible to save to a Windows server from WebDynpro??
    //uploaded document already in context...
    byte[] file = element.getFileResource();
                //    get the size of the uploaded file  
                element.setFileSize(this.getFileSize(file));
                wdContext.currentContextElement().setFSize(this.getFSize(file)); 
                //    get the extension of the uploaded file       
                element.setFileExtension(binaryType.getMimeType().getFileExtension());
                String fName = wdContext.currentContextElement().getFName();
                String fExt = wdContext.currentContextElement().getFileExtension();
                String foName1 = "
    server01.w9\Files\P
    HRP_Attachments\" + fName + ".pdf";
                File f1 = new File(foName1);
                DataOutputStream dos1;
                dos1 = new DataOutputStream(new FileOutputStream(f1));
                dos1.write(file);
                dos1.flush();
                dos1.close();
    Edited by: christiaanp on Sep 30, 2011 8:07 AM

    Hi Christiaan,
    When specifying the path, make sure you escape the slashes
    So, when you would normally use something like
    \\server\path\file.txt
    in your code you must use it in the form:
    String fileName = "\\\\server\\path\\file.txt";
    Hope this helps!
    Robin van het Hof

  • Flex and php file uploader cross browser problems

    Hi, I have a problem in flex and php file uploader. It was
    working fine in Internet Explorer, but nothing would work in
    Firefox and in other browsers. Firefox and other browsers was not
    sending the session with the file upload and was producing a login
    error. On IE the session cookie is picked up and the upload request
    uses the authenticated session, no login error. I'm newbie in flex.
    Please help me. Thanks in advance!
    Here's my code:
    bgupload.mxml

    Hello, I am Gamaliel Arredondo, i have solved this problem, the error is in the code, you have a mistake in your code, check it out.
    The way to run the flex applications, in my case, i installed xampp, in the htdoc directory i put the folder with the files of the application and all is working very well, only when the apache is running because if it is stoped the application show error, please review your code and if you have problems you can contact me by e-mail ([email protected]) i also fought with that problem but i could find the solution, i hope to help you.

  • How To Automatically Open docx and xlsx files in Safari

    I am been doing some searching but don't seem to be able to find an answer to what must be a very simple setting I am missing somewhere.
    We have an intranet site with links to a number of docx and xlsx files, I need to tell Safari to automatically open those files rather than simply placing them in the download folder. The only information I could find mentioned creating a file called "com.apple.DownloadAssessment.plist", I found an example of that file that was supposed to do what I am looking for but as far as I can tell the version of Safari I am running (5.1.9) is ignoring this file (placed in my user's preference folder in the Library).
    It is frustrating to not be able to figure this out, typically I have no problem finding very basic settings such as these but this has me lost. In Firefox it is trivial and it must be in Safari too. Can anyone help tell me what I need to do so that Safari will automatically open newer MS Office files?
    Thanks in advance.

    Yes, but there at least you are talking to people who all use the app, while in this forum (which is for hardware and not software in any case, so already off the mark, since the problem has nothing to do with hardware), it is probably a minority.
    A better place would be
    https://discussions.apple.com/community/mac_os/os_x_mountain_lion
    and or
    https://discussions.apple.com/community/mac_os/safari
    I did see someone from serveral years ago with the same problem at
    http://www.neowin.net/forum/topic/877358-open-microsoft-office-files-automatical ly-after-download-in-safari/
    I wonder if there is another list somewhere of permissible extensions in that .plist....

  • How Can I Import Contacts from Excel (XLSX/XLS) and CSV file to VCF File?

    Hi Friends,
    I have stored my all official and personal contacts list in the Excel (XLSX/XLS) spreadsheet and CSV file from long time. But now, I want to move my all contacts in an MS outlook 2013 and also Samsung S4 Contacts directory. But for this process, I require to import all Excel and CSV file contacts into VCF file format. So that, I could export vCard (VCF) file in the outlook and Samsung S4 contacts book. But I don't know about this process that how to import Excel and CSV file contacts into vCard format. If anyone has best solution to import and export excel or CSV file contacts into VCF file, so please share with me that information.
    Thanks & Best Regards
    Jackson T.
    <Edited By Host>

    https://itunes.apple.com/gb/app/csv-to-vcard/id713295900?mt=12

  • [BUG] Exporting to xls and xlsx produces empty file

    When I'm viewing a table with data, and in Actions choose "Export...", turn off "Export DDL", choose "xls" for format, everything else is on default, and either leave empty or enter same name for both Query and Data worksheet names, and specify filter query - export produces empty xls/xlsx file. Only when one explicitly enters different worksheet names does valid non-empty excel workbook get generated with two differently named worksheets.
    Either validation should be added for worksheet names, or generating them automatically on export should be supported.
    I'm using Oracle SQL Developer 3.1.07.
    Kind regards,
    Stevo.

    Hi Stevo,
    Really appreciate you reporting this. There was an earlier, somewhat similar thread on this issue that we blamed on export file size:
    Sql Developer 3.1 - Exporting a result set in xls generates and empty file
    But you have discovered an important variation that explains it for small export file sizes also. Here is what I verified on 3.1.07.42:
    1. Normally if the worksheet names are left untouched (empty), then the names default to Export Worksheet and SQL
    2. If the name settings in Tools|Preferences|Database|Utilities|Export|Excel Format are null (empty), there is no problem
    3. If the name settings are intentionally changed to a single blank character, then the problem you describe occurs.
    So, you may wish to go to the preference settings and intentionally Backspace over each to null it out, then click OK.
    In the case of intentionally setting both worksheet names, data and query, to the same non-null value, that is also a problem.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Apr 17, 2012 11:55 AM
    Logged a bug for this:
    Bug 13971991 - FORUM: EXCEL FILE EMPTY IF DATA AND QUERY WORKSHEETS ARE THE SAME AND NON-NULL
    Edited by: Gary Graham on May 25, 2012 2:00 PM
    Notification received: fixed for 3.2

  • File Upload Using WebDynpro

    Hi All,
    I want to upload single or multiple CSV files using a user interface written in WebDynpros. The files will then be parsed and converted to XML.
    I did something similar with jsps earlier but am not sure how to go about it with WebDynpros.
    If anyone has already done something similar then please share your views.
    Thanks in advance.
    Noaman

    Hi,
    check this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web dynpro sample applications and tutorials.htm#ui
    File Upload/Download 23/30
    Tutorials will help you.
    Regards,
    RK

  • Problem facing with file upload in webdynpro

    hi
    this is sathya, i very thank ful  to your answers, coming to my problem
    i have written the code for file upload action method, in this below code there is no syntax problem.
    but there is a run time error , i.e convt_no_number
    kindly rectify that.
      data:  lt_final type table of zalvtab,
             ls_final type zalvtab,
             "t_table1 TYPE STANDARD TABLE OF str_itab,
             "fs_table TYPE str_itab,
             i_data TYPE STANDARD TABLE OF string,
             lo_nd_zalvtab TYPE REF TO if_wd_context_node,
             lo_el_zalvtab TYPE REF TO if_wd_context_element,
             l_string TYPE string,
             l_xstring TYPE xstring,
             fields TYPE string_table,
             lv_field TYPE string.
      DATA : t_table TYPE if_main=>elements_sel_node,
             data_table TYPE if_main=>elements_sel_node.
    " get single attribute
        wd_context->get_attribute(
           EXPORTING
           name =  `upload`
           IMPORTING
             value = l_xstring ).
      CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
        EXPORTING
          in_xstring = l_xstring
        IMPORTING
          out_string = l_string.
        SPLIT l_string  AT cl_abap_char_utilities=>newline INTO TABLE i_data.
    " Bind With table Element.
       LOOP AT i_data INTO l_string.
        SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
        READ TABLE fields INTO lv_field INDEX 1.
        ls_final-ebeln = lv_field.
         READ TABLE fields INTO lv_field INDEX 2.
        ls_final-ekorg = lv_field.
         READ TABLE fields INTO lv_field INDEX 3.
         ls_final-bukrs = lv_field.
         READ TABLE fields INTO lv_field INDEX 4.
         ls_final-ebelp = lv_field.
          READ TABLE fields INTO lv_field INDEX 5.
         ls_final-menge = lv_field.
         READ TABLE fields INTO lv_field INDEX 6.
         ls_final-netpr = lv_field.
         READ TABLE fields INTO lv_field INDEX 7.
         ls_final-aedat = lv_field.
         READ TABLE fields INTO lv_field INDEX 8.
         ls_final-waers = lv_field.
         READ TABLE fields INTO lv_field INDEX 9.
         ls_final-description = lv_field.
          APPEND ls_final  TO lt_final.
      ENDLOOP.
      lo_nd_zalvtab = wd_context->get_child_node( 'sel_node' ).
    lo_nd_zalvtab->bind_table( lt_final ).

    Hi Sathya,
             I guess you are trying to upload data from excel file(XLS format).
             If it is correct then you cannot do this in webdynpro, first you save the excel file as tab delimited.
             Open your excel file->save as->other formats->give file type as TEXT(Tab delemited).
             Now use this file to upload. It should work perfectly.

Maybe you are looking for

  • Should I use one apple id with multiple devices?

    I have 2 iPods an iPad and a new iPhone. Should I use the same Apple ID on all decvices?  The iPods are for the kids to use. Also, will be adding apple tv soon...

  • What are the pros and cons re using an intel iMac vs MacPro with LP8?

    I'm considering getting a new intel Mac in the near future (presuming a new MacPro will be released in the near future - maybe at the same time as Leopard). I compose largely for film and television and I am composing largely using a combination of l

  • ORA-907 ERROR WHEN IMPORT (COMMENT 처리)

    제품 : ORACLE SERVER 작성날짜 : 1997-10-15 ORA-907 ERROR WHEN IMPORT (COMMENT 처리) ======================================== ORA-907: missing right parenthesis error 이 error 는 export 한 table 을 create 시 comment 를 사용한 경우 발생하는 ORACLE error 이다. 이는 version 8.0.4

  • Printing Light Table

    My first attempt to print a four image Light Table was very frustrating. In spite of my repeated efforts to tweak the images, and in spite of the set looking fine in the preview, the print out was clipped. Thanks Mike

  • New Logic Boards are eating up my eligable computers

    I need some help, I have had two logic boards fail on my laptop, both replaced by apple under warranty, so that is all fine, but each time that has happened it has used up one of my eligible computers for my iPhone. Any way around this. Thanks guys.