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.

Similar Messages

  • 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

  • How can get document from mac to iphone

    How can I get document from imac that is saved, to my iphone?

    What kind of document?
    iWork documents (Pages, Numbers, Keynote) can be saved to iCloud and opened by the corresponding apps on the iPhone.
    PDFs can be transferred via iTunes or Dropbox and read using an application such as Goodreader.
    If you can add some detail to your request, we can try to offer a better solution.
    Matt

  • How do I get documents from mac to iPad

    How do I get documents from Mac to iPad?

    If you just have a few that you want to view, you can e-mail them to yourself and use the viewer in the mail app to view them.
    If you have several or want to save them on the iPad or edit them then you'll need an app. Apple has iPad versions of Pages, numbers and keynote that should sync between your mac and iPad.

  • 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

  • How to get documents from RMS linked to particular case id using webdynpro

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

  • 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

  • How do I get documents from pc to ipad?

    I have installed Pages on my iPad but don't know how to get documents from my PC to the Cloud.

    Go into iTunes, while iPad is connected, select it under devices. On the apps tab, scroll down and you will see the documents box. You can then select Pages and browse/select your document and then sync to the iPad.
    http://support.apple.com/kb/ht4094

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

  • 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

  • Get file from dms

    hi,
    can anyone help me to get the data for a file in dms with a specific doknr? i need to get the binary data to send them per mail.
    I searched in function group cv120 (i tried cv120_read_file2table but it doesn't work for me) but wasn't able find a solution!
    can anyone help me?
    regards,
    jacko

    thanks for your example but i have to work with FUBA SO_NEW_DOCUMENT_ATT_SEND_API1 and therefore i need a solution to attach my file from dms.
    i used your solution:
    SELECT lo_objid INTO TABLE it_lo_objid
          FROM dms_doc2loio
          WHERE dokar EQ 'Z01'
          AND dokvr EQ '00'
          AND doknr LIKE srch_str.
        LOOP AT it_lo_objid INTO wa_lo_objid.
          SELECT SINGLE phio_id ph_class INTO (wa_object_id-objid ,wa_object_id-class)
            FROM dms_ph_cd1
            WHERE loio_id = wa_lo_objid.
          CALL FUNCTION 'SDOK_PHIO_LOAD_CONTENT'
          EXPORTING
          object_id = wa_object_id
          client = sy-mandt
    AS_IS_MODE =
    RAW_MODE =
    TEXT_AS_STREAM =
          TABLES
    FILE_ACCESS_INFO =
    FILE_CONTENT_ASCII =
          file_content_binary = it_file_content_binary
          EXCEPTIONS
          not_existing = 1
          not_authorized = 2
          no_content = 3
          bad_storage_type = 4
          OTHERS = 5.
          DATA: act_length TYPE i.
          DATA: act_diff TYPE i.
          DATA: act_rest_length TYPE i.
          DATA: act_line TYPE string.
          DATA: act_rest TYPE string.
          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: count TYPE i,
                data_string TYPE xstring.
          DATA: "it_CONTENT_BINARY TYPE solix_tab,
                 it_content_binary TYPE solix_tab,
                 it_line TYPE LINE OF solix_tab,
                it_content_binary_solix TYPE solix,
                wa_content_binary TYPE solix.
    TEMP START
          DESCRIBE TABLE it_file_content_binary LINES count.
          count = count * 1022.
          CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
            EXPORTING
              input_length       = count
      FIRST_LINE         = 0
      LAST_LINE          = 0
           IMPORTING
             buffer             = data_string
            TABLES
              binary_tab         = it_file_content_binary[]
           EXCEPTIONS
             failed             = 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.
          CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
            EXPORTING
              buffer                = data_string
      APPEND_TO_TABLE       = ' '
    IMPORTING
      OUTPUT_LENGTH         =
            TABLES
              binary_tab            = it_content_binary[].
    but I can't use it_content_binary[] in SO_NEW_DOCUMENT_ATT_SEND_API1 without getting an CX_SY_DYN_CALL_ILLEGAL_TYP
    it says the actual given field has the right type but not the right length! (CONTENTS_BIN)
    what's my foult!
    big thanks to you!
    greets, jacko
    Edited by: Jacko1986 on Jul 20, 2009 3:30 PM

  • How to get documents from content server on web pages

    Hello,
    I want to get the documents from the ECM(UCM server) of same document type and also want their metadata fields to displayed on adf application.
    How can i fetch these documents?

    Hi,
    You mean Data transfer between two components..
    To pass the value from one component to other component, you can use used component scenario.
    For example let use assume we have two comp ..
    Comp A,
    Comp B.
    now we need to pass the value from Comp A to Comp B.
    Then declare the Comp A as used component in Comp B.
    Now then you can create a node in the comp A component controller and check the interface check box there then the
    node and the attribute will be present in the interface controller also .
    and this interface controller context you can access in the component and map it to view there and display it.
    Webdynpro Application Integration..
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebdynproApplicationsIntegration
    cheers,
    Kris.

  • Opening a document from DMS

    Hi Experts.
    I have to develop an ABAP code where I have to Retrieve a particular word document uploaded in DMS edit some fields in it and then print it. I dont know how to write the code.
    i was told to use OFFICE INTEGRATION classes but have no idea of anything.
    Can some help me.?
    Thanks

    Hi
    I am not sure how to edit the fields or print it but you can retrieve the uploaded document in DMS using the FM C_DESK_DOC_GET_URL where in there are two components as export parameter . The pt_url gives you the URL of the document which when put into a browser gives the document content.

  • Get URL from DMS in SAP

    Hi everybody,
    I have written an ABAP function in SAP where I export a URL of a document in SAP.
    All the images are stored in the DMS server and I fetch the url of the images by the function 'CVAPI_DOC_VIEW'
    When I execute this in SAP everythings works!
    When I execute this in Java webdynpro, the abap program don't find any link?
    Is there something wrong in my code because all parameters are the same.
    Regards

    Karsten,
      Thanks for the reply noted I will recopy this in EP
    Second I tried to get the KM piece to work for a couple of weeks even put in a help note and could not get the folders or any documents to come through any of the KM Browser's on the portal. I created varients etc etc.  So getting frustrated I decided to write my own.  Also because I wanted an iview that would pop all documents based on a picked equipment or material and from the three iviews I saw from KM they didn't seem to do that.  If you know of some documentation that you recommend please let me know
    Thanks Karsten
    Cheers,
    Devlin

  • What the best way for STORAGE the documents from DMS?

    Please, can someone tell me if the limit of storage the originals through a data carrier is two for document or i can to large this limit? 'Cause i know that using Kpro i don't have limit of storage, but i'm trying to use the data carriers 'cause i just have a place in the company server for storage this originals.
    I'm trying to send the originals from a path like this
    abcs01\dms$\ through of a configuration "servidor, front ends", but i'm not get to send the originals from CV01N for this place, even the document been save. I verify that the documents were not sent when i enter from the CV02N in the same document and try to change or screen the originals, 'cause i receive a error message saying that the SAP doesn't get to find the originals on the path indicated.
    Did someone just work on a likely situation?
    Did someone have a view about the best way to storage this documents in this case?
    If the best way will be KPRO, Do I use KPRO with the Content Server or KPRO with storage the documents in a SAP table through of the standard system aplication "DMS_C1"?
    Any idea will be welcome and reward by good points!
    Best Regards.

    Hi,
    The decision to go for either content server or vault depends on what data will be stored. If you are storing drawing data it is highly recommended to go for content server.
    For vault storage performance issues are reported.
    DMS_C1 is IDES based BSP database repository. It is useful only for dev/testing.
    You will be required to create storage repository for CS.
    If you have server available when you insert content server CD inside it, it automatically asks you for maxDB database instance creation. As you click on next it will take you further to create maxDB instance. K-Pro is service on web server. It is used to manage the checkin-checkout and other functionalities of the CS server data.
    BR,
    Anirudh,
    reward if useful.

Maybe you are looking for