<?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 How to get error message from STD screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018864#M960273</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using call transaction method to upload data into SAP system i want to capture the error, which may be present in screen is there is any way to do it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give some idea as early as possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jun 2008 13:50:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-09T13:50:14Z</dc:date>
    <item>
      <title>How to get error message from STD screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018864#M960273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using call transaction method to upload data into SAP system i want to capture the error, which may be present in screen is there is any way to do it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give some idea as early as possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 13:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018864#M960273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T13:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get error message from STD screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018865#M960274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the MESSAGES into MESS_TAB addition of the CALL TRANSACTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 13:51:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018865#M960274</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-06-09T13:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get error message from STD screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018866#M960275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use this function Module FORMAT_MESSAGE to get the error message &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before using this function module you just creat one internal table refering the structure bdcmsgcoll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        CALL FUNCTION 'FORMAT_MESSAGE'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            id        = message-msgid&lt;/P&gt;&lt;P&gt;            lang      = 'E'&lt;/P&gt;&lt;P&gt;            no        = message-msgnr&lt;/P&gt;&lt;P&gt;            v1        = message-msgv1&lt;/P&gt;&lt;P&gt;            v2        = message-msgv2&lt;/P&gt;&lt;P&gt;            v3        = message-msgv3&lt;/P&gt;&lt;P&gt;            v4        = message-msgv4&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            msg       = l_errmsg&lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            not_found = 1&lt;/P&gt;&lt;P&gt;           OTHERS    = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;lang is "E' = Error   S = success and I information.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will be usefull for u &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;John Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 14:02:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018866#M960275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T14:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get error message from STD screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018867#M960276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All errrors occured during CALL Transaction will be placed into IT_MESSAGES. you can loop thru this internal table &amp;amp; find for message type E to see the error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Code:&lt;/P&gt;&lt;P&gt; CALL TRANSACTION &amp;lt;Tcode&amp;gt; using IT_BDCDATA ....&lt;/P&gt;&lt;P&gt;           MESSAGES INTO IT_MESSAGES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0 .&lt;/P&gt;&lt;P&gt;   LOOP AT IT_MESSAGES WHERE MSG_TYPE = 'E'.&lt;/P&gt;&lt;P&gt;*--here you will be having all ERROR messages&lt;/P&gt;&lt;P&gt;   ENDLOOP&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this gives some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2008 15:09:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-error-message-from-std-screen/m-p/4018867#M960276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-09T15:09:00Z</dc:date>
    </item>
  </channel>
</rss>

