How to open a word document from OA page

Hi,
I have a requirement where in the file names are displayed in a table .When the user clicks on the file name the file should open .The docs are basically word docs.
Any idea how to implement this.
I saw a post related to this in which someone suggested to use symlinks in Apache.Not sure how to do that.
Thanks
Anna

Hi Kiran,
host('winword.exe <pass ur resume path>');
hope this could work out....just try...good luck
Regards
Thobula Rakesh

Similar Messages

  • How to open a Word Document from Developer Forms

    Hi Buddies,
    Can anybody help me out in this regard.
    My requirement is like this.
    In my developer Forms Screen i have one button named resume.
    if i click that button then that particular persons resume has to be opened which is MsWord file(.DOC)located in server(Which is the database server).
    So we have to launch the word with the required document using the Forms built-ins. The document path will be stored in my database.
    Quick response will be appreciated.
    Thanks in Anticipation
    Regards
    Kiran Kumar Jasti

    Hi Kiran,
    host('winword.exe <pass ur resume path>');
    hope this could work out....just try...good luck
    Regards
    Thobula Rakesh

  • 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

  • How top Open a Excel Document from share point document library using jquery

    How top Open a Excel Document  from share point document library using jquery

    Hi,
    According to your post, my understanding is that you want to open excel file via JQuery.
    To open excel file, we can use the following code.
    <script type="text/javascript">
    function openExcel(strFilePath) {
    var yourSite = "http://www.yoursite.com";
    openExcelDocPath(yourSite + strFilePath, false);
    function openExcelDocPath(strLocation, boolReadOnly) {
    var objExcel;
    objExcel = new ActiveXObject("Excel.Application");
    objExcel.Visible = true;
    objExcel.Workbooks.Open(strLocation, false, boolReadOnly);
    </script>
    For more reference:
    http://www.kavoir.com/2009/01/using-javascript-to-open-excel-and-word-files-in-html.html
    http://www.dotnetspider.com/resources/43453-Open-Word-Excel-files-using-Javascript.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Open a word document from a Java Application

    Hi,
    Can I open a word document from a java GUI apllication and point to a bokkmark automatically in the word document when opened.

    See this thread:
    http://forum.java.sun.com/thread.jspa?threadID=228332&messageID=810684

  • When I try to install abode - it will download but says i have to close firefox before it will install. also i try to open a word document from a website and it will not open - it will only download

    i install abode - it will download but not install and indicates i have to close firefox before it will download. Also, I try to open a word document from a website - it will download but not open.

    You need to close Firefox to install many plugins, including those from Adobe.
    As for the Word downloads, see the changing downloads action section of this link - https://support.mozilla.com/kb/Managing+file+types

  • How to open a word document in dynpro

    Hi experts,
    i am new to web dynpro, i have a problem that i need to open a word document from desktop in my screen. its not ALV or i dont have to upload the file but i have to OPEN the file..
    plz help
    Regards:
    Parteek

    Hi Manu,
    Follow these steps:
    1. Create CONTEXT with 2 attributes - UPLOAD & SHOW of type XSTRING.
    2. Add a "UPLOAD" element on the layout of screen & map it with UPLOAD attribute of context.
    3. Then Add a "OFFICE CONTROL" on the same screen & map it with the SHOW attribute of context..
    4. Add a BUTTON for Show Document/Open Document.
    5. Add 2 attrubutes in ATTRIBUTES tab of the dynpro application:
            i) DOCUMENT type IF_IOS_DOCUMENT
           ii) FACTORY    type IF_IOS_FACTORY
    6. On method of that button (SHOW)...enter the following code:
    DATA : refexp TYPE REF TO cx_ios_exception.
    IF wd_this->document IS INITIAL.
        wd_this->factory->get_document_proxy( IMPORTING proxy = wd_this->document  ).
        ASSERT ID sios_demo CONDITION wd_this->document IS BOUND.
      ENDIF.
      wd_this->document->opendocument( ).
    read context node
    DATA:
        node_file_upload                    TYPE REF TO if_wd_context_node,
        elem_file_upload                    TYPE REF TO if_wd_context_element,
        stru_file_upload                    TYPE if_second=>element_file_upload .
    navigate from <CONTEXT> to <FILE_UPLOAD> via lead selection
      node_file_upload = wd_context->get_child_node( name = if_second=>wdctx_file_upload ).
    get element via lead selection
      elem_file_upload = node_file_upload->get_element(  ).
    get all declared attributes
      elem_file_upload->get_static_attributes(
        IMPORTING
          static_attributes = stru_file_upload ).
      stru_file_upload-show = stru_file_upload-upload.
    set all declared attributes
      elem_file_upload->set_static_attributes(
        EXPORTING
          static_attributes = stru_file_upload ).
    7. Now add the following code to the WDDOMODIFYVIEW method (default method)
      DATA:
          office TYPE REF TO cl_wd_view_element.
    get the office control
      office ?= view->get_element( 'OFFICE' ).
      ASSERT ID sios_demo CONDITION  office IS BOUND.
    get the IOS interface
      wd_this->factory ?= office->_method_handler.
      ASSERT ID sios_demo CONDITION wd_this->factory IS BOUND.
    8. Run the application & enter a text file of word format in the File Upload.
    9. Press show button & it will display the code of that word file.
    Plz ask any queries if you face any problem doing the above code.
    & dont forget to mark Points.
    Regards:
    Parteek.
    Edited by: Parteek Arora on Jan 23, 2008 9:05 AM

  • How to open a word document

    hi all,
      How i can open a word document containing data by clicking a text in a smart form.
    Thanks,
    Ranjith

    Hi Ranjith,
    Sorry to disappoint You!!
    your requirement cannot be fullfilled as the end product of a smartform is expected to be an printout or at max and PDF document.
    you will not have an option for clicking and you cant achieve your task!!!!!!!!

  • How to open the pdf document from KM  through Link to URL UI element

    Hi All,
    I have Link to URL UI element  in webdynpro java layout - on click of the link we need to open the pdf document from KM respository.
    KM Document location : irj/go/km/docs/documents/RHPortal//USA/A/Test/Employee_details.pdf.
    Once this is transported to Test and Production portals , we need to retrieve the KM document from the respective portal location through the Link to URL UI element .
    Thanks,
    Portaluser100

    Hi,
    If you set the link to your document in a Context attribute by using a relative path this should work just fine.
    Example:
    wdContext.currentContextElement().setUrl("/irj/go/km/docs/documents/RHPortal//USA/A/Test/Employee_details.pdf");
    Bind that attribute to the reference property of the LinkToURL element.
    Cheers,
    Leo

  • How to open a Word 2003 from a Word 2010 document?

    Hello, I am a transcriptionist and I use a word expander but it only works in Word 2003. I have some documents from a new client who uses Word 2010. When I get the files I need to open them in Word 2003 because I need to type in using my word expander.
    How do I open a document that is sent to me in Word 2010 but open it in Word 2003?
    Thanks

    Hi,
    There is a special add in you can use to open office 2010 files in 2003. Have a look here:
    http://www.microsoft.com/en-us/download/details.aspx?id=3
    Maurice
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer. Thank You

  • How do I open a word document from a url?

    We have a document server and I need to open a MSWord document that is a template for LabView to populate (using bookmarks and Connectivity Toolkit).
    I have looked at the URL builder and I can't get that to work.  The Get Document does open the document but it doesn't seam to give the correct path to the Word Get Report so it doesn't give a good link.
    I can open it in the default browser which links to Word but again there isn't any link to feed to Word Get Report.
    Am I even close?
    Thank you,
    Ben
    Solved!
    Go to Solution.

    Here's a code snippet that should help you:
    It:
    initializes a HTTP session with a username and password,
    generates a random, non-existent filename with a doc extension
    Get's a file on URL to the temporary filename
    Closes the HTTP session
    Starts the Report Generaton Toolkit, with the file from the web as the template
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to open a Word document in LabVIEW

    I would like to open use a Word document as a Help file in my LabView project.  I want it to open when the user clicks on a button.
    From what I have read, using ActiveX commands seems to be the way to do it, but I'm having real difficulty understanding these commands and the examples listed. It is probably quite simple but I just can't get my head around it. 
    Can anyone explain how to do it in simple terms.
    Thanks
    BD

    Hmm.. I only have Office 97 and 2003, so not sure if this will work with Office 2000.  Well, try to open the VI (I saved it to previous version 7.1), and if there are broken wires, do the following (see screenshots):
    1.    right click on Word._Application and go to Select ActiveX Class and Browse (the wording might be different since we're using different version of LabVIEW)
    2.1  it might take a while (a few minutes), but a little window will pop up with all the ActiveX libraries (I think all of them) on your computer.  Select Microsoft Word x.x Object Library.  The one on my computer is from Office 2003, so it's 11.0, I think Office 2000 is 8.0.
    2.2  check the Show Creatable Objects Only box, select Application from the list, and click ok
    3.    If there are still broken wires, go through each property and invoke nodes and reselect the function (functions are slightly different in different version of the library)
    4.   If there are still broken wires, click on the broken arrow and see what's wrong, if the error says something like "contains unwired or bad terminal", double click on the error to go to the problematic node, and create a constant on each empty input (sometimes older version library requires more parameters..)
    Hope this will work...
    See-Ming
    Attachments:
    OpenDoc 7.zip ‏285 KB

  • How to open MS word document in browser window?

    Hi all
    Is it somehow acheivable to open a .doc - document in a browser window?
    If I link a .pdf - file from the document library in left navigation menu it opens in a browser window. If I do the same with a MS Word docuemnt it opens the Word application, but I want it to open it inside a browser. Can this somehow be done?
    Regards

    Hi,
    If you want open your document inside Browser, you can try the following settings:
    The setting that controls this behavior is located in Windows Explorer (not Internet Explorer) on the user's machine.
    Open “Windows Explorer”.
    Select Tools -> Folder Options... from the menu.
    Go to the “File Types” tab.
    In the “Registered file types list”, select the file you want to change the setting for (e.g. DOC).
    Click the “Advanced” button to open the Edit File Type dialog.
    There is a checkbox, Browse in same window, where you can specify whether the selected file type should be opened within the browser or launched in its host application when clicked on a web page.
    For more information, please refer to: http://support.microsoft.com/?scid=kb;en-us;162059
    Xue-Mei Chang

  • How to open a word document in safari?

    How do I open a Microsoft Word document on my ipad using Safari?

    I assume that the site is not optimized for iOS/mobile browsers, if that is the behavior that you are seeing. You could try downloading an alternative browser that identifies as a desktop browser like Mercury Browser. There is a free version that I am using right now. You can identify as a desktop browser by tapping the Settings Icon and choosing for User Agent in the lower right corner.
    Perhaps if the site recognizes the browser as a desktop version, it will work for this purpose. If it doesn't work, you have lost nothing but a little bit of time. If it does work and you like Mercury, you can purchase the full version.
    I have the Full version of Mercury, iCab Mobile, Atomic, Dolphin, and Google Chrome which will all identify as desktop browsers.

  • How big can a word document be before Pages (iPad1) crashes?

    I have an iPad1 and was thinking of using it for some quick edits. Since my MacBook struggles a bit with some of my larger word documents, I wondered how the iPad would fare. I don't want to waste the $10 on Pages if it isn't going to work for me. My documents tend to be 100-400 pages, with TOC's, indices, tables, and figures spread through out. The file sizes (of .doc and .docx files) range from 2MB-12MB. Is the idea of editing these documents on an iPad just a dream?

    There is no fixed limit on what Pages for iPad can handle and 2-15 MB is doable.
    That said, 100-400 pages is not a "consumer" level document.  Thats a very large document.  If Word on a full blown computer is having issues with your documents then Pages on a Mobile device may struggle.
    Pages may run slowly with that number of pages and complexity you indicate.  Embeded graphics take more of a tole than simple text.  In addition it may not preserve some of the unique formatting you might have from Word.
    It might be wise to take an example document to an Apple Retail store or Best Buy and load it on one of their iPads and see what it does.
    Cheers.

Maybe you are looking for

  • How to get all the index of "selected rows" in table control?

    Hi Gurus, I have a table control, wherein I need to get selected row so that I can get its respective TABIX. I know that the event for capturing selected row is in PAI. I also ensure that the w/ selColumn name in my screenpainter is exactly the same

  • Best choice for a proxy server on NT?

    Hi, I'm wondering what the best choice for a proxy server is on NT?           Currently I'm running a 2 WL server cluster, but this will grow rapidly. If           all of the pages that I will be handling will be .jsp (with the exception of          

  • HT4539 Can you share books through IBooks with family on different IPads?

    I bought a book on my IPad and my daughter wants to read it on her IPad 2. Is there a way to share the book?

  • I updated from 10.0.9 now problems

    I updated to 10.1.1 now my "reel" symbol is missing at bottom to "Show the project Library".  I started a project a few days ago and now i can't find it anywhere. Is there any way to convert back to the old version?      [email protected]

  • "request to server ical failed"

    I get back an error message whenever I click on the red "i" symbol that just showed up on my calendars. I've never had the problem before, and I just re-subscribed to .mac.