Skip to Content
author's profile photo Former Member
Former Member

Determine URL of original in DMS

Hello,

Could anyone explain how I can determine the URL of an original file which is stored in the SAP Content Server using DMS?

I want to send this URL to an web application, where an user should be able to view the file using the URL.

Which function module or bapi should I use?

Thanks in advance

Johan

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Jan 05, 2010 at 01:26 PM

    Hi Johan,

    maybe the function module 'C_DESK_DOC_GET_URL' could be useful for you to get the required URL.

    Best regards,

    Christoph

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Christoph Hopf

      Hi Chirstoph,

      I am beginner ,the BAPI Document_CheckOutView2 asks for a path and downloads the files there .My requirement is to get the image from the content server via browser using HTTP URL to use it in UI. I also used the function

      SDOK_PHIO_GET_URL_FOR_GET which has two importing parameters

      CALL FUNCTION 'SDOK_PHIO_GET_URL_FOR_GET'

      EXPORTING

      object_id = lf_phio

      * REQUESTED_COMPONENTS =

      * CLIENT = SY-MANDT

      * standard_url_only = 'X'

      * DATA_PROVIDER_URL_ONLY =

      * URL_LIFETIME =

      IMPORTING

      urls = lt_url

      document_url = lf_doc_url

      EXCEPTIONS

      not_existing = 1

      not_authorized = 2

      no_content = 3

      bad_storage_type = 4

      no_urls_available = 5

      OTHERS = 6.

      when I use this lt_url gives SAP internal URL which cannot be used in browser whereas lf_doc_url gives HTTP url . When i use this http url in browser it shows 'SSF error: Decoding not possible' . I even used CALL_BROWSER function to call lf_doc_url but still the same error appears.


      Can you please guide me how can i get the image from DMS through the browser so that i can consume in my UI.

      Regards,

      Sujeet .

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2010 at 11:59 AM

    You can use Function module SDOK_PHIO_GET_URL_FOR_GET

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2014 at 02:15 PM

    Did you find a solution for this because I'm having the same situation

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.