<?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 FI_DOCUMENT_CHANGE  fail in Loop . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-document-change-fail-in-loop/m-p/12808402#M2025429</link>
    <description>&lt;P&gt;Hello Community&lt;/P&gt;
  &lt;P&gt;I'm using the FI_DOCUMENT_CHANGE function to change a lock field. There are several records so I execute it within a loop. After each execution I execute bapi_transaction_commit, but some records are not placing the Z lock but leaving it blank. When I access ENVIRONMENT-- &amp;gt;Document changes it displays as if it had changed to Z&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2224834-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt; .This only occurs in the productive environment,&lt;/P&gt;
  &lt;P&gt;But in fbl1n and fb03 it displays blank (lock field)&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2224835-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Does anyone know how to avoid this error?&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2023 20:47:07 GMT</pubDate>
    <dc:creator>ronaldo_aparecido</dc:creator>
    <dc:date>2023-11-02T20:47:07Z</dc:date>
    <item>
      <title>FI_DOCUMENT_CHANGE  fail in Loop .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fi-document-change-fail-in-loop/m-p/12808402#M2025429</link>
      <description>&lt;P&gt;Hello Community&lt;/P&gt;
  &lt;P&gt;I'm using the FI_DOCUMENT_CHANGE function to change a lock field. There are several records so I execute it within a loop. After each execution I execute bapi_transaction_commit, but some records are not placing the Z lock but leaving it blank. When I access ENVIRONMENT-- &amp;gt;Document changes it displays as if it had changed to Z&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2224834-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt; .This only occurs in the productive environment,&lt;/P&gt;
  &lt;P&gt;But in fbl1n and fb03 it displays blank (lock field)&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2224835-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Does anyone know how to avoid this error?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2023 20:47:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fi-document-change-fail-in-loop/m-p/12808402#M2025429</guid>
      <dc:creator>ronaldo_aparecido</dc:creator>
      <dc:date>2023-11-02T20:47:07Z</dc:date>
    </item>
  </channel>
</rss>

