Output to Word

I'm working on an app in HTMLDB that will require me to output text to word and vice versa. I though about doing it by opening word in a command line filling the cache and pasting it into the opened word doc. This seems a bit cumbersome though and it wouldn't hold any formatting values.
Does anyone know of a way of doing this?

Hi there
Can you please post a screen capture showing what you see when you edit the Master Page where the Header and Footer are defined?
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks

Similar Messages

  • REPORT OUTPUT IN WORD OR EXCEL

    Hi,
    I need to convert my report output to word document with a customised logo in the word document. Can anyone please help me out by providing the necessary procedure (step by step process or code in abap).
    Thanks and Regards
    AK

    Hi Ashok ,
    You just copy this Abap code and run it. The output is an excel file .
    REPORT  ZKUN_FILE6                              .
    TABLES: USR03,DD02L.
    DATA: ZX030L LIKE X030L.
    DATA BEGIN OF ZDFIES OCCURS 0.
         INCLUDE STRUCTURE DFIES.
    DATA END OF ZDFIES.
    DATA: BEGIN OF FLDITAB OCCURS 0,
          FLDNAME(11) TYPE C,
          END OF FLDITAB.
    DATA ITABUSR03 LIKE USR03 OCCURS 0 WITH HEADER LINE.
    DATA TNAME LIKE DD02L-TABNAME.
    SELECT * FROM USR03 INTO TABLE ITABUSR03.
    TNAME = 'USR03'.
    PERFORM GETFIELEDS.
    PERFORM SHOW123.
    FORM GETFIELEDS.
         CALL FUNCTION 'GET_FIELDTAB'
          EXPORTING
              LANGU              = SY-LANGU
              ONLY               = SPACE
              TABNAME            = TNAME
              WITHTEXT           = 'X'
          IMPORTING
              HEADER             = ZX030L
          TABLES
              FIELDTAB           = ZDFIES
          EXCEPTIONS
              INTERNAL_ERROR      = 01
              NO_TEXTS_FOUND      = 02
              TABLE_HAS_NO_FIELDS = 03
              TABLE_NOT_ACTIV     = 04.
         CASE SY-SUBRC.
            WHEN 0.
              LOOP AT ZDFIES.
                   FLDITAB-FLDNAME = ZDFIES-FIELDNAME.
                   APPEND FLDITAB.
              ENDLOOP.
            WHEN OTHERS.
                 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  with  SY-SUBRC.
          ENDCASE.
    ENDFORM.
    FORM SHOW123.
    CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
         EXPORTING
              FILE_NAME                 = 'C:\USR03.XLS'
              DATA_SHEET_NAME           = 'USER LIST'
        TABLES
             DATA_TAB                  =  ITABUSR03
             FIELDNAMES                =  FLDITAB
        EXCEPTIONS
             FILE_NOT_EXIST            = 1
             FILENAME_EXPECTED         = 2
             COMMUNICATION_ERROR       = 3
             OLE_OBJECT_METHOD_ERROR   = 4
             OLE_OBJECT_PROPERTY_ERROR = 5
             INVALID_FILENAME          = 6
             INVALID_PIVOT_FIELDS      = 7
             DOWNLOAD_PROBLEM          = 8
             OTHERS                    = 9.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.
    Thanks and Regards,
    Kunal.
    ( hope this solves your problem.)

  • Download Smartform output in word document

    Hi All,
    I had a requirement to download the smartform output in ".doc" format.
    I had run FM CONVERT_OTF with parameter value format = 'ASCII', and downloaded using .doc format
    I was able to download but the output is not having logo and some different symbols are added.
    Can any suggest what would be the exact procedure to download the output in word document.
    Regards,
    Dinakar.

    Hi Dinakar,
    Please check the link provided:
    Help with Smartform download - unwanted items showing in file
    The solution provided in this link is very relevant for your question, so hope you will get the solution.
    Thanks & regards,
    Sarita Singh Rathour

  • How can we save smartform output as word document

    Hi Friends,
    Can anybody help me, how to save Smartform output as Word document instead of PDF file.
    Thanks,
    Ramana.

    Hi Venkat,
    I think you can do it manually.
    After the print preview, Select the menu <b>Goto->List Display</b>.
    Now select the menu <b>System->List->Save->Local File</b>.
    Now you can select the radio buttion <b>Rich Text Format</b>.
    Now you save the document as a .doc file (say test.doc)
    That is it!!!!!
    <b>Award points if found useful.</b>
    Regards,
    SP.

  • Reports output to word

    Hi friend,
    I have a problem :-
    When I send my output to word for Report its format in number figure gets changed. I have to use New Times Roman Font.
    Regards and waiting early reply.
    ss rawat

    Hi,
    RTF can be edited using MS Word. Maybe the problem you are referring to is that the data is in tabular format, and you need to edit each cell separately.
    Though I haven't tried it, one way of output to MS Word could be to follow this demonstration:
    http://otn.oracle.com/products/reports/htdocs/getstart/demonstrations/excel/index.html
    This demonstration is for MS-Excel, but you might be able to replace the Excel MIME-type (page contentType) to that for Word, and it might work.
    Navneet.

  • Printing output on word document

    i[b] want to print the output on word document .
    i saved the data in the file so that should be printed on word document.

    on the button1_action() type the following :
    FileWriter out = new FileWriter("c:/MyFile.rtf");
    out.write("Your data is here......................");
    out.close();hope this will help
    good luck
    mohammed

  • How to run report in background, save output to word or excel

    Hello all,
    I have a huge report that needs to be run in background and I need the report in word. When running in Dialog it takes too long and SAP times out. How do you get something to run in background and have the output in excel. I know you can go into SM37, find the spool and then forward the spool request to a local file, is there an easier way to do it? Maybe setting up some kind of to text printer since the background job always asks for the output printer. Any suggestions?
    Thanks a lot,
    Sergiy

    Hi,
    Please check the article below:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4?quicklink=index&overridelayout=true
    -Vikram

  • Smartform output in word document

    hi all,
    how to download a smartform in word document so that the user can make changes in it. i tried converting the output into OTF format but formatting is not coming properly.how to overcome this?

    Hi,
    Even i had the same requirement for a sales order form to download in word and then change it manually before sending to customer. I tried a lot of ways to do the same and finally raised a sap noted for the same.i got a reply from SAP that it is not possible to download forms in word with same allignments maintained with logo. SAP note 641560 says the same thing.
    All you need to do is find a technical solution to fill the data which they want to fill maually or go for adobe form. Thats amazing technology to solve your issue.

  • Output in word file: Methods or the class name required

    Hi Gurus,
    I am trying to get output of the program in a word document directly without any Script or Report in between.
    Steps i follow are:
    Fetching the data
    Invoking word
    Writing the data into the word file created using methods like 'tablegridlines', 'insert' etc.
    When i get this data in the word file , in between every two lines i get one empty (extra) line.
    What can i do to remove that extra line in between. Everything has to be done in my own program using methods.
    Is there any method to delete the line comming between two lines i have created.
    Is there any method to convert the layout of the word file created to "Landscape".
    I would appreciate if somebody could tell me the class which has the methods like 'tablegridlines'
    'insert' 'viewheaderfooter' etc which are used for word output in this case.
    The object that i have created is of the type ole2_object.
    Helpful answers would certainly be rewarded.
    Thanks
    Suruchi
    Edited by: Suruchi Mahajan on May 14, 2008 6:04 AM

    Hi All,
    For the possible methods ,search in table OLELOAD.
    Regards
    Suruchi

  • Produce smartform output in word doc

    I want to get my smartform output in a word doc instead of PDF. I've gone thorough the previous threads for the same thing but couldn't find any exact solution. can anyone tell me how this is to be done?
    <promise removed by moderator>
    Moderator message: please do more research before asking.
    Edited by: Thomas Zloch on Apr 13, 2011 3:26 PM

    Hi yogesh.,
    There is no standard possibility to do Word outputs in SAP.
    you can do manually..
    After the print preview, Select the menu Goto->List Display.
    Now select the menu System->List->Save->Local File.
    Now you can select the radio buttion Rich Text Format.
    Now you save the document as a .doc file (say test.doc)
    That is it!!!!!
    Anyway you can develop connection of Mail-merge technology of Microsoft and SAP ABAP class i_oi_document_proxy.
    http://help.sap.com/saphelp_sm32/helpdata/EN/e9/0be980408e11d1893b0000e8323c4f/content.htm
    with interface get_mail_merge_interface:
    http://help.sap.com/saphelp_sm32/helpdata/en/6e/8fc2e3dd0d11d2bdba080009b4534c/content.htm
    Refer this use ful link for word output
    http://www.sap2word.de/abap.html
    hope this helps.,
    Thanks & Regards
    Kiran
    Moderator message: copy/pasted from several sources, please do not repeat if you want to keep your user ID!
    http://www.google.com/search?q=%22Aftertheprintpreview%2CSelectthemenu+Goto%22&hl=en&source=hp&lr=&aq=f&aqi=&aql=&oq=
    http://www.google.com/search?hl=en&source=hp&q=%22AnywayyoucandevelopconnectionofMail-merge%22&meta=lr%3D&aq=f&aqi=&aql=&oq=
    Edited by: Thomas Zloch on Apr 13, 2011 3:35 PM

  • Smartform output in word format

    dear all
    i have created a smartform which needs to send to external mail ID.s as an .doc attachment.
    how to do this.  even i have no basic idea also.  kindly help out.
    regards

    Hi,
    You cannot convert the smartfrom to word doc for this sap has not provided any provision, Instead you can convert to pdf and send as email.
    You can check my reply in this thread..
    [convert smartform output to pdf   |Re: convert smartform output to pdf]

  • Missing images in output to Word 2003

    When I embed the images in the printed doc output, they show
    up in the word 2003 doc as a box with an X in it. Why? I have tried
    bumping up the virtual memory on my machine - that didn't solve it.
    If I "link" the images, they show up, but I cannot link the images
    in this document. Please help.

    Figured out a work-around.... Create the document in RoboHelp
    and choose the "Link to Document" check box. When you view the doc
    for the first time (it only works if the doc has not been saved) in
    Word, click the Edit, Links menu. In the dialog select all the
    files and check the "Save pictures in Document" check box. This
    works, I tested it by going to another machine that does not
    contain my help files and all the pictures were displayed
    Not perfect, but it will get you there.

  • Fieldpoint output to Word Template

    All:
    Need some help. I currently have a VI where 3 4-20 mA signals are being read from CFP 110 AI card into a CFP 180 via fieldpoint express and then converted using a slope equation into a number. THis number gets a graphical output, a waveform output and a little box with the number. The final thing I need to do with this is export this value into a word template with a bunch of other stuff the operator inputs. Everything works with the exception of the final step. When I trigger the report writer, the only boxes that don't get written are the dynamic data boxes coming from the FP express vi's. WHen I probe the wire, there is data coming down the line, but it doens't seem to populate the template. I treied converting from dynamic to dble, that didn't do anything, you can see that wire in the picture above. This entire process is enlosed in a while loop. Any thoughts?
    THanks for any help.
    Sig. 
    Attachments:
    codepic1.jpg ‏450 KB

    Try converting the dynamic waveforms to a double array just like in the mini Express VI that is sitting right above the nitrous fumes control.  My guess it that Report Express VI doesn't know how to convert the data from a Dynamic signal.
    By the way, you have the word "Appearance" spelled wrong in the boolean control and the Report Express VI.  Correct spelling makes the program appear more professional. 

  • How to download graph output into word document?

    Hello experts!
    I have plotted graphs using some data.
    The graph is actually output of a function module into a container.
    Can anybody tell me , how can i download this graphs into a word document?
    I am able to download text data into word documents, but not graphs.
    Regards,
    Rahul

    Steelers, unfortunately your reply didn't get through. Perhaps you tried to send an attachment or screen shot by email? Please try again (but not sending attachments or screen shots by email).

  • Download java output to word doc

    Hi ,
    I would like to download the java output iview into Word document.
    IS it possible ?
    Thanks and regards,
    Sithi

    Hi pradeep,
    Thnx for ur reply....
    My scenario is , I have created a Iview in Portal from a par file, which is a java code.
    I would like to download this output from the portal to word doc.
    so if i make any changes to it and save it. it has to save the changes in portal too...
    hope the problem is clear.
    Thanks and Regards,
    Sithi

  • Output to Word displays htt file header/footer

    We recently had to update our headers and footers in both .html and .doc output. After making the change in Project Manager and applying it to all topics, we then generated Word, and in the output it applied the htt/html changes to Word. In other words, it put the htt footers from some topics in the body of our compiled Word document. I even went back and replaced the old footers/htt file and generated and it's still doing it. Any help how to fix this? Jim

    Hi there
    Can you please post a screen capture showing what you see when you edit the Master Page where the Header and Footer are defined?
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

Maybe you are looking for

  • Hard Disk Failure-- no disks

    Hello, I have a Satelite L305-5993 running 32 bit Vista Home Premium.  One day the computer bios was not able to recognize a hard drive.  I plugged it into another computer and it did not recognize the hard drive either.  Other than this I am happy w

  • I don't understand how to install Photoshop Elements 13

    Is Photoshop Elements and Premier 13 just a download program?  I was expecting to receive a package in the mail, but whenever I check the status of my order I just get directed to the downloads page.  Also, the download links are all for Windows and

  • Webservice returning string (but I need XML for XSLT Tranformation)

    Hello everybody, I have configured an ip with a webservice. So far so good - everything works fine. Now I want to transform the output of the webservice with xslt. The webservice returns the data as a String in form of XML. e.g.     <!XML> <!String>

  • Where can I buy a replacement stand for external iSight?

    I've found the Sightflex/iFlex on Amazon.com, but the product cannot be shipped to Canada. I just got an iSight off eBay, but can't use it until I get a stand

  • Formulas results outside of row and column axis

    The report has an area of row axis and column axis. This area is where the results from BW are displayed. We have a requirement where we would have to create formulas using the BW Analyzer results of the row axis and column axis and display the resul