<?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: dynamic error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585012#M591438</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;goto se91 [creating a message class ] -&amp;gt; click on details [ second tab] -&amp;gt; give message number and message content as  &amp;amp; &amp;amp; &amp;amp; &amp;amp; -&amp;gt; give a name for message and use in our program as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e000(zaluri) with ' the doc number', vbeln 'not found'.&lt;/P&gt;&lt;P&gt;where zaluri is acustom message class created by me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can use in this way also as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message ' the doc number vbeln not found' type 'w0000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jul 2007 04:48:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-24T04:48:13Z</dc:date>
    <item>
      <title>dynamic error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585007#M591433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friends,&lt;/P&gt;&lt;P&gt;i have a plain text message text-03 with message the doc number not found.&lt;/P&gt;&lt;P&gt;but i want it to be more dynamic like  ' the doc number vbeln not found'.&lt;/P&gt;&lt;P&gt;where the vbeln is the what ever dynamic value in the loop.&lt;/P&gt;&lt;P&gt;i hard that the symbol '&amp;amp;' helps in this case but i dont know how to use that.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 04:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585007#M591433</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T04:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585008#M591434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e000(8i) with text-03 vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can create your own msg class ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e000(zspd) with text-03 vbeln.&lt;/P&gt;&lt;P&gt;dbl click on zspd and give &amp;amp; &amp;amp;  there and save it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 04:32:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585008#M591434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T04:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585009#M591435</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;Go to tran SE91 type your message class and create anew message from the available  number like this way for example your message class is YCC and your create message number as 300&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Document  Number &amp;amp; not found &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for display message as error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e300(ycc) with vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 04:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585009#M591435</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-07-24T04:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585010#M591436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create your message in the message class as "the doc number &amp;amp; not found".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And use it in the program like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e001(zmsg) with v_vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;zmsg/001: Message Class/Message Number&lt;/P&gt;&lt;P&gt;v_vbeln: Doc Nr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 04:35:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585010#M591436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T04:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585011#M591437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this logic...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT MESSTAB .&lt;/P&gt;&lt;P&gt;    if MESSTAB-MSGNR = '311' or MESSTAB-MSGTYP = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        SELECT SINGLE msgnr text FROM T100&lt;/P&gt;&lt;P&gt;                        into wa_errmess&lt;/P&gt;&lt;P&gt;                        WHERE SPRSL = MESSTAB-MSGSPRA&lt;/P&gt;&lt;P&gt;                          AND ARBGB = MESSTAB-MSGID&lt;/P&gt;&lt;P&gt;                          AND MSGNR = MESSTAB-MSGNR.&lt;/P&gt;&lt;P&gt;        IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;          err_message = wa_errmess-TEXT.&lt;/P&gt;&lt;P&gt;          IF err_message CS '&amp;amp;1'.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;1' WITH MESSTAB-MSGV1 INTO err_message.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;2' WITH MESSTAB-MSGV2 INTO err_message.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;3' WITH MESSTAB-MSGV3 INTO err_message.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;4' WITH MESSTAB-MSGV4 INTO err_message.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;' WITH MESSTAB-MSGV1 INTO err_message.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;' WITH MESSTAB-MSGV2 INTO err_message.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;' WITH MESSTAB-MSGV3 INTO err_message.&lt;/P&gt;&lt;P&gt;            REPLACE '&amp;amp;' WITH MESSTAB-MSGV4 INTO err_message.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          CONDENSE err_message.&lt;/P&gt;&lt;P&gt;          WRITE: / MESSTAB-MSGTYP, err_message .&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          WRITE: / MESSTAB.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;    endif.&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;if useful dont forget to give points...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 04:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585011#M591437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T04:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: dynamic error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585012#M591438</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;goto se91 [creating a message class ] -&amp;gt; click on details [ second tab] -&amp;gt; give message number and message content as  &amp;amp; &amp;amp; &amp;amp; &amp;amp; -&amp;gt; give a name for message and use in our program as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message e000(zaluri) with ' the doc number', vbeln 'not found'.&lt;/P&gt;&lt;P&gt;where zaluri is acustom message class created by me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can use in this way also as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;message ' the doc number vbeln not found' type 'w0000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 04:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-error-message/m-p/2585012#M591438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T04:48:13Z</dc:date>
    </item>
  </channel>
</rss>

