<?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 Record Management: get logical document object from physical doc. object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/record-management-get-logical-document-object-from-physical-doc-object/m-p/1256083#M146215</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'd like to get logical document from physical document (sdok object - stricture containing class and objid).&lt;/P&gt;&lt;P&gt;There is BAPI for "opposite direction": SDOK_LOIO_PHYSICAL_OBJECT_GET. By this FM I can get physical document's sdok object from logical document's sdok object.&lt;/P&gt;&lt;P&gt;Can anybody tell me BAPI's name for it?&lt;/P&gt;&lt;P&gt;I tried SDOK_PHIO_LOGICAL_OBJECT_GET, but this BAPI doesn't exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Josef Motl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2006 18:02:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-27T18:02:36Z</dc:date>
    <item>
      <title>Record Management: get logical document object from physical doc. object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/record-management-get-logical-document-object-from-physical-doc-object/m-p/1256083#M146215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'd like to get logical document from physical document (sdok object - stricture containing class and objid).&lt;/P&gt;&lt;P&gt;There is BAPI for "opposite direction": SDOK_LOIO_PHYSICAL_OBJECT_GET. By this FM I can get physical document's sdok object from logical document's sdok object.&lt;/P&gt;&lt;P&gt;Can anybody tell me BAPI's name for it?&lt;/P&gt;&lt;P&gt;I tried SDOK_PHIO_LOGICAL_OBJECT_GET, but this BAPI doesn't exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Josef Motl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2006 18:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/record-management-get-logical-document-object-from-physical-doc-object/m-p/1256083#M146215</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-27T18:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Record Management: get logical document object from physical doc. object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/record-management-get-logical-document-object-from-physical-doc-object/m-p/1256084#M146216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Josef,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are I don't believe there are any bapi's for this. You probably have to do this via ABAP OO. Create an object of the type CL_SRM_DOCUMENT. This is your logical (LOIO) object of your document. You have to enter the documentclass and the objectid of the document. This class has a method get_variant. This variant is your fysical (PHIO) object of the document. Use version and variant 0 so you will get the latest version object of your document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this isn't the answer, can you please explain where do you get the fysical object from if you haven't got the logical first?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tjalling-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 14:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/record-management-get-logical-document-object-from-physical-doc-object/m-p/1256084#M146216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-09T14:14:33Z</dc:date>
    </item>
  </channel>
</rss>

