Download Documents from DMS in xMII

Hi,
I need to download some documents from SAP which are maintained in DMS.
I know there are some BAPIs like BAPI_DOCUMENT*  and I know how to use them in ABAP , ITS and webapplication server.
But I am not able to think of how to do it in xMII.
Can some one share the details.
Thanks,
Amara.

Sam,
I modified my transaction in order to save what exactly I am getting from SAP to xMII using an image saver action block to some folder with xxxx.xls file name.
Just because of my curiosity I double clicked on the file that is just created by our transaction. It opened <b>PERFECTLY WELL</b> in MS Excel.
So your question about asking to post garbled data clarified one of the two questions I have. Is the data getting corrupted while transmitted from SAP to xMII or is the data getting corrupted while transmitted from xMII to browser.
From the above modification to transaction of saving the file to a folder and opening it in MS Excel confirmed that the data is not getting corrupted while transmitting it from SAP to xMII. From now on we have only one thing to deal with i.e. that the data from xMII to Browser.
To confirm this, I created a test transaction with only one action block with ImageLoader and in the outgoing parameters I assigned imagedata property to transaction output property FILE. and I accessed it from browser using the below URL http://xxxx/Lighthammer/Runner?OutputParameter=FILE&Transaction=TEST_DOC_TRAN&content-type=application/x-msexcel . In this case also it is showing garbled data. Just to save you time I have send you transaction and test XLS file can be of any XLS file. Just to let you know that I have configured imageloader to load file from c:\inetpub\wwwroot\ directory.
Let me know if I need to provide more info.
Thanks in advance.
Srinivas.

Similar Messages

  • BAPI to download document from DMS

    Hi ALL
    I have the requirement that to download the all the active drawing(DWG) files to local file system or data base for purpose.
    1. I am looking at BAPIS to download from external program.
    Do we have any BAPIS to get the files from DMS.?
    2. And i want to convert those DWG files to pdf files.
    Is there any way we can convert in the dms and download or
    I have to download DWG to localsystem and convert afterwards??
    3. Is there any way to push IDOC for DMS files when the file changes in DMS to external system??
    Please help me.
    Thanks
    Vansi

    Hi Vamsi,
    I think you can do it using program DMS_RELOCATE_CONTENT.
    Go through below link as well
    BSP & DMS Document Download
    <b>Reward Points if this helps,</b>
    Satish

  • Mass downloading of Documents from DMS

    Dear SAP gurus,
    How to download the multiple documents from DMS in one step?
    Thanks in advance.
    Venkat

    Dear Prasanna,
    We have to download all the document info records (along with Documents attached to it) and upload them to new server.
    How should go about this?
    Thanks in advance.
    Venkat

  • Get document from DMS to VB

    Hello,
    does anyone know how to get the document from DMS to a local drive, while using VB Code (with SAP Connector) or .NET?
    I tried to use the 'CVAPI_DOC_CHECKIN' but it didn't work.
    maybe it's the wrong function to use...
    I've also tried to examine the 'CVAPI_DOC_GETDETAIL' but got an error.
    does anyone has a sample code in VB or .NET to get the document from a DMS to a local file?

    Try BAPI_DOCUMENT_CHECKOUTVIEW2.
    Remember to reward points if this solves ur problem.

  • Save/Print document from DMS with Office 365

    Dear All,
    We are on ECC 6.0 EHP 4 of SAP. When a word document attachment is opened in DMS (CV03N) from a PC having locally installed Office 365. The document is opening up in office 365 interface inside SAP. Which is good, but we are unable to save the document on to local PC. Upon clicking the File menu, i suppose word tries to bring an additional view instead of a drop down, which was the case with earlier versions. I think this is causing the problem. Can any one suggest how to save and print documents from DMS with locally installed Office 365.?
    We have figured out a work around to bring up the 'Save As' and 'Print' functionalities on to quick access tool bar. Using these shortcuts we are able to save the document but not print.
    Thank you.
    Regards,
    Kartik

    Dear Ms. Mohanapriya,
    We are quite happy with the existing DMS and our intention is not to change the existing architecture. Well, now we are able to open the document and have a workaround to save to local PC. And once the document is saved to PC users are able to print.
    Now we are looking for a solution to enable file menu of Office 365 within OLE container of SAP.
    Regards,
    Kartik

  • Allow users to Download documents from server

    Hello Everybody,
    I am working on an Flex application where I have to allow the
    users to Open/Save documents such as Word document, Excel sheet,
    PDFs, Jpeg, Media files (any digital format document) when a user
    clicks on a link present in a Flex application. To do this I am
    using the navigateToURL() method and simply passing the URL string
    as a URLRequest to the navigateToURL method. This works fine but
    whenenver the link is invoked and the user selects to Save the
    Excel sheet or any document it displays an unwanted browser window
    behind the Open/Save/Cancel dialog box saying action cancelled.
    I can not use "_self" as I require the Flex application to
    run as is. I tried using the javascript:window.open() but this did
    not work.
    1) Is there a process to stop the browser window from
    opening?
    2) How can we invoke a javascript using navigateToURL(), I
    tried to invoke javascript.alert('Ok') and also
    javascript:window.open() both did not function.
    3) Is there any other method or flex classes etc. to invoke
    external applications (allow to download documents from server)?
    Please help me.
    Thanks and Regards,
    Paromita

    Paromita,
    You could use the file download functionality. This is from
    the docs:
    You can let users download files from a server using the
    FileReference.download() method, which takes two parameters:
    request and defaultFileName. The first parameter is the URLRequest
    object that contains the URL of the file to download. The second
    parameter is optional--it lets you specify a default filename that
    appears in the download file dialog box. If you omit the second
    parameter, defaultFileName, the filename from the specified URL is
    used.
    The following code downloads a file named index.xml from the
    same directory as the SWF document:
    var request:URLRequest = new URLRequest("index.xml");
    var fileRef:FileReference = new FileReference();
    fileRef.download(request);
    To set the default name to currentnews.xml instead of
    index.xml, specify the defaultFileName parameter, as the following
    snippet shows:
    var request:URLRequest = new URLRequest("index.xml");
    var fileToDownload:FileReference = new FileReference();
    fileToDownload.download(request, "currentnews.xml");
    I think this will accomplish what you are trying to do.
    Vygo

  • How we can View and Edit an 2D / 3D document from DMS

    Hi..
    How we can View and Edit an 2D / 3D document from DMS?
    What are  the system requirement?
    Sandip

    How we can View and Edit an 2D / 3D document from DMS?
    Use ECL viewer to view 2D/3D files.Markup and redlining features are useful for adding comments.Note that you cannot modify the native application using ECL viewer.
    For editing 3d files,the particular CAD software would have to be available on the local system and necessary DC20 settings specified.
    What are the system requirement?
    Ensure ECL viewer is installed.
    Regards,
    Pradeepkumar Haragoldavar

  • Upload/Download docs from DMS

    Hello,
    I am trying to learn how to up- and download documents from Business Document Service (trans. OAER) in a web page. Reading here and there I found some examples of code for it but it is for ABAP and not for WebDynpro. I performed my examples in ABAP and works but not when I try to do it from a Web page.
    Can somebody lead me to an example on how to save a file once it´s been uploaded and later how to download it ??

    Hello,
    I am trying to learn how to up- and download documents from Business Document Service (trans. OAER) in a web page. Reading here and there I found some examples of code for it but it is for ABAP and not for WebDynpro. I performed my examples in ABAP and works but not when I try to do it from a Web page.
    Can somebody lead me to an example on how to save a file once it´s been uploaded and later how to download it ??

  • How do I download documents from my computer to Ipad?

    How do I download documents
    from my computer to Ipad?

    Apple has the iBooks app for compatibility with pdf flies. If you do not have it on your iPad, you can download it for free. My personal preference for pdf's is the free Adobe Reader app. It has so many more useful features than iBooks, but if all that you want to do is save the pdf's and organize them into collections, iBooks will work fine. So download an app that you can store pdf files in.
    In order to transfer pdf files to the iPad, you can do that via iTunes. If you are using iBooks on the iPad, you have to add the pdf's to your iTunes library via File>Add to Library. Then you can select them to sync to the device by selecting them in the books pane of iTunes when the iPad is connected to your computers iTunes. This explains how to add content to iTunes. It works with pdf files as described in this article.
    Adding music and other content to iTunes - Apple Support
    Sync your iPhone, iPad and iPod with iTunes using USB - Apple Support
    If you use the Adobe Reader app, you can use iTunes File Sharing to transfer the files.
    iOS: About File Sharing - Apple Support
    MS Word is now available as a free app in the App Store. Read about it here.
    https://itunes.apple.com/us/app/microsoft-word/id586447913?mt=8

  • DMS Error - Error occurred when I try to download document from storage.

    Hi, gurus
    I'm new to DMS and using 3rd party content server now but I faced error.
    let me explain my symtom.
    First, I created Content Rep. EL
    Document area: DMS
    storage type: HTTP content server
    Version: 0046
    (note that connection test is successful.)
    then, I created storage category , using content rep. EL
    Finally, I registered document to the content server I created, using T-CODE CV01N - Display
    but after that, i can not download the registered document from content server
    I just faced error message u2193
    File c:\temp\_IT300807.pdf could not be accessed
    However, when I select storage Cat. to DMS_C1_ST(Default DMS storage),
    I can download registered document
    I think I need to make some settings to use 3rd party content server.
    Can I know what setting is necessary to use 3rd party content server?
    if there are some documents, please give me some URL link. Thanks and regard
    Kwon

    Hi kori, I typed into CSADMIN and check my repository is running
    I'll give you detailed setting information
    ContentStorageHost: localhost
    ContentStorageName: SDB
    Storage: ContentStorage.dll
    Security: 1
    ContRepDescription: Content Repository using DMS
    driver: MaxDB
    DefaultDocProt: Blank
    Thanks and regard.

  • Downloading Invoice From DMS content Server.

    Hi All,
    I am New to DMS . We have a business requirement to download sales invoice from DMS server and send the same to printer or save the same to external local drive of user in pdf format.How can we link invoice no with the relevant tables in sap DMS.  Please let me know how can this be achieved.I have searched SDN but could'nt find any relavent link.Please help.

    Hi Frédéric,
    Thanks for the document .Its it very helpfull.I have used the below ARCHIVEOBJECT_GET_BYTES, to retrive the pdf contents but lt_data is returning blank value.
    while debugging i found Sy-SUBRC = 1.
    Which means error_archiv.Also the lw_length and lw_offset has blank values while passing in this function module.Do we need to find the offset and length for the invoice is there any other function module ?
    kindly correct me if i am wrong .
    * Get the Content of the entry in Binary Mode (more simple for PDF)
    CALL FUNCTION 'ARCHIVOBJECT_GET_BYTES'
       EXPORTING
         archiv_id                = ls_connection-archiv_id
         archiv_doc_id            = ls_connection-arc_doc_id
         document_type            = lw_doctype
         length                   = lw_length
         offset                   = lw_offset
       IMPORTING
         binlength                = lw_length
       TABLES
         binarchivobject          = lt_data
       EXCEPTIONS
         error_archiv             = 1
         error_communicationtable = 2
         error_kernel             = 3
         OTHERS                   = 4.
    thanks,
    Prathamesh

  • Unable to download document from HTTPS site in ADF

    Hi ADF Experts,
    I have a critical issue in ADF application. While clicking on hyperlink for download a document ,i am getting following error:
    "unable to download home from "<HTTPS SITE NAME>"  The link is having HTTPS.
    This problem is occurring in i.e 8, It's working fine in i.e 9.
    Please suggest me with some solution.

    hi mate,
    have you tried uninstalling then reinstalling Nokia Browser from http://download.browser.ovi.com ? also try the same with Opera at http://m.opera.com Also check that you are fully up to date with your phone firmware by using Nokia Suite to check for any firmware updates.

  • How to download document from wireless printer

    How do you download a document from a hp officejet 6500 printer?

    You don't. You print from one. Expand on what you think you want to do.

  • Problem with downloading document from here!!!

    Hi,
    Anyone got the same situation.  I would like to download documents (pdf, power point,...)  from here.  Unfortunately, Files cannot be completed downloaded.  Consequently, they cannot be opened due to errors.  Anyone got the same situation or can give the solution.  Thank you.
    Cheers,

    Hi,
    Where from you have tried to downloads file? Which location you are talking about?
    Please mention the path and the exact issue that you are facing.
    Regards,
    Subhasha

  • Is it possible to download document from a PC to the I-pad 2?

    Is it possible to download a document from my PC to my I-Pad 2?

    The easiest way to transfer a document for a beginner - IMHO - is to email the file. These are the file formats that the iPad can read as mail attachments with no need for a third party app. The caveat here is read only - not edit.
    Viewable document types: .jpg, .tiff, .gif (images); .doc and .docx (Microsoft Word); .htm and .html (web pages); .key (Keynote); .numbers (Numbers); .pages (Pages); .pdf (Preview and Adobe Acrobat); .ppt and .pptx (Microsoft PowerPoint); .txt (text); .rtf (rich text format); .vcf (contact information); .xls and .xlsx (Microsoft Excel)
    There are apps available that will let you edit word processing, spreadsheet and presentation files. Apple's iWorks suite, Documents to Go, Office2 HD and others can edit the MS office suite applications. You will need one of these apps on the iPad to edit and to save the files. On the iPad, files are saved in the app in which they are created. There is no conventional folder structure on the iPad for file saving.
    The other ways that you can transfer files back and forth are with a cloud service like DropBox and the iOS file sharing feature. File sharing is performed when you you sync with iTunes on your computer. You can read this for more information.
    http://support.apple.com/kb/ht4094

Maybe you are looking for

  • Dunning Wizard "To" Date

    Currently the Dunning wizard has no "To" Date. Dunning is calculated to "Today's" Date.  With a separate "To" Date, it would be possible to run the Dunning Wizard on a different date, than the date up to which you wish to Dunn. (This could for instan

  • Why won't my iTunes library sync to my new iPhone 4s?

    I recently got a new iPhone 4s and I tried to sync my music from my iTunes library onto my music library on my 4s. But when my laptop said the sync was complete I checked my 4s and my music wasn't there. I then went to the iTunes store on my 4s and t

  • I can't drag and drop word files to a folder

    I can't drag and drop word files to a folder. When I click and hold over a file, nothing happens. Normally it goes where I drag it.

  • Webservice  fails to preload on startup

    Sorry for the double post, but I originally appended this question to another question that I had marked answered. I must apologize for my newbishness, but I'm more accustom to the point and shoot method by which I've developed webservices with NetBe

  • Thank you Adobe for Lightroom 4

    Rarely do I take the time to comment on forums unless I have an issue, but I have to just say that Adobe made my day when I discovered the availability of Lightroom 4 (I've been a longtime user), purchased it, installed it (easily) and found to my de