<?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 Capturing Log in BDC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822043#M1470337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to capture error messages. I am able to do so with the normal error messages that appear on the status bar at the down. But I am not able to capture error messages that appear in the error log and not on the status bar. How to capture it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Apr 2010 05:23:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-16T05:23:04Z</dc:date>
    <item>
      <title>Capturing Log in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822043#M1470337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to capture error messages. I am able to do so with the normal error messages that appear on the status bar at the down. But I am not able to capture error messages that appear in the error log and not on the status bar. How to capture it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 05:23:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822043#M1470337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T05:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Log in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822044#M1470338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In BDC call transaction mode you will get messages in MESSAGES table. In session it is handeled automatically. I don't think you can get any extra messages which are not captured be MESSGE addition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 05:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822044#M1470338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T05:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Log in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822045#M1470339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rajalaxmi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

CALL TRANSACTION 'ME51' USING bdcdata MODE 'N'
                                                MESSAGES INTO t_msg.


DATA:
    lw_msg TYPE string.
    LOOP AT t_msg INTO fs_msg where msgid eq 'E'.
    CALL FUNCTION 'FORMAT_MESSAGE'
      EXPORTING
        id        = fs_msg-msgid
        lang      = 'EN'
        no        = fs_msg-msgnr
        v1        = fs_msg-msgv1
        v2        = fs_msg-msgv2
        v3        = fs_msg-msgv3
        v4        = fs_msg-msgv4
      IMPORTING
        msg       = lw_msg
      EXCEPTIONS
        not_found = 1
        OTHERS    = 2.
    IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE:/ lw_msg.
  ENDLOOP.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 07:04:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822045#M1470339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T07:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing Log in BDC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822046#M1470340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the log you refer to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 07:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-log-in-bdc/m-p/6822046#M1470340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T07:06:29Z</dc:date>
    </item>
  </channel>
</rss>

