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

Similar Messages

  • 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 of Sections in Word Document into SAP SE38 editor

    Hi
    I was wondering if we can build a ABAP tool which would read different sections within the 'Technical Specification Document' word document and  
    - Create ABAP program in SE38
    - pull content from various sections of Word document under the respective event in SE38
    e.g program could pick up the content written under section '1.1- Input Selection' and have it replicated in ABAP editor before 'Initialization' Event.....
    To make this happen, i am currently struggling to read the content from Word Document. Would apprecaite if you can help /share some light on this subject.
    thanks

    First of all I am wondering who places all the code in techinical documenation. For me it should be just a summary of all things done in the program, so it actually should be created after the report is ready, not before.
    Secondly generating the code from some input stream is highly risky. Word or other applications don't have syntax checker for ABAP, right? So how do you know this coding doesn't dump once loaded to the report.
    Next, dynamic report generation is of course possible with at least two ways, one would be using [generate subroutine pool|http://help.sap.com/abapdocu_70/en/ABAPGENERATE_SHORTREF.htm] but it would require whole program to be self-written not just part of it. Another way with [READ REPORT|http://help.sap.com/abapdocu_70/en/ABAPREAD_REPORT_SHORTREF.htm]  and then insert your part using [INSERT REPORT|http://help.sap.com/abapdocu_70/en/ABAPINSERT_REPORT_SHORTREF.htm]  but this is also not a convenient way of changing the report unless you do this deliberately and totally aware of the consequences.
    As for reading Word you can use OLE or [Desktop Office Integration|http://help.sap.com/saphelp_nw04/helpdata/en/e9/0be7b9408e11d1893b0000e8323c4f/frameset.htm]. For the latter you might look at package SOFFICEINTEGRATION .
    To sum up, although technically possible there is no quarantee you will have the code proper in your document so inserting it in some program might be disaster in consequences.
    Regards
    Marcin

  • Unable to store PDF , XL , Word document into SAP archived tables

    Hi Experts,
    I have created a web interface in WD ABAP which stores the employee's attachement data into sap arcived link.
    For that I have carried out following activities.
    I have Complted customizing for a document type under business object PREL and for this I have reffered following link.
    SASAP Archived Link
    Now I have used file Upload UI element in WDABAP which passes the local file data in Xstring to following function modoules for creating
    an attachment.
    data: it_out type TOADT,
    it_storage type ZDMSSTORAGE.
    CALL FUNCTION 'ARCHIV_CREATE_TABLE'
    EXPORTING
    ar_object = 'HRPDATA' " Object catagory that I have created for file storage under Business Object PREL
    object_id = '10000008'
    sap_object = 'PREL'
    document = filedata
    IMPORTING
    OUTDOC = it_out
    EXCEPTIONS
    error_archiv = 1
    error_communicationtable = 2
    error_connectiontable = 3
    error_kernel = 4
    error_parameter = 5
    error_user_exit = 6
    OTHERS = 7.
    For reading the attached document I am using following FM's
    CALL FUNCTION 'SCMS_AO_TABLE_GET'
    EXPORTING
    MANDT = SY-MANDT
    arc_id = 'Z1'
    doc_id = lv_doc_type"im_doc "'4D5D8445165220C8E10000000A3C082E'
    COMP_ID = 'data'
    IMPORTING
    LENGTH =
    tables
    data = bindata.
    *data: BINARY_TAB type
    CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
    EXPORTING
    input_length = 10000
    FIRST_LINE = 0
    LAST_LINE = 0
    IMPORTING
    BUFFER = V_XSTRING
    tables
    binary_tab = bindata.
    Now when I upload any file text or image file, its working fine. When I try to upload any pdf , XL or word document, it uploads the file into acchived table
    but when I read this file by converting file data into xstring and passing it into file downlod UI element, It says file is corrupt. Please suggest that if that
    is a issue with object catagory configration ( With storage class) or it is wrong way of reading a document for PDF, XL and word
    Thanks in advance
    Abhay

    hi
    please check the function module used whether it can handle the PDF as well as xl, word documents. if not use some other function module

  • Inplace Word document into SAP in ECC 6.0 (it runs in 4.6)

    We are in the process of upgrading from 4.6C to ECC 6 and have encountered an unusual situation.
    In 4.6 system, we have a Z report which charge a word template (integrated in SAP Screen) with some data about employees. This programs doesn't run in ecc 6.0.
    Doing a debbug, we change the parameter inplace (before had 'X', now we've clear it) of the following methods, and now it runs, but take out, in a Microsoft Word window, the template with the data.
      CALL METHOD control->init_control
                          EXPORTING r3_application_name = text-bas
                                    inplace_enabled = inplace
                                    inplace_scroll_documents = 'X'
                                    parent = container
                                    register_on_close_event = 'X'
                                    register_on_custom_event = 'X'
                                    no_flush = 'X'.
    and
      CALL METHOD document->open_document
                        EXPORTING open_inplace = inplace
                                  document_url = item_url.
    Does anybody know how we can do for maintain the old presentation way (without an external Word Window)?
    Thanks and Best regards.
    Abel Raya.

    Refer to Note 160892
    A modification is described in the below with which more than 120 value fields are allowed for an operating concern. SAP does not accept responsibility for problems resulting from the implementation of this modification.
    Pre-Requisite
    Before you increase the number of the characteristics or value fields, check whether all characteristics and value fields of the operating concern are required.
    I guess, there is no increase in the number of value fields in ECC6 standard over 120.

  • 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).

  • Error in Uploading of Documents into Portal through KM

    Hi All,
          I Am new to KM, i am uploading the Word Documents into Portal through KM, this is the path : Content Administrator->KM Content->Documents--->
    here i am creating one folder after that i am uploading one Word Document into through Folder--->Upload, but when i am clicking on that uploaded document it shows Portal Runtime error....This is my problem....
    Could u please solve my problem....for me this is very urgent.....
    Thanks and Regards,
    Abhiram Choudary.

    Hi Abhiram,
    Please check it the link to the file uploaded file is ok, in order to make sure that there is a problem with the upload. The link should look like: <Protocol>://<Portal_Server_Name>:<Port>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/<your_Folder>/<your_wordfile_name>.doc
    or
    <Protocol>://<Portal_Server_Name>:<Port>/irj/go/km/docs/documents/<your_Folder>/<your_wordfile_name>.doc
    If it's that's not the case you might need to change the configuration of the <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/7d/236cfa17034a37a439dc392ec59eb0/content.htm">URL Generator Service</a>. Perform the steps indicated under "Activities".
    Hope this helps,
    Robert

  • Upload a doc into SAP and then FAX it

    Hi
    I'm looking for a method of uploading a doc into SAP and then FAX it to a customer.
    What currently happens is this:
    1.  SAP creates a document, which is saved to a UNIX directory as a text file.
    2.  An external process takes this file, uses the info and creates a new file with alot  more info than SAP has.  This new file is saved to another UNIX directory.
    3.  This is where I'm stuck.  I would like SAP to upload this new text file (or files) and fax each one.
    The filename will contain a document number that SAP can then use to check customer master and obtain correct FAX number.
    Can anyone provide a few pointers?
    thanks,
    Stephen

    Hi Stephen,
    Your SAPConnect config basically sends a SAPOffice message to your fax server, so to send your unix file in the same way you need an ABAP to create a SAPoffice message.
    The steps in your program will be something like;
    Read the unix file (OPEN DATASET, TRANSFER etc)
    Format the data if necessary
    Use a function module like SO_DOCUMENT_SEND_API1 to create the message
    Provided you maintain the correct recipient parameters SAPconnect should process this to the fax server.
    An alternative is to create a spool then pass this to SAPoffice, the approach is similar but the FMs needed will be different.
    Regards,
    Nick

  • Data upload from excel into SAP

    Hi Gurus
    Could anyone please guide me how to upload excel data into SAP?
    I need to update existing Gross weight and Net weight data. Got new data in excel format.So need to upload excel file straight into SAP and update the data.
    Step by step procedure will be much appreciated.
    Rgds
    Utpal

    try with bdc .....
    below coding is move the data from excel to internal table ....
    TYPES: BEGIN OF s_ovro,
              VKORG LIKE V_TVSFK-VKORG,
              VTWEG LIKE V_TVSFK-VTWEG,
              SPART LIKE V_TVSFK-SPART,
              STGKU LIKE V_TVSFK-STGKU,
              STGAK LIKE V_TVSFK-STGAK,
              STAFO LIKE V_TVSFK-STAFO,
           END OF s_ovro.
    DATA: I_OVRO TYPE TABLE OF s_ovro,
          w_ovro type s_ovro.
    data : request(15) type c,
            i type c.
    DATA : IT_EXCEL TYPE STANDARD TABLE OF ALSMEX_TABLINE WITH HEADER LINE.
    FIELD-SYMBOLS: <FS1> TYPE ANY.
    include bdcrecx1.
    SELECTION-SCREEN BEGIN OF BLOCK DATA WITH FRAME.
    PARAMETERS: P_FILE TYPE  RLGRAP-FILENAME DEFAULT 'C:\Documents and Settings\itfactory\Desktop\sd1.xls' OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK DATA.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = 'P_FILE'
        IMPORTING
          FILE_NAME     = P_FILE.
    start-of-selection.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                = P_FILE
          I_BEGIN_COL             = 1
          I_BEGIN_ROW             = 1
          I_END_COL               = 24
          I_END_ROW               = 60000
        TABLES
          INTERN                  = IT_EXCEL
        EXCEPTIONS
          INCONSISTENT_PARAMETERS = 1
          UPLOAD_OLE              = 2
          OTHERS                  = 3.
      LOOP AT IT_EXCEL.
        ASSIGN COMPONENT IT_EXCEL-COL OF STRUCTURE
        W_ovro TO <FS1>.
        <FS1> = IT_EXCEL-VALUE.
        AT END OF ROW.
         MOVE-CORRESPONDING: Wib TO Iib.
          APPEND w_ovro to I_ovro.
          CLEAR W_ovro.
        ENDAT.
      ENDLOOP.
    through bdc program update the data from internal table to bdc...

  • Concatenate multiple word documents into 1 long document in APEX

    I have a requirement to concatenate multiple word documents into 1 long document in APEX but I'm not sure if it can be done
    or where to begin.
    I've been able to upload/download files in APEX and generate Word docs using BI Publisher, but I can't seem to find anyway to carryout the above.
    Any feedback greatly received.
    Thanks in advance.
    Keith

    Thanks for your reply Jari.
    The files are never actually stored in the database as a BLOB or CLOB.
    I'm basically trying to do the following:-
    I have a third party Document Management System that stores a number of templates (.doc and .dot).
    The files are stored in a directory on a file sever.
    I have been tasked with the job of creating a Document Generator type app in APEX that will allow the users to select a number of these files and concatenate them together into 1 large 'Master' Document.
    I was hoping to be able to do this without having to go down the line of using external software functions like Java but I'll check out your suggestion.
    Cheers
    Keith

  • Hello! I would like to know the procedure to turn a word document into a PDF document via Adobe Reader.

    Hello! I would like to know the procedure to turn a word document into a PDF document via Adobe Reader. Do I have to pay for it or just sign up? Thank you in advance.

    "...the procedure to turn a word document into a PDF document via Adobe Reader." 
    Not possible.
    No version of Adobe Reader can:
    --| create PDF 
    --| manipulate PDF page content  
    --| export PDF page content
    Adobe Reader XI does provide a "connection" to various Adobe hosted online subscription services (that are under "acrobat.com").
    There is a subscription services can create PDF from supported file formats that are uploaded to the service.
    This subscription service is "PDF Pack".
    With an active (paid up) subscription to a service one can make use of the service.
    Be well...

  • Loading Word document into Adobe Captivate

    I would like to know how to upload MS Word document into Adobe Captivate format.

    Hi there,
    Welcome to Adobe Community.
    Could you please elaborate a little more on what exactky you are trying to do?
    You can open a word document on a button or on an object but you cannot import it. You can import a PowerPoint Slide.
    Thanks!

  • Problems while uploading text documents into Unicode Database

    I just upgraded our database from 9iR1 to 9iR2 (9.2.0.1.0). The server
    character set is AL32UTF8. Now I'm facing a problem when
    uploading text documents into the database via a web frontend.
    I use the upload table defined for the PL/SQL Database Access Descriptor:
    create table TB_UPLOAD (
    NAME VARCHAR2(256) not null,
    MIME_TYPE VARCHAR2(128),
    DOC_SIZE NUMBER,
    DAD_CHARSET VARCHAR2(128),
    LAST_UPDATED DATE,
    CONTENT_TYPE VARCHAR2(128),
    BLOB_CONTENT BLOB);
    After uploading a text document containing the two words "hallo welt",
    the following statement returns not "hallo welt", but "68616C6C6F2077656C74":
    declare
    b_loc blob;
    v_amount integer := 100;
    v_buffer varchar2(100);
    v_offset integer := 1;
    begin
    select blob_content into b_loc from tb_upload where name like 'mydoc.txt';
    dbms_lob.read(b_loc, v_amount, v_offset, v_buffer);
    htp.prn(v_buffer);
    end;
    What is this? I studied the documentation, but didn't found a solution.
    When trying to use Oracle's built-in procedure wpg_docload.download_file,
    the content is shown the way it should be. Unfortunately, I can't use
    wpg_docload.download_file in order to copy the BLOB content to another table.
    Any hints would be appreciated!
    Thanks so much in advance!
    Roman
    E-Mail: [email protected]

    Hi Roman,
    the upload uses a BLOB (Binary Lob). Your Document is
    stored as is in the binary representation. If you
    use dbms_lob.read on a blob and your buffer is a varchar2 the binary representation is not translated!!!
    use a raw for the buffer and utl_raw.cast_to_varchar2
    to do the conversion to varchar.
    try this
    Procedure SHOW_DOC(p_name doc_test.name%TYPE)
    IS
    v_len number;
    v_mime_type tb_upload.mime_type%TYPE;
    v_offset integer := 1;
    v_Buf_size integer := 32767;
    v_buf raw(32767);
    v_blob blob;
    v_Doc_name varchar2(1000);
    BEGIN
    v_doc_name := url_Decode(p_name);
    select mime_type,doc_size,blob_content
    into v_mime_Type,v_len,v_blob
    from tb_upload
    where name = v_doc_name;
    OWA_UTIL.MIME_HEADER(v_Mime_Type);
    begin
    LOOP
    DBMS_LOB.READ(v_blob,v_buf_size,v_offset,v_buf);
    HTP.PRN(UTL_RAW.CAST_TO_VARCHAR2(v_buf));
    v_offset := v_offset + v_buf_size;
    END LOOP;
    exception
    when no_data_found then
    null;
    end;
    END;
    HTH
    detlev

  • Problems while uploading text documents into Database

    I just upgraded our database from 9iR1 to 9iR2 (9.2.0.1.0). The server
    character set is AL32UTF8. Now I'm facing a problem when
    uploading text documents into the database via a web frontend.
    I use the upload table defined for the PL/SQL Database Access Descriptor:
    create table TB_UPLOAD (
    NAME VARCHAR2(256) not null,
    MIME_TYPE VARCHAR2(128),
    DOC_SIZE NUMBER,
    DAD_CHARSET VARCHAR2(128),
    LAST_UPDATED DATE,
    CONTENT_TYPE VARCHAR2(128),
    BLOB_CONTENT BLOB);
    After uploading a text document containing the two words "hallo welt",
    the following statement returns not "hallo welt", but "68616C6C6F2077656C74":
    declare
    b_loc blob;
    v_amount integer := 100;
    v_buffer varchar2(100);
    v_offset integer := 1;
    begin
    select blob_content into b_loc from tb_upload where name like 'mydoc.txt';
    dbms_lob.read(b_loc, v_amount, v_offset, v_buffer);
    htp.prn(v_buffer);
    end;
    What is this? I studied the documentation, but didn't found a solution.
    When trying to use Oracle's built-in procedure wpg_docload.download_file,
    the content is shown the way it should be. Unfortunately, I can't use
    wpg_docload.download_file in order to copy the BLOB content to another table.
    Any hints would be appreciated!
    Thanks so much in advance!
    Roman
    E-Mail: [email protected]

    Hi Roman,
    the upload uses a BLOB (Binary Lob). Your Document is
    stored as is in the binary representation. If you
    use dbms_lob.read on a blob and your buffer is a varchar2 the binary representation is not translated!!!
    use a raw for the buffer and utl_raw.cast_to_varchar2
    to do the conversion to varchar.
    try this
    Procedure SHOW_DOC(p_name doc_test.name%TYPE)
    IS
    v_len number;
    v_mime_type tb_upload.mime_type%TYPE;
    v_offset integer := 1;
    v_Buf_size integer := 32767;
    v_buf raw(32767);
    v_blob blob;
    v_Doc_name varchar2(1000);
    BEGIN
    v_doc_name := url_Decode(p_name);
    select mime_type,doc_size,blob_content
    into v_mime_Type,v_len,v_blob
    from tb_upload
    where name = v_doc_name;
    OWA_UTIL.MIME_HEADER(v_Mime_Type);
    begin
    LOOP
    DBMS_LOB.READ(v_blob,v_buf_size,v_offset,v_buf);
    HTP.PRN(UTL_RAW.CAST_TO_VARCHAR2(v_buf));
    v_offset := v_offset + v_buf_size;
    END LOOP;
    exception
    when no_data_found then
    null;
    end;
    END;
    HTH
    detlev

  • Storing Word Documents on SAP

    What is the best method to store Word documents on SAP?  I have a requirement for developers to create unit test scripts and then load them into SAP to enable them to be referenced by other programs.  They will have to be stored within a certain hierarchy as well like a directory structure.
    Any help much appreciated!

    Cheers Serdar
    I have been looking at the BDS as this will be the most likely place for storage.  I was also having a look at SE61 - Dcoumentation as you can also store chapters as word documents and then retrieve them using functions from the DSYS group.

Maybe you are looking for

  • How do I convert footage from my iPhone to edit in final cut pro?

    I have some video's that I shot with my iPhone 3Gs and also hidef video that I shot from my iPhone 4. When I try to edit these in FCP, it makes me render every time I slow the footage or put any effect on the footage. Is there a way to just convert t

  • How to TRUNCATE a table dynamically in a Stored Procedure?

    Hi everyone, How can I create a Procedure with dynamic sql to truncate a table name I pass by every time in Oracle? I am running the following query and nothing happens. It neither creates the procedure nor errors out. CREATE OR REPLACE PROCEDURE Tru

  • Paste only visible numbers in Excel

    How would I copy and paste "1.41999995708465", which appears on my screen as "1.42", to actually be "1.42"?  I am comparing the result of a calculation in one column to a rate table in another column.  Both are actually 1.42. In other words, when usi

  • SENDING the phone Back to nokia

    WHERE should i send the phone???? i want it to get repair......what is the address? And how the phone suppose to look? 

  • HDCP error, on my MacBook Pro with no connected device.

    I am having the HDCP error, on my MacBook Pro with no connected device. I tried the alt-shift-option power button trick and no luck. Any other ideas?