<?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 Error calling FM /BEV2/ED_READ_DBLOG in ABAP Code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-calling-fm-bev2-ed-read-dblog-in-abap-code/m-p/10690285#M1869934</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new to ABAP programming and I'm having some difficulties to build an infoset to be used in a query for this purpose: to check the changes logs of TSTC table via DBTABLOG, displaying the new and old values (for this case, to check whether the transaction is blocked in SM30 or not and its history).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was told to use the FM '/BEV2/ED_READ_DBLOG' in order to get the changes (old and new values) and I really worked when I tested via SE37, however I don't know how to call this function module correctly inside my ABAP code. I've already checked here in SCN and other places but I really couldn't find any example or tip to use the FM '/BEV2/ED_READ_DBLOG' correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'/BEV2/ED_READ_DBLOG'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM_DAY &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;zfrom_day&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO_DAY&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;zto_day&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS_DATABASE &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TABLES&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_DBLOG &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lt_dblog&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_TABLES &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lt_tables&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_NOT_FOUND&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TAB_NOT_FOUND&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;As far as I could understand, the changed will be stored in the T_DBLOG variable, right? I'm attaching the error message.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Could you guys help me out with an example? Thanks a lot in advance for your patience!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Nov 2014 16:32:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-11-03T16:32:30Z</dc:date>
    <item>
      <title>Error calling FM /BEV2/ED_READ_DBLOG in ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-calling-fm-bev2-ed-read-dblog-in-abap-code/m-p/10690285#M1869934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new to ABAP programming and I'm having some difficulties to build an infoset to be used in a query for this purpose: to check the changes logs of TSTC table via DBTABLOG, displaying the new and old values (for this case, to check whether the transaction is blocked in SM30 or not and its history).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was told to use the FM '/BEV2/ED_READ_DBLOG' in order to get the changes (old and new values) and I really worked when I tested via SE37, however I don't know how to call this function module correctly inside my ABAP code. I've already checked here in SCN and other places but I really couldn't find any example or tip to use the FM '/BEV2/ED_READ_DBLOG' correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CALL &lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'/BEV2/ED_READ_DBLOG'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM_DAY &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;zfrom_day&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO_DAY&amp;nbsp; &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;zto_day&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS_DATABASE &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TABLES&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_DBLOG &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lt_dblog&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; T_TABLES &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;lt_tables&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA_NOT_FOUND&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TAB_NOT_FOUND&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;As far as I could understand, the changed will be stored in the T_DBLOG variable, right? I'm attaching the error message.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;SPAN class="L0S55"&gt;Could you guys help me out with an example? Thanks a lot in advance for your patience!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 16:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-calling-fm-bev2-ed-read-dblog-in-abap-code/m-p/10690285#M1869934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-11-03T16:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error calling FM /BEV2/ED_READ_DBLOG in ABAP Code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-calling-fm-bev2-ed-read-dblog-in-abap-code/m-p/10690286#M1869935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alcino,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try search before post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/486920"&gt;http://scn.sap.com/thread/486920&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Nov 2014 17:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-calling-fm-bev2-ed-read-dblog-in-abap-code/m-p/10690286#M1869935</guid>
      <dc:creator>JuanCarlosDelga</dc:creator>
      <dc:date>2014-11-03T17:11:15Z</dc:date>
    </item>
  </channel>
</rss>

