Data transfer problems office 2007 files

Hallo,
i have a problem to transfer docx, xlsx and so on with gui_upload.
With open dataset it worked, but i will transfer files(docx, xlsx ..) from frontend with gui_upload. It dosn´t work.
Have anyone a idea?
CALL METHOD cl_gui_frontend_services=>gui_upload
  EXPORTING
     filename                = iv_path
     filetype                = 'BIN'
   HAS_FIELD_SEPARATOR     = SPACE
   HEADER_LENGTH           = 0
   READ_BY_LINE            = 'X'
   DAT_MODE                = SPACE
    codepage                = lv_cp2
   IGNORE_CERR             = ABAP_TRUE
   REPLACEMENT             = '#'
   VIRUS_SCAN_PROFILE      =
  IMPORTING
    filelength                = lv_filelength
   HEADER                   =
    CHANGING
      data_tab                = lt_line
Thanks.

Dear Harryatworld,
Try with different variations for 'FILETYPE' i.e (BIN,ASC,DAT) and 'HAS_FIELD_SEPARATOR' parameter.
The differences will be available in the method documentation.  
I had a similar requirement to read from a xlsx file in my project. The below code helped in my case.It reads both xls and xlsx filetypes.
types: begin of ty_output,
      sno(5)          type c,
      obj_type(20)    type c,
      out_level(2)    type c,
      out_num(20)     type c,
      id(24)          type c,
      desc(40)        type c,
      network(12)     type c,
      netprof(7)      type c,
      nettype(4)      type c,
      wbs_net(24)     type c,
      ctrl_key(4)     type c,
      wbs_elem(24)    type c,
      dur(15)         type c,
      pred            type string,
     end of ty_output.
data: it_output type standard table of ty_output.
CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
      FILENAME                      = l_v_filename
     FILETYPE                       = 'DAT'
     HAS_FIELD_SEPARATOR           = 'X'
    HEADER_LENGTH                 = 0
    READ_BY_LINE                  = 'X'
    DAT_MODE                      = ' '
    CODEPAGE                      = ' '
    IGNORE_CERR                   = ABAP_TRUE
    REPLACEMENT                   = '#'
    CHECK_BOM                     = ' '
    VIRUS_SCAN_PROFILE            =
    NO_AUTH_CHECK                 = ' '
  IMPORTING
    FILELENGTH                    =
    HEADER                        =
    TABLES
      DATA_TAB                      = it_output
   EXCEPTIONS
     FILE_OPEN_ERROR               = 1
     FILE_READ_ERROR               = 2
     NO_BATCH                      = 3
     GUI_REFUSE_FILETRANSFER       = 4
     INVALID_TYPE                  = 5
     NO_AUTHORITY                  = 6
     UNKNOWN_ERROR                 = 7
     BAD_DATA_FORMAT               = 8
     HEADER_NOT_ALLOWED            = 9
     SEPARATOR_NOT_ALLOWED         = 10
     HEADER_TOO_LONG               = 11
     UNKNOWN_DP_ERROR              = 12
     ACCESS_DENIED                 = 13
     DP_OUT_OF_MEMORY              = 14
     DISK_FULL                     = 15
     DP_TIMEOUT                    = 16
     OTHERS                        = 17
Regards,
Rijuraj

Similar Messages

  • MS Office 2007 files are not being indexed (Failed to Index)  in oracle

    Oracle is not able to index MS Office 2007 files who are having extensions like *.docx, *.pptx, *.xlsx. I googled and found that its a bug in oracle. Have they released the fixes for it.
    Request to please help me in this regard

    user10933671 wrote:
    There is no particular error it shows. The files are not getting indexed. In our application it says currently *.docx files are not index. My Oracle client is of version 10.2.0.
    Since am really new to this, can you please tell me where i can find Metalink note 732823 as am not a paid customer.
    That would be a problem. Access to patches (and MetaLink) are part of what you pay for when you buy a support contract.
    Plz help me in this regard
    Thanks in advance
    Edited by: user10933671 on Apr 15, 2009 5:53 AM

  • 575 LRE and data transfer problems

    575 LRE and data transfer problems
    Hello,
    I have a connection from my provider using the Cisco 575 LRE, configured for 10 Mbit/s. I don't know the make and model of the switch but I assume it is likely a Cisco device also.
    I'm experiencing problems with the LRE connection whenever big files are being transfered simultaneously in both down- and upstream directions to/from a PC. The data transfer may slow down to a stall and all WAN connectivity may become momentarily blocked. Transfer speeds and reliability always seem good as long as big files don't get transferred in both directions at the same time.
    What could cause this problem? My service provider says that they see no problems in their end and they are unable to help me. I don't know how extensively they have looked into any possibility of problems though.
    I've tried different 100Mbit network cards, replacing ethernet and phone cabling and changing duplex settings and MTU, but nothing has completely solved the problem so far. Forcing network cards to full-duplex does prevent the worst slowdown and hanging described above, but limits upload speed to around half of the maximum available.
    Not sure if this is meaningful here, but my service provider claims they have the switch my CPE is connected to configured for full-duplex, but when I have a PC network card set to autonegotiation, it will always result in a 100baseTX half-duplex link with the 575 - this is the case where I get maximum speed in either one direction but also the mentioned problems with bi-directional transfer.
    I don't know what more I can do to the PCs here to solve this problem and I don't have access to configuring the CPE device, because I don't own the switch it is connected to. I can only think of trying to ask my ISP to read this thread if someone has a possible solution that requires actions on their behalf.
    Any help would be much appreciated.

    The problem, as you describe it, is most likely cabling ...it could be the cable between your PC(s) and the 575 (most likely), or between the 575 and the switch.
    What you are seeing are the effects of crosstalk (signal from one pair interfereing with the other pair), that's why you see it in full-duplex mode and not (so much) in half-duplex (with half-duplex, only one side talks at a time).
    The only part you would be likely be able to change would be the connections on your side of the 575 ... so, try another cable; preferably a store-bought cable and in good shape (twisted, crushed, kinked, stretched, and poorly constructed cables are a Very Bad Thing).
    LRE was designed to handle voice-grade cabling, but if you're at near the extreme length, you may see some degradation.
    Good Luck
    Scott

  • Add-On to Open Office 2007 Files

    An Apple salesman told me there is an add-on to open Office 2007 files in Office:Mac. Can someone point me to the download location for this? I'm a brand new Mac user so I'm still a little lost. Thanks!

    The salesman was wrong. The converter is not yet available.
    Please search the discussions before posting, as your question has already been asked and answered:
    http://discussions.apple.com/thread.jspa?messageID=4394289&#4394289

  • Reading office 2007 files on my curve 8900

    Hi
    I have recently been provided with a curve 8900 by my company. I can read office 2003 file e.g. .ppt but not office 2007 files e.g. .pptx
    does anyone know if I can do this  please and if so how

    I was wondering whether there is anyway of getting a 512mb or 1gb graphics card into the new iMac?
    Sorry but no, there isn't.
    Does anyone know how I can open docx files or any other Office 2007 files on Microsoft Office for Mac 2004
    Try Microsoft's Open XML File Format Converter

  • Support for Office 2007 files (especially docx) ?

    Hi,
    can you please give me a hint if it's possible to use ora-text with the current office 2007 file formats ?
    I need to have support for word 2007 (docx) format very soon
    Is it already available ?
    If not, is there a plan to support those formats ?
    Thank you

    Hi,
    the workaround descrived above would also work for your plsql app. Therefore you can use the PL/SQL XSLT Processor in order to extract the content needed from the office 2007 documents. See DBMS_XSLPROCESSOR.
    What is your business case? How do you store and index your documents?
    p.s Here is an example of an xslt to extract the text content from an docx document. The internal structure of docx document is based on the Open Packaging Conventions (see http://openxmldeveloper.org/articles/OPC_parts.aspx )
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
    xmlns:v="urn:schemas-microsoft-com:vml"
    exclude-result-prefixes="w v">
    <xsl:output method="text" indent="no" encoding="UTF-8" version="1.0"/>
    <!-- document root -->
    <xsl:template match="/">
    <!-- root element in document -->
    <xsl:apply-templates select="w:document"/>
    <!-- root element in header -->
    <xsl:apply-templates select="w:hdr"/>
    <!-- root element in footer -->
    <xsl:apply-templates select="w:ftr"/>
    <!-- root element in comments -->
    <xsl:apply-templates select="w:comments"/>
    <!-- root element in foornodes -->
    <xsl:apply-templates select="w:footnotes"/>
    <!-- root element in endnodes -->
    <xsl:apply-templates select="w:endnotes"/>
    <!-- root element in glossary -->
    <xsl:apply-templates select="w:glossaryDocument"/>
    </xsl:template>
    <!-- ****************************
    start document
    **************************** -->
    <xsl:template match="w:document">
    <xsl:for-each select="//w:p">
    <xsl:apply-templates select="*/w:t"/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <!-- used for word art text -->
    <xsl:apply-templates select="//v:textpath"/>
    </xsl:template>
    <!-- get all text nodes within a para -->
    <xsl:template match="*/w:t">
    <xsl:value-of select="."/>
    </xsl:template>
    <!-- gword art text -->
    <xsl:template match="//v:textpath">
    <xsl:value-of select="@string"/>
    </xsl:template>
    <!-- ****************************
    end document
    **************************** -->
    <!-- ****************************
    start header
    **************************** -->
    <xsl:template match="w:hdr">
    <xsl:for-each select="//w:p">
    <xsl:apply-templates select="*/w:t"/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    </xsl:template>
    <!-- ****************************
    end header
    **************************** -->
    <!-- ****************************
    start footer
    **************************** -->
    <xsl:template match="w:ftr">
    <xsl:for-each select="//w:p">
    <xsl:apply-templates select="*/w:t"/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    </xsl:template>
    <!-- ****************************
    end footer
    **************************** -->
    <!-- ****************************
    start comments
    **************************** -->
    <xsl:template match="w:comments">
    <xsl:for-each select="//w:t">
    <xsl:value-of select="."/>
    <xsl:text> </xsl:text>
    </xsl:for-each>
    </xsl:template>
    <!-- ****************************
    end comments
    **************************** -->
    <!-- ****************************
    start footnodes
    **************************** -->
    <xsl:template match="w:footnotes">
    <xsl:for-each select="//w:p">
    <xsl:apply-templates select="*/w:t"/>
    <xsl:text> </xsl:text>
    </xsl:for-each>
    </xsl:template>
    <!-- ****************************
    end footnodes
    **************************** -->
    <!-- ****************************
    start endnodes
    **************************** -->
    <xsl:template match="w:endnotes">
    <xsl:for-each select="//w:p">
    <xsl:apply-templates select="*/w:t"/>
    <xsl:text> </xsl:text>
    </xsl:for-each>
    </xsl:template>
    <!-- ****************************
    end endnodes
    **************************** -->
    <!-- ****************************
    start glossary
    **************************** -->
    <xsl:template match="w:glossaryDocument">
    <xsl:for-each select="//w:p">
    <xsl:apply-templates select="*/w:t"/>
    <xsl:text>
    </xsl:text>
    </xsl:for-each>
    <!-- used for word art text -->
    <xsl:apply-templates select="//v:textpath"/>
    </xsl:template>
    <!-- ****************************
    end glossary
    **************************** -->
    </xsl:stylesheet>
    Edited by: user304344 on Mar 30, 2009 10:23 PM

  • Pub 6.4 and Office 2007 file extensions.

    Hello all,
    I had an issue pop up recently regarding ALUI 6.5.1, Publisher 6.4, and Office 2007 files.
    Our user base was upgraded to Office 07 several months ago, and we modified our crawlers to handle the new file extensions. We also have a Publisher portlet where users can post various for sale items; kind of a company bulletin board. This portlet uses the News template and sometimes users will attempt to publish a Word or Excel document link to accompany their for sale item. The portlet will publish okay, but when we click on the doc link we get a pop up window that shows the file name with a .ZIP extension and not the correct .DOCX or .XLSX extension. Of course the file does not open either.
    Other than instructing users to save files in the older format/name, is there a way for Publisher 6.4 to support the new file extensions of Office 07? Would this work in Pub 6.5?
    Thanks for any help.

    Any solution to this?
    We are on Publisher 6.5 and are getting the same error.
    I'm assuming this is an issue with the Publisher mime-types (which aren't the same as the general portal mime-types) not being set for the new extensions?
    But it is curious that it is redoing them as .zip files!

  • Office 2007 files

    How can I open office 2007 files from BB 8820?
    Baha

    if you receive the file by email, you can view it by clicking on it.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Gaming on new iMac. / Office 2007 files on Mac.

    1)
    My brother plays a lot of games and is currently using a N-Vidia GeForce 512MB Graphics Card.
    I want to get him the new iMac because his current PC is too outdated (yeah it runs windows, lol). I was wondering whether there is anyway of getting a 512mb or 1gb graphics card into the new iMac?
    2)
    Does anyone know how I can open docx files or any other Office 2007 files on Microsoft Office for Mac 2004. I haven't been able to find anything anywhere.
    Thanks.
    Message was edited by: sidmenda

    I was wondering whether there is anyway of getting a 512mb or 1gb graphics card into the new iMac?
    Sorry but no, there isn't.
    Does anyone know how I can open docx files or any other Office 2007 files on Microsoft Office for Mac 2004
    Try Microsoft's Open XML File Format Converter

  • New Mac User Needs help opening Microsoft office 2007 files on a Mac!!!

    I just got a used ibook G4. I had an old Pentium upgrade IBM before. I love my Mac, but I need my old school files form my IBM. I have OpenOffice.org 2.2 for Mac OS X 10.4.11 and I have a file converter program called X 11 that opens with a huge list of options for converting files, but it dose not say Microsoft offices 2007 it says the version numbers. I tryed the latest version and It wouldn't open in OpenOffice.org. Should I use Apple Script instead? I don't have Apple Works do I need it? I just want to look at the files. Why is there not a office viewer for Mac?

    You have Tiger. Tiger=10.4.x; Panther=10.3.x; Leopard=10.5.x.
    If you are trying with OpenOffice 2.2, it might be worth updating. I have version 2.4, which is the latest. Since 2.4 fixes a security issue, you should update if you plan to use the application anyway.
    NeoOffice, as a previous poster pointed out, should be able to open Office 2007 documents.
    See the discussion at http://user.services.openoffice.org/en/forum/viewtopic.php?f=5&t=4542 for the main OpenOffice thread discussing this issue. It discusses the ODF converter at sourceforge which NeoOffice uses to open Office 2007 documents. Apparently, you can use it with regular OpenOffice, too, but if 2.4 doesn't come with it (and maybe it does - I haven't checked), it might be easier to use NeoOffice for now.
    X11 is not a file converter, by the way. It is the traditional unix GUI. Apple provides a version of this for OS X which enables you to run applications which haven't been ported to the native OS X environment. OpenOffice for Mac OS X uses X11 as do some other applications, such as GIMP, which you may have heard of/used. NeoOffice is a version of OpenOffice ported to the native OS X environment (i.e. it doesn't have to use X11). I haven't used it in a long time - I always use OpenOffice on X11 - but it is supposed to be very good now and should seem very familiar if you're used to OpenOffice. If you can't get OpenOffice to work with your files, you should definitely try NeoOffice before buying MS Office - unless, of course, you especially want to send MS a few hundred of your preferred currency.
    The other thing you can try, if you've still got Office on your IBM machine is converting the files there by opening them and choosing "save as...". That should allow you to select an earlier version of Word/Excel/... which OpenOffice should have fewer problems with. Since you may lose formatting this way, try the other options first. (Also, if you have a lot of files, this option will be very annoying to implement.)
    I do not think AppleWorks is likely to help. (I'm not sure if AppleWorks is even still available... somebody?) There are some suggestions Pages might help, but I would personally try the other solutions first. (On the other hand, I have a very old version of Pages.)
    AppleScript is almost certainly not what you want. It has nothing to do with AppleWorks. It is a scripting language.
    Good luck,
    cfr

  • Canon EOS Utility, 5D3 and Mountain Lion (10.8.2): connection/data transfer problems

    Hi all,
    a few days ago I bought the 5D3, which replaced the 5D2.
    I'm experiencing problems in communication between the camera and Mac Book Pro (17" - i7 - 8GB) using EOS Utility (v. 2.12.3) as well as Lightroom 4.3: when I try to transfer photos to my Mac, sometimes the transfer works, sometimes it freezes and crashes (EOS Utility crashes, while LR at the end says he's not able to read the files).
    Strangely this what happens randonmly and if the storage format is raw, or if it is the raw along with jpg, if I use only jpg seems to happen a lot less often.
    Today I tryed to do same things (photo transfer and thetering) using using a PC with windows 7 x64 with the same softwares (Lightroom 4.3 and EOS Utility 2.12.3): everything worked flawless.
    I'm inclined to think that problems are due to incompatibility issues between Mountain Lion and camera firmware's data-transfer protocols...
    Have any of you encountered similar problems?
    Daniele

    Hey Daniele - I am in the *exact* same boat as you - RAW transfers work a little, and then EOS Utility freezes.  I hope someone has a solution!

  • OFFICE 2007 file attachements in SO_DOCUMENT_SEND_API1

    Hi Experts,
    In our existing application, the mails along with attachments are sent by using the function module 'SO_DOCUMENT_SEND_API1'.
    The attachments having four letter extension (DOCX, XLSX, PPTX,....) are not opened properly.
    When I do analysis I find that the document extension is supported for 3 characters only (PACKING_LIST-DOC_TYPE).
    Please provide solution to send the files as attachment which are having four characters extension.
    Regards,

    Hi Gupta,
    The FM SO_DOCUMENT_SEND_API1 can be used only to send formats prior to 2007 formats. You can send the documents in same format as office 2007 supports previous formats.
    Please go through the following links
    [ http://forums.sdn.sap.com/thread.jspa?threadID=1291137]
    [[http://forums.sdn.sap.com/thread.jspa?threadID=1224671]
    Regards,
    Aravind.
    Edited by: Aravindhan Palanivel on Feb 16, 2012 8:54 AM

  • Data Transfer Problem Getting Status 51

    Hi Experts,
    I have two logical systems namely cln 000 and t90clnt090 assigned to clients 000 and 800 respectively,
    and i am transferring data from 800 to 000.
    My message type is matmas and i am tranferring data using tcode bd10,but while i am transferring the data my outbound idoc shows the status of 03 in the sending system but in the receiving system i am getting a status of 51 and when i acces the application log it says something like this
    The material T-BW07-28 does not exist or is not activated
    Message no. M3305
    Diagnosis
    You wanted to display or process data on the material T-BW07-28. However, the material does not yet exist; that is, it has not yet been created, or its creation has been scheduled, but the material has not yet been activated.
    Procedure
    Check and correct your entry.
    Now what can i do to solve this problem.
    Regards
    Abhinab.

    Hi Abhinab,
    Please be informed that we cannot create materials through idocs.  See you are able to transfer data through ALE from one system to another, even though that material is not present in receiving system, only thing is that data cannot be processed successfully,there are some conditions which are required to be met for the data to be processed successfully.
    Like in your case when you are trying to send data for a material which is only present in sending system, still idoc is generated, it contains data and you can see that data in receiving system in we02 through inbound idoc, but in inbound system the idoc which carries data cannot be processed sucessfully due to inconsistencies in data.
    It is not only material number that you are trying to send when you send data by using message type MATMAS, but it also carries other properties of material like material type, material group etc depending on which basic type you are using (for eg. MATMAS05). You can see the documentation for basic type through transaction WE60. So if you want the data related to that material number to be processed successfully, at least that material should be present in inbound system and material should be active.
    For the other error which you are getting while creating material directly through MM01
    The field MARA-RMATP is not ready for input and was therefore not initialized.
    The field MARA-BMATN is not ready for input and was therefore not initialized
    I dont have much idea about this but as far as i think you should try using BDC or using BAPI (BAPI_MATERIAL_SAVEDATA).
    Again for the data to be processed successfully , you should fix all data related problems then try transferring data from one system to another.
    Hope i am able to clear to some extent.
    Regards
    Vinod

  • My nokia n 95 data transfer problems

    hi guys i just got this n 95 a week ago and i am trying to transfer video files to my nokia phone
    but when i connect it to usb and select "data transfer mode"
    its giving me a message on my phone
    "USB data transfer mode activated. Mass memory may not be used during this time"
    and i am not able to save files to my phone
    when i save it its showivg me on my computer when i open "Removable disk D" drive my files are in phone like the vedeo file but when i disconnect the phone and go to my videos its empty
    i just dontknow what should i do should i return the phone or what
    please someone help me
    thanks

    Hi,
    maybe format of video files you've copied to the device memory are not readable by phone. Did you convert it using Nokia Video Manager (part of Nokia PC Suite) on 3gp or mp4.
    And if you connect phone with PC use PC Suite mode instead of the USB. You will have acces to all yours phone memories
    Cheers
    Message Edited by hieronim69 on 24-Jan-2009 03:39 PM
    N95 & N96 User

  • Log and transfer problem with prores files

    Working on RED project. Started several months ago. Shooting and logging as we go. Project setup on FCP, RED media converted to prores422 proxy with RED software(rocketcineX) and saved on Internal 2 TB RAID. NO problems for past 4 months. Moving prores422 proxy files into FCP via Log and Transfer. (I thought this was necessary, is it?) Anyway its working just fine. Loaded a thousand or so clips to date. Last transfer was August when brought in some P2 media. Now when I go and try to bring in the prores422 proxy clips as before suddenly I get error message of "unsupported media or invalid directory structure. This even applies to all the older files that I had already transferred by log and transfer. They worked before but now they don't. Any suggestions as to why the change? The project will be conformed back to original RED r3D files after edit. Any help greatly appreciated.
    Thanks,
    Jeff

    First, get Preference Manager from Digital Rebellion (free) and trash FCP preference files. Run Disk Utility to repair all drives (Repair Permissions on OS drive). This should be done once a week, anyway. Disk Warrior would be your last resort (and should be run once a month on your drives, anyway). If Disk Warrior won't fix the problem, you have a dead hard drive. Replace it, restore from the backup you've been making of your data on a regular basis. I mean, you do have a backup that you do almost daily for such a large and important project, right?

Maybe you are looking for

  • Bookmark Issue in WAD (Report Output without Variable Screen)

    Hi , This issue is with the Saving of Report Output to Bookmark. Expected Output: Clicking on the Bookmark should bring out the Report Output with the Period and Year, which was used while saving the Bookmark. It should not pop up variable screen at

  • How to import Verizon Cloud contacts to new iPhone 6

    My HTC DNA battery quit working and would no longer boot up. Luckily I had my contacts backed up to Verizon Cloud. I just purchased a new iPhone 6, however, my contacts will not import to the new IPhone 6. What am I doing wrong? It doesn't give me th

  • Using Infoprovider as data provider in BExGetdata

    Hi Folks, I am trying to use, Infoprovider (a multi-provider) as data provider in one of query which uses BExGetData function module to retrieve data from BI. However I am getting #NV everywhere in data.. (#NV means query is not able to recognize dat

  • Which alsa modules do I really need?

    Hi everyone, I set up sound on a very old PC. At first I set module autoloading in rc.conf, in order to check which sound modules my hardware need. I then realized it could take up to 20 seconds to load udev events at boot time, so I put my sound mod

  • Time Machine | won't back up same drive under another user

    Basically what has happened is my RAID 0 4TB "Media" started to failed (bad sectors) and my only back up was Time Machine. I have two user accounts; Admin and my user account. I logged in under Admin to run time machine for the last time before the d