Output as word Document

i want to create a report as a word document.
data is present in database can anyone help me to extract data from database and create the result as a word document

i want to create a report as a word document.
data is present in database can anyone help me to
extract data from databasehttp://java.sun.com/docs/books/tutorial/jdbc/
and create the result as a
word documenthttp://onesearch.sun.com/search/onesearch/index.jsp?qt=write+word+document&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums

Similar Messages

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

  • 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

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

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

  • Convert SAPScript output into Word document (.doc)

    Hi,
    I want to convert the output of sapscript into the word document. Will u pls. suggest the appropriate way to achieve it.
    We have a Function Module which converts the ouput in to the PDF and RTF format. Is dere a possibility to convert it into the DOC file.
    Thanks,
    Hitz

    hi ,
    Use ABAP program: RSTXSCRP
    It will download and upload your sapscripts as a text file in your local harddisk.
    when u execute that program ,one screen appears.there u have to enter the directory path and the name of the upload or download file. Use the naming conventions of the file system where the file is located.
    File system Example
    Windows, DOS d:\tmp\text.rtf
    Unix /usr/sap/c11/SYS/global/text.rtf
    When uploading, the data in the file is transported into the SAP System. When downloading, the data is stored in the file by the SAP System.
    If you are working on a PC, enter a file that is located on a hard disk or a disk of the PC.  If the PC is connected to a network, or if you are on a workstation, you can specify a file on a remote disk.
    and for converting the output in to PDF format use the function module CONVERT_OTF.
    u can use these function modules to convert the script.
    SX_OBJECT_CONVERT_OTF_PDF Conversion From OTF to PDF (SAPScript conversion)
    SX_OBJECT_CONVERT_OTF_PRT Conversion From OTF to Printer Format (SAPScript conversion)
    SX_OBJECT_CONVERT_OTF_RAW Conversion From OTF to ASCII (SAPScript conversion)
    i think  there is no such function module to convert script out put into DOC format.
    Reward points if useful.
    Thanks,
    Usha
    Message was edited by:
            usha

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

  • Using and Apex developed system and generating  word documents

    Started a new development project. We looked at using Apex for the system but ran up against a road block because the customer needs to generate word documents that they can edit and print. Does anyone know if Apex can handle this? Any suggestions on were to look for more information.

    Hi Dawn,
    Yes you can certainly do that, take a look at this quick overview -
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    It refers specifically to PDF printing, however with BI Publisher you can output in Word Document format too.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Edit a word document from a JSP page

    hi all,
    i would like to know if it is possible to edit a Word document from a JSP page (without uploading it).
    thanks.

    Technically no. But what you can do is output a word document to the browser with the contenttype "application/msword" and if word is installed it will be opened inside the browser.

  • Converting report output to a word document

    Hi,
    Can anyone pls help me by providing the program for converting displaying/inserting the internal table values along with the table frame aound the internal table(in the sense displaying the rows and columns lines) to the word document not in the excel format, instead of displaying in the report.
    Thanks,
    Ravi

    Hi Ravi,
    see if this helps you in anyway:
    REPORT OUTPUT IN WORD OR EXCEL
    Re: OLE: ms word (Textbox)
    Re: OLE and MS Word
    Create MS-Word document (With format)
    Regards,
    Ravi

  • Display a Word Document in the Output

    Hi All ,
    I would like to display a word document in the Output .
    I cheked the demo application 'ZIOS_TEST_SIMPLE_MS' , but i am not able to see the Word Document in the output.
    Do we need to do any settings or configuration to be done to use these controls ?
    Thank You ,
    Radhika.

    You might want to add a browser layer over your flex
    application and let the browser manage the file types. I personally
    use the HTML component from
    http://drumbeatinsight.com/.

  • Outputting images in word documents

    DB Version: Oracle 11g XE
    Host: Windows 2003 Server - 32 Bit
    I have a current application that produces MS Word Documents from host based templates and stores them in the database for later printing. This works nicely however I would also like to be able to embed some small images into the MS Word document. The images are based on user profiles so need to be dynamically managed and merged into the MS Word document.
    These images may be stored either on the file system also (alongside the MS Word templates) or within WWV_FLOW_FILES (?) and I just need to work out how to merge the two files into one output.
    Any assistance will be greatly appreciated.
    Regards,
    Mike

    Hi,
    I'm actually thinking whether the issue is related to Office version. What are the versions of Office on your laptop and workstation?
    Based on the description, the issue doesn't occur if the document is saved as .doc, it only occurs if the document is saved as .docx, so basically we can say your workstation doesn't support .docx well. Is it a version prior to Office 2007?
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • To write the output of a file on to a word document

    Just as we use csv to write onto an excel sheet, can we write onto a word document? If yes, how?

    You can use FileWriter and PrintWriter
    //set up
    File f = new File("filename.doc");
    FileWriter f1= new FileWriter(f);
    PrintWriter f1out = new PrintWriter(f1);
    f1out.println("stuff to be printed to file);

  • Importing a word-document to RH11 for output as WebHelp (Image-Quality)

    Hello guys,
    i have a problem with importing word-documents to RH11. It is not a problem with the process itself, but with the settings. After importing the documents to RH11 the image quality is absolutly messed up. The resolution is not even half of the original and its blurry. It seems to be that RH11 only takes a "screenshot" of the picture within the word document instead of importing the original high quality image.
    I am generating a manual and therefor im going to export the project as WebHelp Pro. My inconvinient solution is to export the high quality images from the word document manually and replace the messy pictures in the WebHelpPro folders. As you can imagin this is going to take a lot of time and resources while the project is getting bigger.
    Hopefully you can help me.
    Best regards from Germany and please pardon my English :-)

    So you are putting the image into Rh at 100% and then shrinking it there, correct?
    How are you shrinking it?
    If you are going to Image Properties and resizing there, you will get poorer results.
    Go to View > Pods > Tools > ReSize and you will get better results.
    Or use SnagIt.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for