SAP Office Document - open in customcontainer

HI,
i try to open to SAP Office Document in "inplace" mode in my own dympro.
Therefore I have an reference of a CL_DOCUMENT_BCS class. There is an interface with a if_document_display_bcs ~ display_outplace method and a if_document_display_bcs ~ display_inplace method. The first one works very well. But the second one does not seem to do that.
I want to view this document in a custom container of my screen l Is this possible?
kind regards
Micha

response.setHeader ("Content-Disposition","inline;filename=" + vo.getFileName()); This is the line that causes it to open in a browser.
The problem here is that you are using a link to a document...or it appears that way. I dont have any experience with a link to a direct document.
What I've always done is in the Java class I read the document into an object, then write that object to the ServletOutputStream.
So something like this:
1) Set Headers
2) Get word document into some sort of Java object
3) Write that object to the ServletOutputStream
My documents are mostly built on the fly, so hence I need an object anyhow. If you store your files in the database, you will need one too.
I personally would attack it the same way if my files were on the OS as I'd never want a direct link to a physical file. Rather I'd want a link to a page which opens a file.
Edited by: ForumKid2 on Oct 13, 2010 12:40 PM

Similar Messages

  • Why does mountain lion "bunch up" all my microsoft office documents that I have open when I hit f3? When I had snow leopard for example, if i had 4 or 5 different microsoft office documents open at the same time I could hit f3 and easily pick one of them

    Why does mountain lion "bunch up" all my microsoft office documents that I have open when I hit f3? When I had snow leopard for example, if i had 4 or 5 different microsoft office documents open at the same time I could hit f3 and easily pick one of them.
    Notice how in the photo, I can't identify which MS office document I would like to switch too. Perhaps since the Dashboard and Desktop windows are at the top of my screen now Apple doesn't let you have all the applications take up the full screen and be sized individually so that you can have a better idea on what to pick.
    I like the idea of grouping to an extent... If you have a bunch of random things it was hard for me to decifer between what was safari, chrome, or word. But now that they grouped them like this, if you have multiple pages of one program running, you can't switch between those pages easily like before.

    If I wanted to open any of my Applework documents I had to open them one at a time and resave them with pages. This could take weeks.I have 1000s of apple work documents.
    You don't have to open and re-save every AppleWorks document you have right now. Just wait till you need one, then do it. The documents aren't going anywhere.
    Am I dealing with Microsoft? This was a BIG surprise to me that Apple would release an OS without testing all programs.
    Frankly, it is not Apple's responsibility to ensure compatibiltiy with every piece of software available for OS X. That is the responsibility of the software vendor. Lion has been available to developers for several months before it's release, so Microtek had plenty of time to update their software. Yet they did not. How is that Apple's fault? I think Apple was very generous to give you a refund for Lion.
    I'm not trying to belittle your frustration but I do think your ire is misplaced.

  • Is there any way to view full pdf and office documents opened in safari? they just open partically if they are bigs

    is there any way to view full pdf and office documents opened in safari? they just open partically if they are bigs

    Drag them to your iTunes library.  Download the free iBooks app.  Select the PDFs you want too sync in the iTunes books pane.  The iBooks app will show your books collection or your PDFs collection as you select.

  • Office Document open in browser

    Hi, I am trying to open an office document directly in the browser, but IE (V8) always open the modal dialog to open or save. I have tried differents ways and read almost every threads about this topic, some of the solutions that I tried are:
    - Modify Header to inline:
    response.setContentType ("application/msword" );
    response.setHeader ("Content-Transfer-Encoding","7bit");
    response.setHeader ("Content-Disposition","inline;filename=" + vo.getFileName());
    This solution in many ways.
    - Use Iframes:
    "a target="myFrame" href="http://www.polityka-spoleczna.lubuskie.pl/pl/content/download/92/350/file/plik%20testowy1.doc">LINK DOC</a>
    <iframe name="myFrame" >"
    - Use ActiveX
    function loadworddoc(){
    doc = new ActiveXObject("Word.Application"); // creates the word object
    doc.Visible=true; // display Word window
    doc.Documents.Open("C:\\temp\\doc1.doc"); // specify path to document
    I know that this topic has been treated in other posts but none of these has solved my problem, I dont know if is because de IE Version (8), I will appreciate if someone con help me with this issue.
    It doesnt matter if the solution implies activex or some third party API free or commercial.

    response.setHeader ("Content-Disposition","inline;filename=" + vo.getFileName()); This is the line that causes it to open in a browser.
    The problem here is that you are using a link to a document...or it appears that way. I dont have any experience with a link to a direct document.
    What I've always done is in the Java class I read the document into an object, then write that object to the ServletOutputStream.
    So something like this:
    1) Set Headers
    2) Get word document into some sort of Java object
    3) Write that object to the ServletOutputStream
    My documents are mostly built on the fly, so hence I need an object anyhow. If you store your files in the database, you will need one too.
    I personally would attack it the same way if my files were on the OS as I'd never want a direct link to a physical file. Rather I'd want a link to a page which opens a file.
    Edited by: ForumKid2 on Oct 13, 2010 12:40 PM

  • Microsoft office documents opens as read only in sharepoint 2010

    Hi all,
    We are facing strange issue with editing microsoft office documents in sharepoint. When we open the documents for editing it opens as read only and when we try to save the file it displays message as could not save the file the document is read
    only..
    Can anyone help to resolve this issue..

    Hi Manjunath,
    Did the
    dialog of "How would you like to open this file:Read only/Edit" popup when click the Word document?
    Please also check if it is related to Site collection Quota exceeding the allocated limit per this similar post,
    http://sharepoint.stackexchange.com/questions/29689/sharepoint-2010-opens-document-in-read-only-mode
    Thanks
    Daniel Yang
    TechNet Community Support

  • Downloading Sap Office Document in Webdypro

    Hello All,
    I have to provide a link to a document that is present in SAP Office Folder.
    I am able to read the document using SO_OBJECT_GET_CONTENT. But the contents are in the form of a table of character type.
    The File download UI Component of Webdynpro requires the content to be in  Raw string format.
    Is there anyway I can convert or any function method that gives me the data in Raw format.
    Thanks,
    Anand

    Thanks Thomas,
    I was able to find a function some time back.
    SO_SOLITAB_TO_SOLIXTAB.
    This can also be used for converting the content to hex.

  • Turn off Office Documents opening in Browser

    I've gone into Site Settings/Advanced Settings and set it so that Office documents will open only in the client application and NOT in the Browser, but it still tries to open them in the browser.
    What am I missing?

    Hi Elmo,
    Pls check the below
    Navigate to site collection feature and search for "Open Documents
    in Client Applications by Default" and activate the feature.
    if you want to change only for particular document library then from document library settings ->General settings-> advance settings->under Opening
    Documents in the Browser section->Open in
    the client application.
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Archiving SAP Office documents

    Hi.
    I am looking for ways to archive mail sent from SAP. So far I have not found any archiving objects for e-mail. Are there anyone that have found a solution for archiving e-mail in archiving systems, such as CommonStore?
    Regards,
    Thomas

    Hello Thomas,
    try the report RSSOAPUT or the transaction SOY8.
    The following notes are for Reorganization of the SAP Office, perhaps this will also help?:
    <a href="https://service.sap.com/sap/support/notes/988057">Note 988057 - Reorganization - Information</a>
    <a href="https://service.sap.com/sap/support/notes/966854">Note 966854 - Reorganization - New report</a>
    <a href="https://service.sap.com/sap/support/notes/922671">Note 922671 - Deleting folder entries</a>
    Regards, Michael
    Message was edited by:
            Michael Teubner

  • How to integrate and index SAP R/3 Office documents into  resp. through KM

    Hi,
    Is there a way to integrate an existing store of SAPOffice documents on R/3, stored by default in the SAP R/3 table SOFFCONT1 (KPro repository SOFFDB), into the KM on the portal, so that these documents can be indexed and searched through TREX from the portal ?
    I know there is the SAP DMS KM Connector available right now, but apparently this connector only allows access to documents stored in DMS on R/3.
    What the best approach to this problem.
    Could a migration of these documents to SAP Content Server be a solution ?
    Thanks in advance for your input.
    Message was edited by: Theo Paesen

    Vishal,
    Thanks for your suggestions.
    I think building a custom connector (RM) is indeed the best option.
    I am not an ABAP developer, more familiar with KMC
    Could you point me to some more detailed information on the BDS/KPro APIs. Are these also available as BAPIs, callable from an external Java application.
    Something else, the SAP Office documents I am referring to are actually attachments to Notifications in R/3s QM module. So, the documents I want to build a RM for are   these QM notifications (the parent business documents) and their related attachments (the SOFFCONT1 stored docs).
    Could you point out which RFC modules I will need to get at both (bizdoc + attachments).
    Thanks in advance for your input

  • Sap Office PDF to ArchiveLink

    In one of our workflow we create a PDF in SAP office with the request information that we send to the employee. If the request is approved, HR people archive this in the employee archive. This is done manually and takes lots of time.
    We want to do this automatically. We have already have a archivelink link to our archive.
    Is it possible and if how to copy the SAP office document to our archive by archivelink. We also need to specify the correct archive.
    Some documentation would be helpfull.

    Hi,
    Check the function group ARCHIVOBJECT (not sure if this was spelled correctly, but check for example function ARCHIVOBJECT_GET_TABLE and its function group). This function group includes many useful functions which you can use to programatically archive documents with archivelink. There is also lots of examples in SDN - just search with some of the functionas that you can find and look promising.
    Regards,
    Karri
    PS. Check for example this thread: Re: Generic Object Services (GOS) + ArchiveLink against IXOS.
    Edited by: Karri Kemppi on Mar 23, 2010 6:21 PM

  • Office documents

    After installing CF8 and migrating our existing web sites, MS
    office documents open very slowly. Has anyone else seen this
    behavior?

    Once your device is upgraded to OS 4.5, you will get DocumentsToGo as part of the upgrade... includes Word and SlidesToGo, and THEN, updating the application you will get SheetsToGo.
    If you need help or direction, please post back your exact model BB Curve.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Collaboration on a Star Office Document

    Hello everyone,
    how can several people work on the same Star Office document (or MS Office document opened with Star Office 8), providing for the "read-only" mode for all but a single user? Is there any option allowing to use a document as a "read-only" (and even better - password-based, like in MS Office)?
    Thank everyone for help.
    Mike Faynberg

    Hi
    You can share files from any location on any Mac. Where you end up storing them depends on who you want to allow access to your computer. Let me give you two examples (although there are more configurations you can use).
    A - If you are the only person in your office, and have both a MBP and a Mac Pro, you can turn on File Sharing on either computer, and from the other computer, locate the computer in the sidebar of the Finder, click "Connect As", and enter your other Mac's admin name and password. You will then be able to connect to the entire hard drive. You can therefore share files from any folder across the network.
    B - If you share the office with someone else that you don't want to give access to your whole drive or even your user files, but want to share only certain files, turn on File Sharing, and store the shared files in your Public folder. When the other person clicks on your computer name in their Finder sidebar, they'll automatically see your Public folder (they don't need to use "Connect As", since it will automatically log in as a guest). The possible disadvantage of this method is that you must store any needed files in "Public" before the other person can get to them.
    You turn on File Sharing in System Preferences, under Sharing. As I say, there are other sharing possibilities, but I've given you the two extremes of the spectrum.
    You might also want to look at Dropbox, which is a third-party solution (free for up to 2GB). It is best for individuals with multiple computers, or within a small company. It gives you a single shared folder called "Dropbox" which is automatically synced across all computers on which you have installed the software with your account.
    Hope that helps.
    Matt

  • Different behaviour between IE6 and IE on opening Office documents via KM

    Hi all,
    we're in the process of rolling out Internet Explorer 7 (IE7) and noticed something unexpected when opening non-html documents from a KM navigation iview. When clicking on the links in the ivew the documents are all opened in a new window because the hyperlink / href contains "target=_blank". When the document itself is for instance an Excel document, the browser will ask wether you want to open the document or not. When you choose to open the document, Excel launches and the blank IE6 window is closed in the background. When the user is done with the document he or she will return to the portal screen.
    This nice behaviour does not occur with IE7. The blank window remains open so when the user closes the Office document they are looking at an empty IE7 screen.
    Is there any way to fix this by customization or even by code change? It seems to me that this is more a SAP issue because for all HTML pages and for all documents that have IE plugins such as PDF'syou want to open a new window but for the others you want only the application to be lauched, not an empty IE.
    Message [3141588|https://www.sdn.sap.com/irj/sdn/thread?threadID=147594&messageID=3141588#3141588] seems to deal with the same problem and got a somewhat disturbing answer.
    The resource rendering parameter rndOpenTargetType does not seem to help see [Help.sap.com|http://help.sap.com/saphelp_nw70/helpdata/EN/87/3d48475ee8bd448c4031aa98d90524/frameset.htm]
    Marcel

    I found the solution on another site, superuser.com, so I can't claim the solution as my own, but it worked for me. Kent Ng says: 
    I face the similar issue with Excel 2003. If you have installed Skype-Click-to-Call, just removed it to resolve this issue.

  • Error while opening office document

    Hello Gurus!
    I try to use word intergation in WebIC (CRM 5.0). In "Create lead" trunsaction (CL_CRM_IC_ABOXSAMPLE_CR_LEAD class) I have Attachment tab. When I click "Create document with template" buton I get "Error while opening office document" error. In IE settings ActiveX is on. What should I do to make it work?
    Best regards,
    Artur.

    Hello Artur,
    Try this Note:
    Note 606745 - CRM Content Management: Document does not open
    It's not exactly for that issue but it may help.
    Good Luck
    Eli Steklov
    Please Reward Points if it Helped

  • Sorry, we couldn't open...Error opening office documents from SharePoint 2013 in the desktop applications

    Sorry, we couldn't open...Error opening office documents from SharePoint 2013 in the desktop applications        
    One of our Managers encounters the error 'A problem occurred while accessing the Office document cache.  Do you want to repair this problem?'
    Then When he says yes it give a warning that the cache will be backed up and replaced
    Then it says 'A new office document Cache has been created...'
    Then it loads this cache with an error
    Then After all that the next time he tries to open the document it says  is encountered "Sorry, we couldn't open 'URL."
    We have Reinstalled office 2013 on the users PC repaired the cache numerous times
    Followed -  http://office.microsoft.com/en-gb/word-help/manually-rename-the-office-document-cache-HA101848838.aspx
    Updated Lync to 2013 leaving Access as the only office 2010 application (required for legacy systems access)
    Repair installed office 2010 and office 2013 again
    The SharePoint site has been added to the trusted sites list and the set up assistant run from office 365
    And the issue remains the Same all other users including some who also have Access 2010 for legacy systems access have no Issues OS is windows 7 32 Bit browser is IE 9
    Office 365 said
    Reply by Rachel Zhang MSFT Support
    Hi Alex,
    From your description, I notice that the issue is related to Office client. We would like to help you, but I’m sorry that our forum does not focus on this scenario and has limited resources regarding it. However, we have a dedicated support forum where
    the support engineers will help you with the issues about Office client:
    Microsoft Office Community:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release?tm=1365567547805
    Feel free to sign in to the Office community and click Participate->Ask a Question to post the question with the relevant information.
    Microsoft Office Community:  
    Feel free to sign in to the Office community and click to post the question with the relevant information.
    Office team said
    Hello Alex,
    Thank you for posting your query in Microsoft Office Community.

    Check if other excel works fine
    Do you have any script\macro in excel file
    Check if all application pool on all servers are running
    both office and IE should be same build (64 or 32 bit)
    what is the error message in ULS log and Event viewer
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for