<?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 BAPI_DOCUMENT_CHANGE2: Document info record update object links - DOCUMENTDIRECTION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-change2-document-info-record-update-object-links/m-p/13796747#M2030061</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we are using&amp;nbsp;BAPI_DOCUMENT_CREATE2 and BAPI_DOCUMENT_CHANGE2 for the management of supplier invoice documents. We need to pass DOCUMENTDIRECTION to the OBJECTLINKS table to enable navigation from the object link to the document in MIRO. Interestingly, when we manually add the link via gui, the document direction is automatically set to A, visible via BAPI_DOCUMENT_GETDETAIL2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ana82_1-1723779393470.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/152743iE3A8C37A87334DC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ana82_1-1723779393470.png" alt="ana82_1-1723779393470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, despite our efforts to pass DOCUMENTDIRECTION to&amp;nbsp;BAPI_DOCUMENT_CHANGE2- OBJECTLINKS along with OBJECTTYPE, OBJECTKEY and OBJECTKEY_LONG, our attempts have been unsuccessful. Although, the object link is saved, the document direction A is not retained.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ana82_0-1723778916197.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/152741iDFB15D4118D194D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ana82_0-1723778916197.png" alt="ana82_0-1723778916197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Has anyone in the community encountered this issue before? Your assistance would be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2024 03:36:45 GMT</pubDate>
    <dc:creator>ana82</dc:creator>
    <dc:date>2024-08-16T03:36:45Z</dc:date>
    <item>
      <title>BAPI_DOCUMENT_CHANGE2: Document info record update object links - DOCUMENTDIRECTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-change2-document-info-record-update-object-links/m-p/13796747#M2030061</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;we are using&amp;nbsp;BAPI_DOCUMENT_CREATE2 and BAPI_DOCUMENT_CHANGE2 for the management of supplier invoice documents. We need to pass DOCUMENTDIRECTION to the OBJECTLINKS table to enable navigation from the object link to the document in MIRO. Interestingly, when we manually add the link via gui, the document direction is automatically set to A, visible via BAPI_DOCUMENT_GETDETAIL2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ana82_1-1723779393470.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/152743iE3A8C37A87334DC1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ana82_1-1723779393470.png" alt="ana82_1-1723779393470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, despite our efforts to pass DOCUMENTDIRECTION to&amp;nbsp;BAPI_DOCUMENT_CHANGE2- OBJECTLINKS along with OBJECTTYPE, OBJECTKEY and OBJECTKEY_LONG, our attempts have been unsuccessful. Although, the object link is saved, the document direction A is not retained.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ana82_0-1723778916197.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/152741iDFB15D4118D194D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ana82_0-1723778916197.png" alt="ana82_0-1723778916197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Has anyone in the community encountered this issue before? Your assistance would be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 03:36:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-document-change2-document-info-record-update-object-links/m-p/13796747#M2030061</guid>
      <dc:creator>ana82</dc:creator>
      <dc:date>2024-08-16T03:36:45Z</dc:date>
    </item>
  </channel>
</rss>

