<?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: Issue using BAPI_HU_PROCESS_MSG_DIRECT serveral times in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-bapi-hu-process-msg-direct-serveral-times/m-p/12562043#M2007765</link>
    <description>&lt;P&gt;Do you perform a COMMIT after each BAPI call or just once for all of the calls?&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 15:39:22 GMT</pubDate>
    <dc:creator>thkolz</dc:creator>
    <dc:date>2022-10-06T15:39:22Z</dc:date>
    <item>
      <title>Issue using BAPI_HU_PROCESS_MSG_DIRECT serveral times</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-bapi-hu-process-msg-direct-serveral-times/m-p/12562042#M2007764</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;
  &lt;P&gt;I am having an issue with a standard behaviour when calling several times the function &lt;STRONG&gt;BAPI_HU_PROCESS_MSG_DIRECT&lt;/STRONG&gt;.&lt;/P&gt;
  &lt;P&gt;In TNAPR, the entry looks like this:&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2103479-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;The first time executing this MF, the system calls ENTRY_2 from SDPACKDR to print a label. Then it calls the second program ZMM00212 but it fails inside but it's "normal". The thing is, &lt;U&gt;the standard has already moved the field TNAPR-PGNAM2 into TNAPR_PGNAM, same for RONAME&lt;/U&gt;.&lt;/P&gt;
  &lt;P&gt;It means that SDPACKDR is being replaced by ZMM00212 so in TNAPR, i have two times this program....&lt;/P&gt;
  &lt;P&gt;Now when i execute the second times my BAPI, TNAPR is not recalculated (data kept in buffer) and there is no more the program SDPACKDR/ENTRY_2 so no label is printed. Same thing for third call and so on...&lt;/P&gt;
  &lt;P&gt;No sap note found...&lt;/P&gt;
  &lt;P&gt;Any ideas?&lt;/P&gt;
  &lt;P&gt;Best regards,&lt;/P&gt;
  &lt;P&gt;Alexandre&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 14:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-bapi-hu-process-msg-direct-serveral-times/m-p/12562042#M2007764</guid>
      <dc:creator>alexandreourth</dc:creator>
      <dc:date>2022-10-06T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using BAPI_HU_PROCESS_MSG_DIRECT serveral times</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-bapi-hu-process-msg-direct-serveral-times/m-p/12562043#M2007765</link>
      <description>&lt;P&gt;Do you perform a COMMIT after each BAPI call or just once for all of the calls?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 15:39:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-bapi-hu-process-msg-direct-serveral-times/m-p/12562043#M2007765</guid>
      <dc:creator>thkolz</dc:creator>
      <dc:date>2022-10-06T15:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue using BAPI_HU_PROCESS_MSG_DIRECT serveral times</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-bapi-hu-process-msg-direct-serveral-times/m-p/12562044#M2007766</link>
      <description>&lt;P&gt;After each call.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 16:39:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-using-bapi-hu-process-msg-direct-serveral-times/m-p/12562044#M2007766</guid>
      <dc:creator>alexandreourth</dc:creator>
      <dc:date>2022-10-06T16:39:32Z</dc:date>
    </item>
  </channel>
</rss>

