<?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: Regarding warning messages in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316593#M508080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   As continously, we were discussing about same point again and again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;See, only in foreground , we can see all types of messages.But in background, we cannot see any messages. If you want to see or capture all those messages.&lt;/P&gt;&lt;P&gt; Write tour call transaction like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'Your tcode' USING tbl_bdcdata&lt;/P&gt;&lt;P&gt;MODE 'N'&lt;/P&gt;&lt;P&gt;UPDATE 'S'&lt;/P&gt;&lt;P&gt;MESSAGES INTO tbl_bdc_msg.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MOVE sy-subrc TO w_subrc.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Moving the error message into a table.&lt;/P&gt;&lt;P&gt;LOOP AT tbl_bdc_msg.&lt;/P&gt;&lt;P&gt;IF tbl_bdc_msg-msgtyp = 'E'.  here you can keep 'W' for warnings.&lt;/P&gt;&lt;P&gt;PERFORM get_text_message.&lt;/P&gt;&lt;P&gt;MOVE tbl_string-w_mstring TO tbl_bdc_error-w_bdc_error.&lt;/P&gt;&lt;P&gt;MOVE tbl_bdc_msg-msgid TO tbl_bdc_error-msgid.&lt;/P&gt;&lt;P&gt;MOVE tbl_bdc_msg-msgnr TO tbl_bdc_error-msgnr.&lt;/P&gt;&lt;P&gt;APPEND tbl_bdc_error.&lt;/P&gt;&lt;P&gt;CLEAR tbl_bdc_error.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2007 06:53:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-16T06:53:21Z</dc:date>
    <item>
      <title>Regarding warning messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316592#M508079</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;Iam using call transaction(tcode ff67). &lt;/P&gt;&lt;P&gt;In this iam getting warning in foreground where as in background it is not showing the &lt;/P&gt;&lt;P&gt;warning message. In background  the record is being saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is any warning message in background  how to handle the situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 06:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316592#M508079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T06:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding warning messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316593#M508080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   As continously, we were discussing about same point again and again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;See, only in foreground , we can see all types of messages.But in background, we cannot see any messages. If you want to see or capture all those messages.&lt;/P&gt;&lt;P&gt; Write tour call transaction like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION 'Your tcode' USING tbl_bdcdata&lt;/P&gt;&lt;P&gt;MODE 'N'&lt;/P&gt;&lt;P&gt;UPDATE 'S'&lt;/P&gt;&lt;P&gt;MESSAGES INTO tbl_bdc_msg.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MOVE sy-subrc TO w_subrc.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Moving the error message into a table.&lt;/P&gt;&lt;P&gt;LOOP AT tbl_bdc_msg.&lt;/P&gt;&lt;P&gt;IF tbl_bdc_msg-msgtyp = 'E'.  here you can keep 'W' for warnings.&lt;/P&gt;&lt;P&gt;PERFORM get_text_message.&lt;/P&gt;&lt;P&gt;MOVE tbl_string-w_mstring TO tbl_bdc_error-w_bdc_error.&lt;/P&gt;&lt;P&gt;MOVE tbl_bdc_msg-msgid TO tbl_bdc_error-msgid.&lt;/P&gt;&lt;P&gt;MOVE tbl_bdc_msg-msgnr TO tbl_bdc_error-msgnr.&lt;/P&gt;&lt;P&gt;APPEND tbl_bdc_error.&lt;/P&gt;&lt;P&gt;CLEAR tbl_bdc_error.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manju.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 06:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316593#M508080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T06:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding warning messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316594#M508081</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;If you are getting warning messages then no need to handle them in background.&lt;/P&gt;&lt;P&gt;they will be automatically ignored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 06:54:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316594#M508081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T06:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding warning messages</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316595#M508082</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;warning message is a type of message where the user can still go ahead in processing the transaction. &lt;/P&gt;&lt;P&gt;say for example a person is getting warning message in foreground. if he hits ENTER, he can proceed further. whereas in background, the warning messages occured are overtaken and the processing is done further similar way. &lt;/P&gt;&lt;P&gt;warning message is not error message, it is just like information. so no need to interrupt the process in case of such messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can read the warning message in call transaction method using the internal table with structure BDCMSGCOLL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: it_bdcmsgcoll like bdcmsgcoll occurs 0 with header line.
CALL TRANSACTION 'XYZ' - -- -- -- - messages into IT_BDCMSGCOLL.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in that structure you have a parameter MSGTYP. you can read the internal table with key MSGTYP = 'W'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this info helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;P&gt;pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 06:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-warning-messages/m-p/2316595#M508082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T06:56:39Z</dc:date>
    </item>
  </channel>
</rss>

