<?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: BAPI_TRANSACTION_ROLLBACK Application log also deleted in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088898#M1971633</link>
    <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;You can always read the log data as  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; suggests using FM BAL_DB_LOAD and then execute error handling as you prefer.. You can directly message the enduser using the MESSAGE statement with the log details or by using exception classes, or setup you own log using tcodes slg0 &amp;amp; slg1.&lt;/P&gt;&lt;P&gt;Details on setting up your own log can also be found in this blog:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2012/04/18/create-and-view-log-using-slg0-and-slg1-transaction/" target="test_blank"&gt;https://blogs.sap.com/2012/04/18/create-and-view-log-using-slg0-and-slg1-transaction/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2019 07:51:55 GMT</pubDate>
    <dc:creator>YorRombaut</dc:creator>
    <dc:date>2019-10-18T07:51:55Z</dc:date>
    <item>
      <title>BAPI_TRANSACTION_ROLLBACK Application log also deleted</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088894#M1971629</link>
      <description>&lt;P&gt;We call transaction BAPI_MATERIAL_MAINTAINDATA_RT to update material details. If there is no error we do a BAPI_TRANSACTION_COMMIT but when there is a error we do a BAPI_TRANSACTION_ROLLBACK. &lt;/P&gt;
  &lt;P&gt;In the return structure of the BAPI_MATERIAL_MAINTAINDATA_RT we get a error with application log number where we can find detailed information. But after the BAPI_TRANSACTION_ROLLBACK also the application log is deleted.&lt;/P&gt;
  &lt;P&gt;How can we rollback the MAINTAINDATA Bapi without removing the associated application log? &lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 10:53:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088894#M1971629</guid>
      <dc:creator>MKusters</dc:creator>
      <dc:date>2019-10-17T10:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_ROLLBACK Application log also deleted</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088895#M1971630</link>
      <description>&lt;P&gt;Hello &lt;A href="https://answers.sap.com/users/8288/michaelkusters2.html"&gt;Michael Kusters&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you Please let us know how you read the Application log details?&lt;/P&gt;&lt;P&gt;Is this related to Retrieving the messages for Application Log?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 11:01:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088895#M1971630</guid>
      <dc:creator>former_member1716</dc:creator>
      <dc:date>2019-10-17T11:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_ROLLBACK Application log also deleted</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088896#M1971631</link>
      <description>&lt;P&gt;What I do not understand is, why do you need to keep a log of a cancelled action ? &lt;/P&gt;&lt;P&gt;to solve your issue, you "simply" have to create the log after the rollback &lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 11:56:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088896#M1971631</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2019-10-17T11:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_ROLLBACK Application log also deleted</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088897#M1971632</link>
      <description>&lt;P&gt;It's normal to keep the log of the execution of an interface, whatever it failed (interesting) or succeeded (less interesting).&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'BAPI_MATERIAL_MAINTAINDATA_RT' ...
IF return does not contain errors.
  call function 'BAPI_TRANSACTION_COMMIT' ...
ELSE.
  call function 'BAL_DB_LOAD' ... " read the log with application log number
  call function 'BAPI_TRANSACTION_ROLLBACK'.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Oct 2019 15:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088897#M1971632</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-10-17T15:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_TRANSACTION_ROLLBACK Application log also deleted</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088898#M1971633</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;You can always read the log data as  &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; suggests using FM BAL_DB_LOAD and then execute error handling as you prefer.. You can directly message the enduser using the MESSAGE statement with the log details or by using exception classes, or setup you own log using tcodes slg0 &amp;amp; slg1.&lt;/P&gt;&lt;P&gt;Details on setting up your own log can also be found in this blog:&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2012/04/18/create-and-view-log-using-slg0-and-slg1-transaction/" target="test_blank"&gt;https://blogs.sap.com/2012/04/18/create-and-view-log-using-slg0-and-slg1-transaction/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;U&gt;&lt;/U&gt;&lt;SUB&gt;&lt;/SUB&gt;&lt;SUP&gt;&lt;/SUP&gt;&lt;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 07:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-rollback-application-log-also-deleted/m-p/12088898#M1971633</guid>
      <dc:creator>YorRombaut</dc:creator>
      <dc:date>2019-10-18T07:51:55Z</dc:date>
    </item>
  </channel>
</rss>

