Open a MS Word document in portal application

In portal content area we can add a MS Word document as an item. When you click the link, portal will launch MS Word and open the file.
Can we do the same thing in portal application?

Hi friend,
Try this simple program...
REPORT zawi_try.
TABLES: sscrfields.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON 10(10) word  USER-COMMAND as.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
  MOVE 'WORD' TO word.
AT SELECTION-SCREEN.
  CASE sscrfields-ucomm.
    WHEN 'AS'.
      CALL FUNCTION 'GUI_RUN'
        EXPORTING
          command   = 'winword'
          parameter = 'C:\a.doc'.
  ENDCASE.
This might be helpful....
Thanks..

Similar Messages

  • So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    So I've been trying to open some Microsoft Word Documents and it says it can't be opened because PowerPC applications are no longer supported. What do I do about this?

    Workarounds:
    1.  Restore the OS X that you formerly used to run Word 2004;
    2.  Partition your hard drive or attach an external hard drive and install Snow Leopard (and Rosetta) so that you can "dual-boot" into Microsoft Word 2004;
    3.  Upgrade to Word 2011 or use an alternative program; or
    4.  The solution I use: Install Snow Leopard (and Rosetta) into Parallels 7 or 8:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439

  • How to fix EXC_BAD_ACCESS error? I just upgraded to 10.7.5 and now I can't open any MS Word documents

    How to fix EXC_BAD_ACCESS error? I just upgraded to 10.7.5 and now I can't open any MS Word documents.
    I get this error message every time:
    Microsoft Error Reporting log version: 2.0
    Error Signature:
    Exception: EXC_BAD_ACCESS
    Date/Time: 2013-05-28 02:28:42 +0000
    Application Name: Microsoft Word
    Application Bundle ID: com.microsoft.Word
    Application Signature: MSWD
    Application Version: 14.3.4.130416
    Crashed Module Name: Microsoft Word
    Crashed Module Version: 14.3.4.130416
    Crashed Module Offset: 0x00938638
    Blame Module Name: Microsoft Word
    Blame Module Version: 14.3.4.130416
    Blame Module Offset: 0x00938638
    Application LCID: 1033
    Extra app info: Reg=en Loc=0x0409
    Crashed thread: 0
    I tried to remove the plist files, but it hasn't worked! Please help!

    What version of Microsoft Office for Mac do you have?
    Pete

  • I just updated my OS to Lion, I am no longer able to open all my "Word" documents, is there a way I can do this or change them all to Pages?

    I just updated my OS to Lion, I am no longer able to open all my "Word" documents, as the new system does not support this, can I get around this somehow?, or some way to change the documents all to "Pages"? Or, should I reinstall the Leopard OS, change all the word documents to Pages and then reinstall Lion?
    Thanks

    You can open Word files in Pages by default without any problem. Select one of the Word files by clicking once on it in Finder. Press cmd-i to Get Info on the file. In the bottom half of the window that opens, is Open with:. Below that click on the drop down box and select Pages.app. Then click on Change All... and confirm the "Are you sure... " warning. Now, all Word files will open in Pages.
    HTH

  • How do I open my old Word documents with Lion

    I installed Lion and now I can't open my old Word documents.  Any idea how I can do this?

    You'll want to get a newer version of Word or Pages so you can open them properly.  It's possible to open them with TextEdit, but the formatting is not going to work out very well.
    You can download the latest Pages using the App Store icon on the doc (It looks like an A in a blue circle).
    You can download the latest Word by purchasing it from microsoft.com/mac
    You might get a better deal buying Microsoft Office 2011 from a retail store, but it's nice to get the software immediately if you need it right away.
    Lastly, you could also get OpenOffice by going to openoffice.org  however it all depends on how much you use Word and whether that program will do what you need Word for.  The plus side, is that OpenOffice is free, but the downside is that both Pages and Word provide a more user-friendly environment (in my opinion) and are worth the cost.

  • When opening a new word document last document comes up? How to stop this?

    When opening a new word document the last document that was open pops up.  How do I stop this from happening???

    Here: http://reviews.cnet.com/8301-13727_7-20083707-263/managing-mac-os-x-lions-applic ation-resume-feature/?tag=mncol;title  

  • OTM can not open attachment with Word Document(*.docx)

    With more and more use of Word Document(*.docx) (version 2007). OTM (Oracle Test Manager) can create an attachment with it, but can not open attachment with Word Document(*.docx). Is this a problem for anyone else? Any wok around?
    Thanks
    Katherine

    I am using OTM version 9.2 and the Word document (*.docx) attachment can be opened in this.
    For being able to open a docx file, try to attach an word document from the file option in the Requirements, Test or Issue tabs in OTM , once you upload the file, please check if location is " in Database" Else click update DB and upload the document.
    Once the attachment is attached to the Attachment section in the right pane, clicking on the attachment will open the *.docx document.
    This has worked for me.
    Hope this helps.

  • How can i open microsoft office word documents on my ipad 4 and edit it.

    How can i open microsoft office word documents on my ipad 4 and edit it. How to transfer my scaned documents on it

    There are a number of apps that are compatible with Office documents. Apple makes iOS versions of their own iWork apps (Pages, Keynote, Numbers) that are available free if you purchase a new iOS device and that can be purchased separately for older devices. There are also 3rd party combined suites that cost less than the separate Apple apps. Ones often recommended include Documents 2 Go,  Quickoffice and Office2 HD.
    If you can accept needing a network connection whenever you want to use the apps and have an Office 365 subscription, Microsoft has just released their Office Mobile app, though it has significant limitations. Or a server-based solution such as CloudOn might be an option for you.
    Regards.

  • Upload and display Word Document in WD application

    Hello,
    I have a WD ABAP appl. where the user wants to upload an Word / Excel file (from its own local drive).
    The document shall be saved in SAP and it shall also be possible to display the document later in the WD application.
    I implemented the UI element upload in the view, to determine the path of the document.
    For the display implemented the UI element Office control.
    1. When i browse the document, the properties data, filename and mime type are filled into the bound context elements of the upload UI.
    2. The property datasource of the UI office control I bound to the same context element, that is also bound to the property data of the upload UI.
    The office control opens a word document, but the document is empty.
    Is it possible that the document is not uploaded correct?
    In another application I did an upload for a PDF doc.. There I implemented the following coding as action of the button 'Upload'.
    data lo_nd_pdf type ref to if_wd_context_node.
    data lo_el_pdf type ref to if_wd_context_element.
    data ls_pdf type wd_this->element_pdf.
    data lv_pdf like ls_pdf-pdf.
    navigate from <CONTEXT> to <PDF> via lead selection
    lo_nd_pdf = wd_context->get_child_node( name = wd_this->wdctx_pdf ).
    get element via lead selection
    lo_el_pdf = lo_nd_pdf->get_element( ).
    get single attribute
    lo_el_pdf->get_attribute(
    exporting
    name = `PDF`
    importing
    value = lv_pdf ).
    Get a reference to the from processing class.
    data: l_fp type ref to if_fp.
    l_fp = cl_fp=>get_reference( ).
    Get a reference to the PDF Object class.
    data: l_pdfobj type ref to if_fp_pdf_object.
    l_pdfobj = l_fp->create_pdf_object( ).
    set the pdf in the PDF Object
    l_pdfobj->set_document( pdfdata = lv_pdf ).
    set the PDF Object to extract data the Form data.
    l_pdfobj->set_extractdata( ).
    execute call to ADS
    l_pdfobj->execute( ).
    get the PDF Form data
    data: pdf_form_data type xstring.
    l_pdfobj->get_data(
    importing
    formdata = pdf_form_data ).
    convert the xstring from data to string so it can be processed using the iXML classes
    data: converter type ref to cl_abap_conv_in_ce,
    formxml type string.
    converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
    converter->read(
    importing
    data = formxml ).
    pull in the iXML type group.
    type-pools: ixml.
    get a reference to iXML object
    data:l_ixml type ref to if_ixml.
    l_ixml = cl_ixml=>create( ).
    get iStream object from StreamFactory
    data: streamfactory type ref to if_ixml_stream_factory,
    istream type ref to if_ixml_istream.
    streamfactory = l_ixml->create_stream_factory( ).
    istream = streamfactory->create_istream_string( formxml ).
    create an XML document class that will be used to process the XML
    data: document type ref to if_ixml_document.
    document = l_ixml->create_document( ).
    create the parser class
    data: parser type ref to if_ixml_parser.
    parser = l_ixml->create_parser( stream_factory = streamfactory
    istream = istream
    document = document ).
    parse the XML
    parser->parse( ).
    define XML Node type object
    data: node type ref to if_ixml_node,
    attributes type ref to if_ixml_named_node_map.
    get the psi sales data Node and value.
    data ls_psi_sales type wd_this->element_psi_sales.
    data: lt_dfies type table of dfies,
    ls_defies type dfies.
    call function 'DDIF_NAMETAB_GET'
    exporting
    tabname = 'ZCM_PSI_SALES'
    ALL_TYPES = ' '
    LFIELDNAME = ' '
    GROUP_NAMES = ' '
    UCLEN =
    IMPORTING
    X030L_WA =
    DTELINFO_WA =
    TTYPINFO_WA =
    DDOBJTYPE =
    DFIES_WA =
    LINES_DESCR =
    tables
    X031L_TAB =
    dfies_tab = lt_dfies
    exceptions
    not_found = 1
    others = 2
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    data: lv_fieldname type string.
    field-symbols <fs_field> type any.
    loop at lt_dfies into ls_defies.
    lv_fieldname = ls_defies-fieldname.
    node = document->find_from_name( name = lv_fieldname ).
    assign component lv_fieldname
    of structure ls_psi_sales
    to <fs_field>.
    if <fs_field> is assigned.
    <fs_field> = node->get_value( ).
    endif.
    endloop.
    WRITE DATA INTO CONTEXT
    data lo_nd_psi_sales type ref to if_wd_context_node.
    data lo_el_psi_sales type ref to if_wd_context_element.
    navigate from <CONTEXT> to <PSI_SALES> via lead selection
    lo_nd_psi_sales = wd_context->get_child_node( name = wd_this->wdctx_psi_sales ).
    get element via lead selection
    lo_el_psi_sales = lo_nd_psi_sales->get_element( ).
    set all declared attributes
    lo_el_psi_sales->set_static_attributes(
    exporting
    static_attributes = ls_psi_sales ).
    Do I need such a code also to upload a word doc?
    Which interface / class exists for word documents? (for PDF upload there is the interface IF_FP)
    How can I save a document in SAP? (as MIME Object?  with which method?)
    I hope someone can help me!?
    BR

    You can use the fileupload and filedownload uielements.
    Check these links:
    [File Upload|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/b3/be7941601b1d09e10000000a155106/content.htm]
    [File Download|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/09/a5884121a41c09e10000000a155106/content.htm]
    When you upload a file and save in SAP, are you saving it as xstring.
    If yes follow these steps for filedownload.
    Follow these steps for file download:
    1 Create FileDownload uielement in your View
    2.Create an Attribute of type xstring.
    3.Bind this attribute to the data property of your Filedownload uielement.
    4. during fileuplaod as you are saving the document in xstring format, fetch the same from your database table and pass the value to filedownload i.e set the attribute bound to data property of filedownload uielement with the xstring content.

  • Display word documents in portal content

    Hi,
    I have some word documents, which i want to display directly in the portal page. To display the documents I have generated a URL for each document and put this URL into an URL iView.
    But the problem now is, that it always opens a separate window for the word documents, although I have set the property "Open in portal content" in the iview and "Isolation Method - Embedded" in the portal page.
    Does somebody know, which additional settings are needed, to show the documents embedded in the portal page?
    Thanks in advance!
    Regards,
    Lydia

    Hi Lydia,
    The  "Isolation Method - Embedded" will NOT help at all in your case, the "Open in the portal content area" means that
    the iView itself will be opened in the portal content area, instead of a new windows.
    In your case, I agree with Raghu that you should use KM Document iView instead of URL iview, so please consider:
    1. createa separate KM document iViews for every DOC, make sure "Open in the portal content area" is set.
    2. craete a workset and assign the KM Document iViews to this workset
    3. assign this workset to a certain role and assign the role to your user.
    4. login with this user and try to launch the iview, then the DOC file should be opened in the same browser window
    Thanks and best regards,
    Thunder
    Edited by: Thunder Feng on Nov 19, 2010 2:07 AM

  • Launch Word documents in portal content

    Hello
    I would like to view my Word documents launching Word application inside content area. Is it possible?
    Thanks

    Need a simple application that access to the specific folder and create a list of link for all DOCs you wish.
    With JSP or WebDynpro java.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/using%20knowledge%20management%20functionality%20in%20web%20dynpro%20applications.pdf

  • I just made the update with "Mountain Lion" on may MAC. Now I am not able to open all my Word-Documents any more. What can I do?

    I just made the update with "Mountain Lion" on my MAC. Now I´m not able to open all my (old) Word-Documents any more. What can I do?

    Office 2004 Applications Won't Work in Lion
    You must have Office 2004 which is a PPC-only suite and will not work in Lion. You need to upgrade to Office 2011 - Mactopia - or you can try the freeware suite, Libre Office, that is functionally similar to Office 2007 for Windows except it works on Lion.
    You may want to consider as well:
    These two suites are similar to Libre Office but not as current or as well-supported:
    NeoOffice
    Open Office
    And, then there is Apple's iWork suite:
    Pages - word processing and layout
    Keynote - presentation
    Numbers - spreadsheet
    Each can open and save Office compatible files. They may be purchased separately via the Mac App Store for $19.99 each.
    (Access to the Mac App Store requires Snow Leopard 10.6.6 or higher and an Apple ID.)

  • Unable to open or forward Word Documents

    I am currently using Yahoo as my mail provider. But I am unable to forward Word documents (issue happened before 1.1.1 update, haven't yet tried it after the update). The message will be forwarded, but the Word document that was attached will be missing. Also since updating to the newest software (version 1.1.1) I can no longer open Word Documents that have been sent to me. When I attempt to open the attachment, the mail application closes completely.
    Message was edited by: Abdullah Abdullah
    Message was edited by: Abdullah Abdullah

    I tried your recommendation, however it did not work. I still can’t open Adobe itself or any Adobe documents.
    Jeanine Bruce
    Johnson & Wood, LLC
    4500 Empire Way ● Suite 2 ● Lansing, MI 48917
    P: 517.322.0000 ● F: 517.322.9455 ● C: 517.899.3330
    <http://www.johnsonwoodllc.com/> website |  <mailto:[email protected]> email | offices
    Confidentiality Note:  This electronic message and any attachments ("message") is intended for use only by the individual or entity to which it is addressed and may contain information that is confidential, protected by the attorney-client privilege, and/or exempt from disclosure under applicable law. If you are not the intended recipient of this message, please reply to the sender that you received the message in error and delete all copies of the message from your computer and network. Dissemination, copying, or other use of this message by any person or entity other than the intended recipient is strictly prohibited.

  • Takes a long time to open small MS Word Documents on SSL VPN

    I have an issue that when users connect to my ASA 5520 via SSL VPN it takes from fifteen seconds to three minutes to open up small Microsoft Word documents, it also takes a long time to save changes. Users also reporting Word crashes when on the VPN, but not when they are on the LAN. I have checked the endpoint speed of my cable modem and all is well there. The DNS and WINS settings are correct on the ASA. I have turned off compression and enabled DTLS. Any suggestions? Thanks

    Reduce the mss to 1300. If that doesn't fix it, keep lowering it by 100 each time. If you get down to 1000 and it still doesn't work, then we need to look at something else.
    sysopt connection tcpmss 1300

  • How can i open a MS Word document

    with Mac users being only 5-10% of the computer world, I would feel that I would be able to open and or send a word document, but I had a doc emailed to me and nothing I do will open it.........i'm sure there must be a way, right?

    Use TextEdit, LibreOffice, Pages, Google Docs, Microsoft Office 2008 or newer, or similar software.
    (124655)

Maybe you are looking for

  • SAP report which display PO nos based  on cost center, Internal orders

    Hi. I am looking for a report in MM which will display the list of purchase orders for a cost center, Internal orders etc. The report output should have ALV grid format,The output of the report should have material no or short text, PO quantity, PO P

  • Flash Buttons & IE

    Hi, Am aware that this topic has been raised before but no one seems to have given a definitive answer as to whether there is anything that can be done to resolve the issue. Anyone any thoughts. Brian Lock

  • Simplest way to secure static HTML based on certificate

    Trying to handle too many jobs at once - but is there a simple way to hide a group of static html pages behind a check to make sure that the user has a certificate signed by a trusted CA. I do not want to authorize the user against any list of valid

  • What is the best way   for writing cursors in while loops

    i just chage my flatform from visual foxpro to sql for every report part using query analyser i have to make report on any tables suppose : - mastempno wise report so i heve to use cursor or store procedure in while loop for searching in transaction

  • DW won't recognize jpegs

    I built my site years ago using Dreamweaver 4 in System 9. I bought CS3 to work in 10.4 and downloaded my site, as recommended. The JPEG files that didn't originally have a ".JPEG" suffix (no problem in DW4) now have just a "Dw" icon, and are not rec