<?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: Problem with editing attached DOCX in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-editing-attached-docx/m-p/12594127#M2010451</link>
    <description>&lt;P&gt;Your logic for attaching is wrong. Maybe extra zero bytes, or shortened, or encoding conversion (shouldn't be done) or whatever...&lt;/P&gt;&lt;P&gt;NB: you'd be lucky to be able to recover the documents attached with the wrong logic.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jun 2022 10:53:06 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2022-06-16T10:53:06Z</dc:date>
    <item>
      <title>Problem with editing attached DOCX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-editing-attached-docx/m-p/12594126#M2010450</link>
      <description>&lt;P&gt;I have created a program that attach word documents DOCX in the attachment list of FB03. Then the user open it and make some changes and save it. If the file attached manually the user can edit and save it but if I attach it with the program he gets the following message:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2059468-warning-message.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;and open this file with new name. As a result of this I cannot save it in attachment list.&lt;/P&gt;
  &lt;P&gt;In this case the attributes of the file are:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2059470-docx-attributes.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;If I manually attach the DOCX file or I upload a .DOC file I can edit them and save them (changes will be stored in files of the attachment list). The attributes are:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2059471-manual-attach.jpg" /&gt;&lt;/P&gt;
  &lt;P&gt;As you can see there is a part with TECHNICAL ATTRIBUTES.&lt;/P&gt;
  &lt;P&gt;I uploaded the files with the following FMs&lt;/P&gt;
  &lt;P&gt;CALL FUNCTION 'SO_OBJECT_INSERT'&lt;/P&gt;
  &lt;P&gt;CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Can someone tell me if there is a way to edit the programmatically attached DOCX file and save the changes to the attached file.&lt;/P&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Elias &lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 08:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-editing-attached-docx/m-p/12594126#M2010450</guid>
      <dc:creator>ekekakos</dc:creator>
      <dc:date>2022-06-16T08:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with editing attached DOCX</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-editing-attached-docx/m-p/12594127#M2010451</link>
      <description>&lt;P&gt;Your logic for attaching is wrong. Maybe extra zero bytes, or shortened, or encoding conversion (shouldn't be done) or whatever...&lt;/P&gt;&lt;P&gt;NB: you'd be lucky to be able to recover the documents attached with the wrong logic.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 10:53:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-editing-attached-docx/m-p/12594127#M2010451</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-06-16T10:53:06Z</dc:date>
    </item>
  </channel>
</rss>

