<?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: Exception LOG_NOT_FOUND in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-log-not-found/m-p/6189857#M1374406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The note refers to missing entries in TST01 table. However, In this case, the entry exist in TST01 table, but the select statement does not find the row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECT single * FROM TST01 client specified*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE dclient = int_mandt and dname = object.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select return 4 because the INT_MANDT is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why the field INT_MANDT is empty is because the Log type is BDC instead JOB. Then, never match value to INT_MANDT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking for another function which makes the same functionality but focus on BDC logs. But, I didn't find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know some function to replace this one? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo GIROTTO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2009 20:02:18 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-10-13T20:02:18Z</dc:date>
    <item>
      <title>Exception LOG_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-log-not-found/m-p/6189855#M1374404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SDNers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After upgrading from 4.6C to ECC6, I got a dump when I use the function COMMON_LOG_READ_PLAIN for BDC logs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ECC6 version, this function uses the function RSTS_READ_OBJECT_DIRECT. This last function, only allows jobs log (JOBLGX) but not BDC logs (BDCLG2). Since the log that we are trying to read is kind BDC. The client is never been assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function RSTS_READ_OBJECT_DIRECT - Line 118&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*----&lt;/EM&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*  check client, only valid for joblogs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;*----&lt;/EM&gt;&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;IF object(6) = 'JOBLGX'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;IF client is initial.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;int_mandt = sy-mandt.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;ELSE.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;READ TABLE T000 with key client.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;IF sy-subrc = 0.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;         &lt;EM&gt;&lt;STRONG&gt;int_mandt = client.&lt;/STRONG&gt;      ELSE.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;         &lt;EM&gt;RAISE INVALID_CLIENT.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;ENDIF.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;ENDIF.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ENDIF.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, the log is never been found &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Handling for get SIZE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;IF function = 'O' or function = 'o'.&lt;/P&gt;&lt;P&gt;   IF path = ' '.&lt;/P&gt;&lt;P&gt;      SELECT single * FROM TST01 client specified&lt;/P&gt;&lt;P&gt;                WHERE dclient = &lt;STRONG&gt;int_mandt&lt;/STRONG&gt;                and   dname   = object.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;raise file_not_found.&lt;/STRONG&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone knows about some replacement for function COMMON_LOG_READ_PLAIN in order to be used for BDC logs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo GIROTTO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 18:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-log-not-found/m-p/6189855#M1374404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-13T18:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Exception LOG_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-log-not-found/m-p/6189856#M1374405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check SAP Note : 936049&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 19:42:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-log-not-found/m-p/6189856#M1374405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-13T19:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exception LOG_NOT_FOUND</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/exception-log-not-found/m-p/6189857#M1374406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The note refers to missing entries in TST01 table. However, In this case, the entry exist in TST01 table, but the select statement does not find the row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECT single * FROM TST01 client specified*&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE dclient = int_mandt and dname = object.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The select return 4 because the INT_MANDT is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason why the field INT_MANDT is empty is because the Log type is BDC instead JOB. Then, never match value to INT_MANDT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking for another function which makes the same functionality but focus on BDC logs. But, I didn't find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know some function to replace this one? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leonardo GIROTTO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 20:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/exception-log-not-found/m-p/6189857#M1374406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-13T20:02:18Z</dc:date>
    </item>
  </channel>
</rss>

