<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic getting url from content server with sdok-framework (kpro/dms) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703810#M308402</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get an url for a document with the fm SDOK_PHIO_GET_URL_FOR_PUT but it returns no result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feed the fm with an SDOK_CLASS (thats the phio class?) and a SDOK_DOCID (is this the PHIO?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the PHIO and LOIO (both for KPro DMS) and the DOKNR (SAP DVS) but I can´t get the url to my existing document.&lt;/P&gt;&lt;P&gt;has anyone an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or how can I find out where I could find the correct SDOK_CLASS and SDOK_DOCID from my existing document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Nov 2006 10:48:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-10T10:48:36Z</dc:date>
    <item>
      <title>getting url from content server with sdok-framework (kpro/dms)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703810#M308402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to get an url for a document with the fm SDOK_PHIO_GET_URL_FOR_PUT but it returns no result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feed the fm with an SDOK_CLASS (thats the phio class?) and a SDOK_DOCID (is this the PHIO?).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the PHIO and LOIO (both for KPro DMS) and the DOKNR (SAP DVS) but I can´t get the url to my existing document.&lt;/P&gt;&lt;P&gt;has anyone an idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or how can I find out where I could find the correct SDOK_CLASS and SDOK_DOCID from my existing document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2006 10:48:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703810#M308402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-10T10:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: getting url from content server with sdok-framework (kpro/dms)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703811#M308403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thorsten,&lt;/P&gt;&lt;P&gt;have you solved the problem meanwhile ? if not, let me know i had the same issue and it is now solved.&lt;/P&gt;&lt;P&gt;Johannes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2007 08:32:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703811#M308403</guid>
      <dc:creator>Johnny_B_</dc:creator>
      <dc:date>2007-10-24T08:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: getting url from content server with sdok-framework (kpro/dms)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703812#M308404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Johannes,&lt;/P&gt;&lt;P&gt;i have the same problem can you help with your solution please..&lt;/P&gt;&lt;P&gt;thanks in advances&lt;/P&gt;&lt;P&gt;massimo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2012 09:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703812#M308404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-18T09:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: getting url from content server with sdok-framework (kpro/dms)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703813#M308405</link>
      <description>&lt;P&gt;You can get the URL as below:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA ls_objectid TYPE sdokobject.
DATA lv_phid     TYPE sdok_phid.

*Get your physical ID here
*lv_phid = &amp;lt;&amp;lt;physical id&amp;gt;&amp;gt;.

ls_objectid-class = 'DMS_PCD1'.
ls_objectid-objid = lv_phid.

CALL FUNCTION 'SDOK_PHIO_GET_URL_FOR_PUT'
  EXPORTING
    object_id         = ls_objectid
    client            = sy-mandt
  IMPORTING
    document_url      = lv_url
  EXCEPTIONS
    not_existing      = 1
    not_authorized    = 2
    not_allowed       = 3
    bad_storage_type  = 4
    no_urls_available = 5
    OTHERS            = 6.
IF sy-subrc &amp;lt;&amp;gt; 0.
* Implement suitable error handling here
ENDIF&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 May 2020 09:22:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-url-from-content-server-with-sdok-framework-kpro-dms/m-p/1703813#M308405</guid>
      <dc:creator>Mohamed_Yousuf1</dc:creator>
      <dc:date>2020-05-16T09:22:51Z</dc:date>
    </item>
  </channel>
</rss>

