MS Word document upload

Hi,
I am trying to upload MS Word document into content management folder. But it is throwing an error message "XXXXXXXX not exist, or file is empty; you cannot upload empty files" we are on EP7 sp8.
Is it problem with KM patch?????
Points will be awarded

Hi Nancy,
I tried Praveen's suggestion and it works for me. Check out in the SAP Note Number: 898637
This is the solution text:
1. With the config tool of the engine, edit/add the following two entries to the server node java parameters:
Example:
-Djava.io.tmpdir=e:\EP_TEMP
-Dcm.tmpdir=e:\EP_TEMP
These must point to an existing and accessible directory on the server.
2. TEMP and TMP environment variables of operating system are to be set that they point to an existing and accessible directory.
In case of Microsoft Windows, go to Settings > Control Panel > System, then choose the tab "Advanced" and the button "Environment Variables". There you can edit/create the two variables.
Set them to the same directory that were selected for the engine parameters and especially make sure that none of the temp variables has a value with percentage characters ("%") or other placeholders but a particular directory.
Example: e:\EP_TEMP
Afterwards, give the user SAPService<SID> write-access rights to the selected temporary folder and restart the Windows machine.
On top of that, do not forget to give full access to your windows user SAPService<SID> to C:\WINDOWS\temp folder.
Hope that help.

Similar Messages

  • Unable to open a word document in SharePoint 2013

    Dear all,
    We are using SharePoint Foundation 2013 with Office Word 2010. Uploading an updating a document in SharePoint generally works fine.
    We have a word document uploaded to SP on which we work a lot. I uploaded it yesterday and continued to work on the document. This morning when I wanted to open the document I get the message from Word: "Could not open 'http://xxxxxxxxx/sites/documents/General/document.docx'
    (where xxxx is the name of the server).
    This is the second time that we have this issue.
    Except this message there is nothing on SharePoint log site.
    Best, Jeppen
    Jeppen Twitter: @DoSTHGreat

    Thank you for your answer. Unfortunately these post do not help.
    Strange thing is that we can work again with the document.
    I forgot to mention that the "Download a Copy" always worked.
    Jeppen Twitter: @DoSTHGreat

  • Storing Word Documents and pictures in Oracle

    Hi,
    We are using Oracle 8i and we need to store the Photos and Word documents uploaded from the front end.
    Can anyone suggest the best way to do so.
    Thanks in advance
    fics

    For this purpose,you can use BFILE or BLOB data types and then using OLE or specifying file name in insert statement you can achieve the result.
    null

  • How do I convert a word document into a pdf and then upload it to a web site

    How do I convert a word document into a pdf and then upload it to a web site so people can read it from my
    site with Dreamweaver 4?. How can I do this? Can anyone please help? I'm only a newbie. Thanking you in anticipation.

    First you need to install a means of printing to pdf from word.  I like cutepdf writer ( http://cutepdf.com/Products/CutePDF/writer.asp ).  Once installed you will print the doc in word and under the printer selection you choose pdf.
    Once you have the file you put it in your local site folders and upload it using Dreamweaver.  Be sure to link to it from a page so users can get to it and I would recommend giving the link a target of _black so it will open in a new window (see the properties inspector in DW).

  • Creating a new "Link to a Document" opens Word document or upload document dialog - plus more!

    The Link to Document content type seems to be corrupted at root. When I attempt to create a new Link, either Word opens with a blank document or the "Upload" document dialog opens. It's been changing as I investigate.
    One things I've noticed is that the "Link to a Document" Content Type on the parent site collection now shows it's parent as Document. this explains why the Word document opens, but not why the Upload dialog does.
    While writing this question, I decided to check further and it seems that the other document types, Audio, Video etc.  all now have Document as the parent and are opening a blank Word document.
    Has anyone seen this behavior? How do I fix this?
    This is on SharePoint 2010.
    Thanks in advance.
    Barry Cohen
    Barry Cohen

    Well, I spoke too soon. The process worked for all the custom content types, but the default Document type was still messed up. I probably should have fixed that one first, but...
    Anyhow, the Document type had no template going to the Upload File dialog rather than the blank Word document it's supposed to go to. I followed the same procedure I'd followed for the other content types, checking what worked on another site and using that
    template which in this case was a blank field:
    So, I went opened Document, Document Content Type and went to advanced settings. The template field was empty, which matched the working site, so thinking that if I saved, it would match up with the working site. I saved the Document content type and when
    after several minutes the save failed with an incredibly long list of locations where that were being perceived as "read only" plus several hidden content types that were listed as sealed. This snapshot shows a few of they many pages of content types. (I poorly
    struck through confidential info):
    Besides this gigantic error, which would require going to hundreds of locations on the site to change read access settings, which are, as far as I can tell actually not "read only" or are inaccessible, such as the hidden "System Page Layout' and so forth
    which shouldn't be based upon the default document type anyway and therefor not fixable, I need to understand why this is happening and what to do about it. I don't want to spend the next two days going over all of these libaries and content types and ending
    up back where I started with all the content types still screwed up. Afterall, I've spent about a day creating all these custom Content Types only to have the default Document content type loose its settings and corrupting everything and another day fixing
    it and having it happen again.
    This is a highly unacceptable behavior on the part of SharePoint and I would really like to fix this.
    Help is sorely needed.
    Thanks in advance
    Barry Cohen

  • Upload and display Word Document in WD application

    Hello,
    I have a WD ABAP appl. where the user wants to upload an Word / Excel file (from its own local drive).
    The document shall be saved in SAP and it shall also be possible to display the document later in the WD application.
    I implemented the UI element upload in the view, to determine the path of the document.
    For the display implemented the UI element Office control.
    1. When i browse the document, the properties data, filename and mime type are filled into the bound context elements of the upload UI.
    2. The property datasource of the UI office control I bound to the same context element, that is also bound to the property data of the upload UI.
    The office control opens a word document, but the document is empty.
    Is it possible that the document is not uploaded correct?
    In another application I did an upload for a PDF doc.. There I implemented the following coding as action of the button 'Upload'.
    data lo_nd_pdf type ref to if_wd_context_node.
    data lo_el_pdf type ref to if_wd_context_element.
    data ls_pdf type wd_this->element_pdf.
    data lv_pdf like ls_pdf-pdf.
    navigate from <CONTEXT> to <PDF> via lead selection
    lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
    get element via lead selection
    lo_el_pdf = lo_nd_pdf->get_element( ).
    get single attribute
    lo_el_pdf->get_attribute(
    exporting
    name = `PDF`
    importing
    value = lv_pdf ).
    Get a reference to the from processing class.
    data: l_fp type ref to if_fp.
    l_fp = cl_fp=>get_reference( ).
    Get a reference to the PDF Object class.
    data: l_pdfobj type ref to if_fp_pdf_object.
    l_pdfobj = l_fp->create_pdf_object( ).
    set the pdf in the PDF Object
    l_pdfobj->set_document( pdfdata = lv_pdf ).
    set the PDF Object to extract data the Form data.
    l_pdfobj->set_extractdata( ).
    execute call to ADS
    l_pdfobj->execute( ).
    get the PDF Form data
    data: pdf_form_data type xstring.
    l_pdfobj->get_data(
    importing
    formdata = pdf_form_data ).
    convert the xstring from data to string so it can be processed using the iXML classes
    data: converter type ref to cl_abap_conv_in_ce,
    formxml type string.
    converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
    converter->read(
    importing
    data = formxml ).
    pull in the iXML type group.
    type-pools: ixml.
    get a reference to iXML object
    data:l_ixml type ref to if_ixml.
    l_ixml = cl_ixml=>create( ).
    get iStream object from StreamFactory
    data: streamfactory type ref to if_ixml_stream_factory,
    istream type ref to if_ixml_istream.
    streamfactory = l_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    create an XML document class that will be used to process the XML
    data: document type ref to if_ixml_document.
    document = l_ixml->create_document( ).
    create the parser class
    data: parser type ref to if_ixml_parser.
    parser = l_ixml->create_parser( stream_factory = streamfactory
    istream = istream
    document = document ).
    parse the XML
    parser->parse( ).
    define XML Node type object
    data: node type ref to if_ixml_node,
    attributes type ref to if_ixml_named_node_map.
    get the psi sales data Node and value.
    data ls_psi_sales type wd_this->element_psi_sales.
    data: lt_dfies type table of dfies,
    ls_defies type dfies.
    call function 'DDIF_NAMETAB_GET'
    exporting
    tabname = 'ZCM_PSI_SALES'
    ALL_TYPES = ' '
    LFIELDNAME = ' '
    GROUP_NAMES = ' '
    UCLEN =
    IMPORTING
    X030L_WA =
    DTELINFO_WA =
    TTYPINFO_WA =
    DDOBJTYPE =
    DFIES_WA =
    LINES_DESCR =
    tables
    X031L_TAB =
    dfies_tab = lt_dfies
    exceptions
    not_found = 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.
    data: lv_fieldname type string.
    field-symbols <fs_field> type any.
    loop at lt_dfies into ls_defies.
    lv_fieldname = ls_defies-fieldname.
    node = document->find_from_name( name = lv_fieldname ).
    assign component lv_fieldname
    of structure ls_psi_sales
    to <fs_field>.
    if <fs_field> is assigned.
    <fs_field> = node->get_value( ).
    endif.
    endloop.
    WRITE DATA INTO CONTEXT
    data lo_nd_psi_sales type ref to if_wd_context_node.
    data lo_el_psi_sales type ref to if_wd_context_element.
    navigate from <CONTEXT> to <PSI_SALES> via lead selection
    lo_nd_psi_sales = wd_context->get_child_node( name = wd_this->wdctx_psi_sales ).
    get element via lead selection
    lo_el_psi_sales = lo_nd_psi_sales->get_element( ).
    set all declared attributes
    lo_el_psi_sales->set_static_attributes(
    exporting
    static_attributes = ls_psi_sales ).
    Do I need such a code also to upload a word doc?
    Which interface / class exists for word documents? (for PDF upload there is the interface IF_FP)
    How can I save a document in SAP? (as MIME Object?  with which method?)
    I hope someone can help me!?
    BR

    You can use the fileupload and filedownload uielements.
    Check these links:
    [File Upload|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b3/be7941601b1d09e10000000a155106/content.htm]
    [File Download|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/09/a5884121a41c09e10000000a155106/content.htm]
    When you upload a file and save in SAP, are you saving it as xstring.
    If yes follow these steps for filedownload.
    Follow these steps for file download:
    1 Create FileDownload uielement in your View
    2.Create an Attribute of type xstring.
    3.Bind this attribute to the data property of your Filedownload uielement.
    4. during fileuplaod as you are saving the document in xstring format, fetch the same from your database table and pass the value to filedownload i.e set the attribute bound to data property of filedownload uielement with the xstring content.

  • Upload / Open a Word Document from BDS with WebDynpro

    Hello,
    we use the BDS (Business Document Server) to storage our word files. Now we use WebDynpro with the UI OfficeControl.
    Could any one tell me, how to open/upload my documents from BDS with the OfficeControl.
    The UI FileUpload does not work, because it is not allowed to use specify URLs. link:[http://help.sap.com/saphelp_nw70/helpdata/EN/b3/be7941601b1d09e10000000a155106/frameset.htm]
    For example that is the URL from the BDS: "SAPR3://SAPR3CMS/get/100/BDS_5FDB2_5FR/7B3AAF5B22AAD21197ED0060B0672A3C/Forminterface.doc"
    I use the class "CL_BDS_DOCUMENT_SET" with the method "get_with_url". result is above.
    Each example with the OfficeControl from SAP (Package SIOS) use the Mime Repository:
    mime_repository = cl_mime_repository_api=>get_api( ).
      CALL METHOD mime_repository->get
        EXPORTING
          i_url     = url
        IMPORTING
          e_content = content.
      wd_context->set_attribute( name = 'DATAS' value = content ).
    Have any one an idea, how BDS and WebDynpro works together

    What about getting the binary of the word document from BDS and download this?
    Yes, it exist a method calls "get_with_table". This return the binary path from my url above.
    Here is my source code:
    public attributes
    DATA oi_document TYPE REF TO if_ios_wordprocessing.
    DATA oi_factory TYPE REF TO if_ios_factory.
    METHOD wddomodifyview .
    DATA ol_node TYPE REF TO if_wd_context_node.
    DATA ol_office TYPE REF TO cl_wd_office_control.
    DATA vl_document TYPE xstring.
    short from
      vl_document = myBDS->get_with_table( ).
    Settings for UI OFFICE_CONTROL
      ol_node = wd_context->get_child_node( 'OFFICE' ).
      ol_node->set_attribute( name = 'DATASET' value = vl_document ).
    get the office control
      wd_this->oi_office ?= view->get_element( 'OFFICE_CONTROL' ).
    get the IOS Factory
          wd_this->oi_factory ?= ol_office->_method_handler.
    get proxy document
          wd_this->oi_factory->get_wordprocessing_proxy(
          IMPORTING proxy = wd_this->oi_document  ).
    CALL METHOD wd_this->oi_document->if_ios_document~opendocument( ).
    ENDMETHOD.
    When I compile everything is ok. But when I run my application, it nothing happen. No word file is opening or no error message. I create a ALC trace (SAPNOTE 949770).
    Each time when I try to open my word file comes a popup-window from the alc-trace:
    ERRO|20081024143529|WD86_1300|CIOS_GeneralDocumentContainer_Acf::| STG_E_READFAULT  : readaccess|HRESULT=-2147287010(     A disk error occurred during a read operation)
    ERRO|20081024143529|WD86_1300|CIOS_GeneralDocumentContainer_Acf::|Office version is lower than 12, only native office format supported|HRESULT=-2147467259(Unspecified error
    ERRO|20081024143529|WD86_1300|CIOS_GeneralDocumentContainer_Acf::|loadOffice2007xml|HRESULT=-2147467259(Unspecified error )
    But I have access to the BDS and to the document.
    Can any one help me.....
    Regards
    Nils

  • To upload pdf and ms word document in VA01 header menu -TEXT tab

    I want to upload local file (PDF and Word) in R/3-VA01-Text Header..
    Can any one tell me the solution for that.

    Can any body tell me how search text in PDF
    and MS Word document through Java code, any
    body has code or any suggestion to giveYes.
    First, you need to work out how to read each document type from Java.
    E.g, for MS Word you could use Apache Jakarta POI - HWPF: http://jakarta.apache.org/poi/hwpf/index.html
    Then, you use Apache Lucene to index and search.
    See http://lucene.apache.org/java/docs/index.html
    ~D

  • How to upload a word document or pdf file to xk02 transaction

    hi all,
    i want to upload a word document or pdf file to xk02 trasaction
    please suggest me how todo this
    Thanks
    RAM

    Hi Pradeep,
    For creating PDF documents in Webdynpro Java you can use  "iText.jar" .
    to know more about creating PDF using iText refer these links.
    http://www.brothersoft.com/downloads/itext-jar.html
    http://www.lowagie.com/iText/download.html
    Regards
    Sridhar

  • WORD document becomes blank or corrupted after being uploaded to a Document Library programmatically?

    Hi everyone,
    I uploaded a WORD document to a Document Library with this code:
    using (SPSite currentSite = new SPSite(SPContext.Current.Site.ID))
    using (SPWeb currentWeb = currentSite.OpenWeb("Departments"))
    currentWeb.AllowUnsafeUpdates = true;
    SPList myList = currentWeb.Lists["Commercial Agreements"];
    SPDocumentLibrary myLibrary = (SPDocumentLibrary)myList;
    SPFolder myFolder = myLibrary.RootFolder.SubFolders["aFolderName"];
    using (Stream fStream = FileUpload1.PostedFile.InputStream)
    byte[] _bytes = new byte[fStream.Length];
    SPFile myFile = myFolder.Files.Add(FileUpload1.FileName, _bytes, true);
    The document gets uploaded into the correct folder in the Document Library, however when I open it from SharePoint it is just a blank document. And sometimes it is corrupted and cannot be opened.
    If I upload a PDF using this code, the pdf cannot be opened. It says the file is corrupted.
    Any ideas?
    Thank you very much for your help in advance.
    Lin

    Hello,
    I just written sample code, please try this: (Note: This code is not tested so you might need to modify it)
    Stream fStream = FileUpload1.PostedFile.InputStream;
    byte[] _byteArray = new byte[fStream.Length];
    fStream.Read(_byteArray, 0, (int)fStream.Length);
    fStream.Close();
    string _fileUrl = myFolder.Url + "/" + FileUpload1.PostedFile.FileName;
    SPFile file = myFolder.Files.Add(_fileUrl, _byteArray, true);
    http://www.c-sharpcorner.com/blogs/4250/programatically-add-file-in-folder-in-sharepoint-document-li.aspx
    http://sharepointwings.blogspot.sg/2013/08/programmatically-addupload-file-to.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Uploading word document in sap(as a attachment)

    Hello all,
    I want to upload a word file into sap server. How can i do this.
    Pls guide me...
    I want to save this word file in sap as a attachment and use this attachment in future.
    Please guide me...

    Hello Ravi,
    You can use BDS to upload your word document, ref class CL_BDS_DOCUMENT_SET.
    Below example is to upload JPG image, in the same way you can upload .DOC/.DOCX
    http://wiki.sdn.sap.com/wiki/display/Snippets/Use+BDS+to+Store+Files+Like+Excel+JPG+through+ABAP
    Regards,
    Sujeet

  • Upload word document into SAP

    Is it possible to attach or upload MS Office Word documents into SAP?

    Hi,
    exactly what is your requriement?
    if you want to uplaod .doc into any particular transaction for particular ouccurence(say PO number) , then it depends on the options provided with in that transaction(ME21N for this Ex.)
    otherwise if you want to store some documents in general  then you can store it on Application server.
    Regards,
    Suresh

  • I am enrolled in an online university program that uses Sakai. Fire Fox updated something that attaches computer script to my Word documents when I upload them.

    I am enrolled in an online university program that uses Sakai. Fire Fox updated something that attaches computer script to my Word documents when I upload them. I use a PC and Word 2010

    sigh...this is quite idiotic, but I have found a solution. It was quite simple, really, and yet quite idiotic. I share it for all those reading so that, if you know of anyone else that did what i did, you can easily be the "hero" in their lives.
    After a continued search via youtube or what have you for any possible solutions, I kept coming back to the fact that I was told by my computer that I didn't have "permission" to do the file deletion. I stumbled upon a youtube video that talked about "unlocking", "locking", certain files and what not.
    Long story short, the reason why I couldn't do anything to the files that were on my desktop was due to my "locking" the desktop folder. I must have done this a while back not knowing what I was doing nor the ramifications of clicking a simple box.
    I undid this by:
    Opening Up Finder
    then, going to MacHD --> Users --> My Account Folder
    clicking on Desktop Folder, I "cmd+I"
    I then, unclicked the "locked" option
    I went down to the cog/settings and selected "Apply to enclosed items"
    resulting then in having all my files on my desktop free accessiblity and delete-ability....
    oi...at least I now  know what "locking" a folder (even the desktop folder) can do to other files held within it

  • Seeing only "W" when I upload a Word document to iCloud

    Word documents worked in the past as I have severel uploaded but now when I upload a short Word document, the icon shows a sheet of paper with a big W in the middle instead of a mini icon with the format of the uploaded document.
    Using Microsoft Word 2007.

    You need to have Pages app on one of your iOS devices that connect to the icloud account, then you will be able to sync your word documents from your Mac to icloud.  Log into icloud.com, go to iWork page and upload your doc files to that web page.

  • I uploaded an rtf (word) document to icloud, but when I try to open in Pages, I get a message that it does not support rtf format. What is going on?

    I uploaded an rtf (word) document to icloud, but when I try to open in Pages, I get a message that it does not support rtf format. What is going on?

    Supported file formats for iOS Pages
    Import:
    Pages ’09 for Mac
    Microsoft Word - Office Open XML (.docx) and Office 97 or later (.doc)
    Plain Text files (.txt)
    Export:
    Pages ’09 for Mac
    Microsoft Word (.doc)
    PDF
    As you can see -  .rtf is not supported.

Maybe you are looking for

  • How do I add an audio crossfade to a cut without FCPx slipping the audio in-point?

    I'm a seasoned FCP editor, and I'm having some major issues doing what I consider to be very basic editing in FCPx. I basically have one video track shot on an DSLR along with a synced audio track from an external recorder. I'm using the blade the re

  • Exchange Calendar iPhone Sync

    We have been experiencing an on going issue with a user who's Exchange Calendar will not fully sync on his iPhone. The calendar events update correctly in both Outlook and on his iPad but not the phone. Both the iPad and iPhone are running the latest

  • BDC- To add ABC indicator in MM02-- MRP1

    Hi, I am working on BDC- To add ABC indicator in MM02--> MRP1. Problem --> In some material+ plant  - Reorder point is there. In this case I need to take additional 'BDC_okcode' for ENTER. HOW CAN I DO THIS?  I tried it with 'Select statement' betwee

  • Error in the process

    Hi Experts , There is a acomplex BPM process. Avoiding the need to create it again  , I copied the process.bpmn , process.bpmn.xlf and process.diagram from the src folder to the new Process. I have the done the mapping again Now but I am receiving ab

  • It wont even let me update!!

    Well unlike most of everyone elses problems itunes wont even let me upgrade to 7. Ive been trying to for a long time...so i go to million season finale download thingy, and it tells me i have to download the new itunes 7 to proceed. it takes me to th