<?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: Capturing message class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572548#M258474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;goto debugging mode and set the watchpoint on SY-MSGNO = 060. It takes u to the message statement, where you can find the variable name which will replace the &amp;amp; in Message class. Hope this will be helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards:-&lt;/P&gt;&lt;P&gt;Santosh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Sep 2006 04:30:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-26T04:30:49Z</dc:date>
    <item>
      <title>Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572544#M258470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I want to capture the message Generated by Messae class M7060 i.e 'Document &amp;amp; Posted' , '&amp;amp;' will be replaced by a number during runtime and i want to capture this number to a variable.Please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Sandeep Shenoy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:14:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572544#M258470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T04:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572545#M258471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this &amp;lt;b&amp;gt;Sy-msgno&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:16:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572545#M258471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T04:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572546#M258472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chandra, thanks for the reply ,but sy-msgno gives 060 but i need the contents of it not msgno.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:24:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572546#M258472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T04:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572547#M258473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok use FM TG_MESSAGE_BUILD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not sure abt the name of FM as i dont have sap now , search in se37 for &lt;STRONG&gt;message&lt;/STRONG&gt;build , u will get one FM use that FM and pass sy-msgno , it will give u the message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:27:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572547#M258473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T04:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572548#M258474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;goto debugging mode and set the watchpoint on SY-MSGNO = 060. It takes u to the message statement, where you can find the variable name which will replace the &amp;amp; in Message class. Hope this will be helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards:-&lt;/P&gt;&lt;P&gt;Santosh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572548#M258474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T04:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572549#M258475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'TB_MESSAGE_BUILD_TEXT'
       EXPORTING
            LANGU = SY-LANGU
            MSGID = P_SY_MSGID
            MSGNO = P_SY_MSGNO
            MSGV1 = P_SY_MSGV1
            MSGV2 = P_SY_MSGV2
            MSGV3 = P_SY_MSGV3
            MSGV4 = P_SY_MSGV4
       IMPORTING
            TEXT  = P_L_ERR_MSG.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:43:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572549#M258475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T04:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572550#M258476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using the FM MESSAGE_PREPARE.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'MESSAGE_PREPARE'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            LANGUAGE               = EN&lt;/P&gt;&lt;P&gt;            MSG_ID                 = ZZ&lt;/P&gt;&lt;P&gt;            MSG_NO                 = w_no&lt;/P&gt;&lt;P&gt;            MSG_VAR1               = w_var1&lt;/P&gt;&lt;P&gt;            MSG_VAR2               = w_var2&lt;/P&gt;&lt;P&gt;            MSG_VAR3               = w_var3&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            MSG_TEXT               = W_MSGTEXT&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            FUNCTION_NOT_COMPLETED = 1&lt;/P&gt;&lt;P&gt;            MESSAGE_NOT_FOUND      = 2&lt;/P&gt;&lt;P&gt;            OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;do reward if it helps,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:46:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572550#M258476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T04:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572551#M258477</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;&lt;/P&gt;&lt;P&gt; In  the program says, &lt;/P&gt;&lt;P&gt;data: v_test(3) tyep c value '123'.&lt;/P&gt;&lt;P&gt;  message e060(m7) with v_test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: v_temp like v_test.
  v_temp = v_test.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; You haev to modify the program for this.&lt;/P&gt;&lt;P&gt; If it is a Standard program, as you can not modify the program, you can not hte value captured.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:48:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572551#M258477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-26T04:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572552#M258478</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;iN CALL TRANSACTION for MB1B tcode you r trying to create MBLNR if you want to capture them &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call transaction 'MB1B' using bdcdata messages into MTAB.&lt;/P&gt;&lt;P&gt; IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;read table MTAB WITH KEY MSGid = 'M7'&lt;/P&gt;&lt;P&gt;msgtyp = 'S'                            &lt;/P&gt;&lt;P&gt;MSGNUMBER = '060'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;w_mblnr = mtab-msgv1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 04:53:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572552#M258478</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-09-26T04:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing message class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572553#M258479</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;did u get the solution with my suggestion or still you want me to elaborate the answer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thaks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Sep 2006 05:02:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/capturing-message-class/m-p/1572553#M258479</guid>
      <dc:creator>shishupalreddy</dc:creator>
      <dc:date>2006-09-26T05:02:29Z</dc:date>
    </item>
  </channel>
</rss>

