<?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 Re: Attach Archived File to Archived FI Document (FB03) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-archived-file-to-archived-fi-document-fb03/m-p/12353642#M1992808</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The solution to this problem was trivial in the end: a simple COMMIT WORK after the BDS_BARCODE_CREATE function did the trick.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Apr 2021 08:06:52 GMT</pubDate>
    <dc:creator>former_member618958</dc:creator>
    <dc:date>2021-04-08T08:06:52Z</dc:date>
    <item>
      <title>Attach Archived File to Archived FI Document (FB03)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-archived-file-to-archived-fi-document-fb03/m-p/12353640#M1992806</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I am using the function BDS_BARCODE_CREATE to attach an archived PDF file to an FI document (FB03). It works fine for a "normal" FI document.&lt;BR /&gt;However, if the FI document itself is archived (cannot be found anymore in BKPF), it does not work. All the functions in call chain (BDS_BARCODE_CREATE -&amp;gt; ARCHIV_CONNECTION_INSERT) are successful (SY-SUBRC = 0), entry in table TOA02 is created, but the file does not appear in &lt;EM&gt;FB03 -&amp;gt; Services for Object -&amp;gt; Attachment List&lt;/EM&gt;.&lt;/P&gt;
  &lt;P&gt;I wanted to test is it possible to attach something to an archived document at all. I tried manual file attachment in &lt;EM&gt;FB03 -&amp;gt; Services for Object -&amp;gt; Attachment List &lt;/EM&gt;and it worked! So it should be possible to create a link for an existing archived PDF file.&lt;/P&gt;
  &lt;P&gt;Does anyone have experience?&lt;/P&gt;
  &lt;P&gt;Thanks!&lt;/P&gt;
  &lt;P&gt;KR,&lt;/P&gt;
  &lt;P&gt;Igor&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 15:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-archived-file-to-archived-fi-document-fb03/m-p/12353640#M1992806</guid>
      <dc:creator>former_member618958</dc:creator>
      <dc:date>2021-02-01T15:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Attach Archived File to Archived FI Document (FB03)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-archived-file-to-archived-fi-document-fb03/m-p/12353641#M1992807</link>
      <description>&lt;P&gt;BDS_BARCODE_CREATE is usually not proposed in the forum as a way to attach a file to a business object. I guess that the classic solutions (create attachment + relationship to business object) should work.&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2013/05/23/the-gos-generic-object-services-class-that-does-all-the-work/" target="test_blank"&gt;https://blogs.sap.com/2013/05/23/the-gos-generic-object-services-class-that-does-all-the-work/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2012/01/22/automatically-upload-gos-attachments/" target="test_blank"&gt;https://blogs.sap.com/2012/01/22/automatically-upload-gos-attachments/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/keremkoseoglu/ABAP-Library/blob/master/document/zcl_bc_gos_toolkit.abap" target="test_blank"&gt;https://github.com/keremkoseoglu/ABAP-Library/blob/master/document/zcl_bc_gos_toolkit.abap&lt;/A&gt;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 19:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-archived-file-to-archived-fi-document-fb03/m-p/12353641#M1992807</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-02-01T19:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Attach Archived File to Archived FI Document (FB03)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/attach-archived-file-to-archived-fi-document-fb03/m-p/12353642#M1992808</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The solution to this problem was trivial in the end: a simple COMMIT WORK after the BDS_BARCODE_CREATE function did the trick.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Apr 2021 08:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/attach-archived-file-to-archived-fi-document-fb03/m-p/12353642#M1992808</guid>
      <dc:creator>former_member618958</dc:creator>
      <dc:date>2021-04-08T08:06:52Z</dc:date>
    </item>
  </channel>
</rss>

