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

Similar Messages

  • 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

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

  • 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

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

  • Acrobat XI Pro Won't Convert 206 Page Word Document into PDF

    Hi there
    As menetioned above, Acrobat XI Pro Won't Convert my 206 Page Word Document into a PDF.  The Word document was originally a PDF file that I converted to Word and it has split all the text into sections.
    It sounds like converting a PDF into Word isn't the best way to edit, re-format and then save as a PDF again.  I would love to hear your advice on this.
    Thanks very much for your help!
    Fiona

    First before you recreate the PDF from the Word Document.
    In word: Open Document
    Next open a new Blank docment
    switch back to Word click on the ¶ button
    scroll to of go to very end of docment.
    click just to right of the perion in the last sentence.
    now go to very beginning of document
    Hold down the Shift and click to the right of first letter in document.
    Now choose copy.
    Now switch to Blank document
    Choose Paste special.
    Now choose Text only.
    If works all the words will be there spaced correct but with no ¶'s.
    Now insert returns as desired.
    Now save as a docx file under a different name.
    IF you are on a Mac use the following directions:
    go to File menu > Print > PDF Hold down PDF button until Context menu pops up.
    Choose adobe PDF.
    follow steps when the first window opens.
    Save as PDF in desired location.
    Now open the PDF in Acrobat. Document should be properly formatted and ready to go.
    AS you've found The conversion is not seamless. Acrobat doesn't distingish between automatic end of line breaks and Returns and you have to put the pieces back again.  I wish Adobe and MS would get over the jealouscy of each other and share howcode works so Thatapplications could work seamlessly together.  BUt they never will.

  • 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!

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

  • Adobe Acrobat 9/Win7 - Inserting Word documents into PDF file intermittently leads to missing or garbled text?

    Heya.
    I have a user who is creating a PDF essentially compiled from inserting word documents into the position she wants inside of the PDF.
    The problem is that sometimes this leads to missing or garbled text. For example, 6-8.1 is displayed as 6- .1. Which is just plain weird.
    Other times, the text looks garbled or uneven. She turned off her PC but I took screenshots of both of these scenarios. I fear that I am not going to be able to retroactively fix the corruption in this document for her.
    She says she's using very standard fonts. Like Arial. I asked if she could locate the original Word document that produced the garbled text, just for a sanity check. The problem is that her co-worker may have been the only one with that particular word document (there are probably hundreds which compile this PDF...) and IF she has it, she might not be able to locate it on her PC TO check what the original text is. Yikes.
    Google-fu turns up very little. I tried the guidance in this document - https://answers.acrobatusers.com/We-combine-PDF-document-ends-corrupt-What-problem-q197619 .aspx[2] and a Save-As but no avail.
    This also turns up but is not applicable to Acrobat 9 I believe:  http://blogs.adobe.com/acrobatineducation/2010/02/get_rid_of_that_bloat_in_your.html[3]
    She states that she can manually fix the document but after a while it gets corrupted again? But I haven't observed that and she might have just fed me that to amplify the problem.
    I will be able to post screenshots when she turns on her computer tomorrow.

    Here are the two instances of corruption we have come across.
    http://imgur.com/nPztMYm
    http://imgur.com/wHM12e2
    Edit:  A LITTLE MORE INFO.  I am able to select the corrupted text, paste it into Notepad with all the characters intact.  So the characters are THERE.  they are just not being displayed correctly.
    Edit:  They also do not print correctly.  The page prints with characters missing, and she wants to print this document, so that is going to be an issue.

  • How do I copy, paste Word document into Adobe Reader PDF?

    A client is not using Microsoft Word, but typing text for my edits into Adobe PDF. Too many edits, too cumbersome for me. After converting PDF to Word, I edit using various ink colors. How can I copy, cut, paste edited WORD document into her PDF? Other than by using "paper clip" or "attachment" features?

    Thanks, graffiti...So, can't copy, paste Word document into PDF?
    What is the "full version" of Adobe vs my Adobe Reader? Adobe Acrobat?
    I do have a cloud, but doesn't help with my editing problem.

  • Inserting a MS Word document into database

    Hello friends at www.oracle.com,
    we need to insert contents from our Microsoft Word documents into an Oracle database. That is, we need to create a Forms program where we can open and select a MS Word file, and insert its contents into a table; for example, MS_DOCUMENTS.
    Thanks, and best regards,
    Franklin Gonçalves Jr.

    Hello Duncan,
    If this is on the web then WebUtil provides
    everything you need. If it's on Client Server you
    can use the OLE Container item type. no, it's not on the Web.
    I want to insert Word documents that are in my directories into database, and I've read that it can be done via BLOB table columns.
    I'd like to insert these documents and retrieve them later. Could you please tell me something about it?
    Sincere thanks for your help.
    Best regards,
    Franklin Goncalves Jr.

  • How to copy paste a table structure from word document into Text Field [field format Rich Text]

    In our current implementation we have a Blank page with Text Field [field format Rich Text] on generated PDF Document.
    Once the PDF document is generated, user can copy paste content form any word/rtf document to into the Text Field.
    Pasted content retains all text formatting [Bold, Italic, Underline, Indentation] except the Table format. Text Field is removing table metadata from the content and converting it into plant text.
    Is there anyway to copy paste table structure as it is from word document into Text Field?

    Hi,
    I don't think you can! While you can paste formatted text into the rich text field, the table metadata means nothing to the textfield.
    Niall

Maybe you are looking for