<?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: Use commit when calling RFC in enhancement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741512#M2021099</link>
    <description>&lt;P&gt;Thank you. I see your point,thank you for your answer&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2023 03:45:11 GMT</pubDate>
    <dc:creator>bin-general</dc:creator>
    <dc:date>2023-11-10T03:45:11Z</dc:date>
    <item>
      <title>Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741508#M2021095</link>
      <description>&lt;P&gt;HI！&lt;/P&gt;
  &lt;P&gt;When I use MIGO~MB_DOCUMENT_BADI~MB_DOCUMENT_BEFORE_UPDATE, &lt;/P&gt;
  &lt;P&gt;CALL RFC:&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'ZSD_MIGO' STARTING NEW TASK 'NONE' DESTINATION lv_system
   TABLES
      t_item = lt_item.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;AND I Need to store log tables in RFC: ZSD_MIGO. When not using COMMIT WORK, there is no guarantee that data will be saved to the log table every time. Can I use COMMIT WORK in RFC when enhancing it?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 05:59:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741508#M2021095</guid>
      <dc:creator>bin-general</dc:creator>
      <dc:date>2023-11-09T05:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741509#M2021096</link>
      <description>&lt;P&gt;Did you try it?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 09:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741509#M2021096</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-11-09T09:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741510#M2021097</link>
      <description>&lt;P&gt;Hi Sandra,&lt;BR /&gt;Yes, I have tried and there were no mistakes. But I'm not sure if doing so will affect the use of the tcode MIGO.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 10:21:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741510#M2021097</guid>
      <dc:creator>bin-general</dc:creator>
      <dc:date>2023-11-09T10:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741511#M2021098</link>
      <description>&lt;P&gt;Thanks. So it works as you wish, but you're asking for general recommendations about asynchronous and MIGO.&lt;/P&gt;&lt;P&gt;This kind of solution may not be good because of the LUW concept. You should commit all data which are interdependent at the same time (save all or none). Data committed in RFC and data committed in MIGO are not linked, so you'll get save partially instead of save all or none.&lt;/P&gt;&lt;P&gt;But maybe you don't mind having data saved by RFC (in ZSD_MIGO) while data is not saved by MIGO (RBKP, etc.) and vice versa.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 12:46:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741511#M2021098</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-11-09T12:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741512#M2021099</link>
      <description>&lt;P&gt;Thank you. I see your point,thank you for your answer&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 03:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741512#M2021099</guid>
      <dc:creator>bin-general</dc:creator>
      <dc:date>2023-11-10T03:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741513#M2021100</link>
      <description>&lt;P&gt;For logging, rather than use an RFC you could a&lt;A href="https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-us/abenopensql_multiconnect.htm#@@ITOC@@ABENOPENSQL_MULTICONNECT_4" target="_blank"&gt; service connection&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;INSERT demo_update CONNECTION R/3*service_conn
  FROM @( VALUE #( id = 'X'  col1 = 1 col2 = 2 col3 = 3 col4 = 4 ) ).
COMMIT CONNECTION R/3*service_conn.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Nov 2023 08:12:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741513#M2021100</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2023-11-10T08:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741514#M2021101</link>
      <description>&lt;P&gt;NB: updating via a secondary database connection is exactly the same question, they are both completely independent: the primary commit won't commit the secondary database updates and vice versa.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 18:28:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741514#M2021101</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-11-10T18:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741515#M2021102</link>
      <description>&lt;P&gt;What do you have in lv_system ? Is it really an other SAP system ?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2023 19:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741515#M2021102</guid>
      <dc:creator>chaouki_akir</dc:creator>
      <dc:date>2023-11-13T19:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use commit when calling RFC in enhancement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741516#M2021103</link>
      <description>&lt;P&gt;HI！The lv_system is not an other SAP system,Is the current system.The use of lv_system is to avoid permission verification&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 02:21:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-commit-when-calling-rfc-in-enhancement/m-p/12741516#M2021103</guid>
      <dc:creator>bin-general</dc:creator>
      <dc:date>2023-11-14T02:21:02Z</dc:date>
    </item>
  </channel>
</rss>

