<?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 Problem Capturing BDC Error Msgs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821648#M1470277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am facing a problem in capturing BDC Error Msgs  when using&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'MF42N' USING BDCDATA&lt;/P&gt;&lt;P&gt;                           MODE   FMODE&lt;/P&gt;&lt;P&gt;                           UPDATE 'L'&lt;/P&gt;&lt;P&gt;                           MESSAGES INTO MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after which  to get the msg I used the following coding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT MESSTAB WHERE MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'MESSAGE_TEXT_BUILD'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  MSGID               = MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;                  MSGNR               = MESSTAB-MSGNR&lt;/P&gt;&lt;P&gt;                  MSGV1               = MESSTAB-MSGV1&lt;/P&gt;&lt;P&gt;                  MSGV2               = MESSTAB-MSGV2&lt;/P&gt;&lt;P&gt;                  MSGV3               = MESSTAB-MSGV3&lt;/P&gt;&lt;P&gt;                  MSGV4               = MESSTAB-MSGV4&lt;/P&gt;&lt;P&gt;                IMPORTING&lt;/P&gt;&lt;P&gt;                  MESSAGE_TEXT_OUTPUT = W_TEXTOUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                              MESSAGE E126 WITH W_TEXTOUT.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is that when I run the BDC - MESSTAB does not contain all the error msgs which is shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the standard transaction "MF42N" run. and more over the msg type differs from standard run and the msgs in "MESSTAB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S.Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Apr 2010 05:11:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-16T05:11:21Z</dc:date>
    <item>
      <title>Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821648#M1470277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I am facing a problem in capturing BDC Error Msgs  when using&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'MF42N' USING BDCDATA&lt;/P&gt;&lt;P&gt;                           MODE   FMODE&lt;/P&gt;&lt;P&gt;                           UPDATE 'L'&lt;/P&gt;&lt;P&gt;                           MESSAGES INTO MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after which  to get the msg I used the following coding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT MESSTAB WHERE MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; CALL FUNCTION 'MESSAGE_TEXT_BUILD'&lt;/P&gt;&lt;P&gt;                EXPORTING&lt;/P&gt;&lt;P&gt;                  MSGID               = MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;                  MSGNR               = MESSTAB-MSGNR&lt;/P&gt;&lt;P&gt;                  MSGV1               = MESSTAB-MSGV1&lt;/P&gt;&lt;P&gt;                  MSGV2               = MESSTAB-MSGV2&lt;/P&gt;&lt;P&gt;                  MSGV3               = MESSTAB-MSGV3&lt;/P&gt;&lt;P&gt;                  MSGV4               = MESSTAB-MSGV4&lt;/P&gt;&lt;P&gt;                IMPORTING&lt;/P&gt;&lt;P&gt;                  MESSAGE_TEXT_OUTPUT = W_TEXTOUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                              MESSAGE E126 WITH W_TEXTOUT.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the problem is that when I run the BDC - MESSTAB does not contain all the error msgs which is shown&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the standard transaction "MF42N" run. and more over the msg type differs from standard run and the msgs in "MESSTAB"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S.Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 05:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821648#M1470277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T05:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821649#M1470278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the following example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA CTU_PARAMS LIKE CTU_PARAMS.
DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
 

CALL TRANSACTION 'T.CODE' USING BDCDATA OPTIONS FROM CTU_PARAMS MESSAGES  INTO MESSTAB.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 05:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821649#M1470278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T05:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821650#M1470279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the respone .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still i have another problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I my company we have given the user  Z screen for "MF42N" posting.&lt;/P&gt;&lt;P&gt;where in the BDC takes place in back ground&lt;/P&gt;&lt;P&gt;using mode "N".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its not possible to give Mode when options is used.&lt;/P&gt;&lt;P&gt;and i do not want the user to see the error log .&lt;/P&gt;&lt;P&gt;instead to capture the error msg from the log and display the relavent msg alone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 06:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821650#M1470279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T06:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821651#M1470280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While using OPTIONS also you can pass the Mode&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;opt-nobinpt = 'X' .
opt-dismode = 'N'.

call transaction 'F-02' using bdcdata   options from opt messages into messtab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 06:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821651#M1470280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T06:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821652#M1470281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still my primary issue is not address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to fetch the error msgs which is shown in the error log in the standard transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to retrive the messages into MESSTAB from the MSG log which is shown after the  standard transaction run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error msg from msg log in standard transaction run is not captured in BDC - MESSTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the soultion for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Apr 2010 08:24:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821652#M1470281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-16T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821653#M1470282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please Help me in solving the Issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Apr 2010 04:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821653#M1470282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-17T04:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821654#M1470283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Messages should be captured, but the issue is maybe that you only select E type messages. Maybe the "error messages" you mention are of type S, but displayed like E. So, could you look at all messages in MESSTAB?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moreover, sometimes, the transaction may not behave the same way interactively and with call transaction. You may check whether the message is really output by running call transaction in A mode (display each screen).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Last thing, call transaction only captures messages that are output by MESSAGE statement (without INTO keyword). If these messages appear in a popup for example, you won't be able to capture them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Apr 2010 18:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821654#M1470283</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2010-04-17T18:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821655#M1470284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 15:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821655#M1470284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-21T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Capturing BDC Error Msgs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821656#M1470285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 15:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-capturing-bdc-error-msgs/m-p/6821656#M1470285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-07-21T15:31:40Z</dc:date>
    </item>
  </channel>
</rss>

