<?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: Raising error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133282#M448629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a message in a bespoke class (123 in ZF for example) which reads:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"combination of &amp;amp; and &amp;amp; should not exist for this particular file for particular customer &amp;amp;."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your program, ensure that ekpo-ebeln ekpo-ebelp and kna1-name1 (or appropriate workfields) are populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then use "MESSAGE 123(ZF) WITH ekpo-ebeln ekpo-ebelp kna1-name1." to output the message.&lt;/P&gt;&lt;P&gt;The values in the fields listed after "WITH" replace the "&amp;amp;" placeholders in the message text at runtime, in te sequence they are listed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that clarifies it for you,&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Apr 2007 12:15:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-13T12:15:25Z</dc:date>
    <item>
      <title>Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133276#M448623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone help me how to raise an error message with the combination of text and the table fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg. &lt;/P&gt;&lt;P&gt; error message should be like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"combination of (ekpo-ebeln) and (ekpo-ebelp) should not exist for this particular file for particular customer (kna1-name1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this the text and table fields should be combined in one message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me in this. it will more helpful for .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:02:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133276#M448623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133277#M448624</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;write it as..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;MESSAGE e888(sapabapdocu) WITH ekpo-ebeln ekpo-ebelp file-name kna1-name1.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sapabapdocu is a centrally available message class.. with 888 as its default message number with four place holders..&lt;/P&gt;&lt;P&gt;you can pass onli 4 values to a message !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps u..&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133277#M448624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133278#M448625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; do this way ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have a table class ZF with 001 as &amp;amp; &amp;amp; &amp;amp; ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so iam displaying my error message this way ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; concatenate 'combination of' ekpo-ebeln 'and'  ekpo-ebelp into var1 separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; concatenate 'should not exist for this particular file for particular customer'  ' (' kna1-name1 ')' into var2 separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; message e001 with var1 var2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:07:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133278#M448625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133279#M448626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Create a Message with 'COMINATION OF &amp;amp;1 AND &amp;amp;2 SHOULD EXIST FOR &amp;amp;3 FILE WITH &amp;amp;4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message E001 with ekpo-ebeln ekpo-ebelp kna1-name1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133279#M448626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133280#M448627</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;You can do this by defining your custom message class and number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Go to transaction SE91 and Create a custom class Z01. &lt;/P&gt;&lt;P&gt;- Create a message number 001. Give the text message like this &lt;/P&gt;&lt;P&gt;"&amp;lt;b&amp;gt;combination of &amp;amp;1 and &amp;amp;2 should not exist for this tile for customer &amp;amp;3&amp;lt;/b&amp;gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Latter you write code in your program line this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  DATA: l_ebeln LIKE ekpo-ebeln,
        l_ebelp LIKE ekpo-ebelp,
        l_name1 LIKE kna1-name1.

 l_ebeln = "move ekko-ebeln value here.
 l_ebelp = "move ekko-ebelp value here.
 l_name1 = "move kna1-name value here.

  MESSAGE e001(z01) WITH l_ebeln l_ebelp l_name1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:11:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133280#M448627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133281#M448628</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;MESSAGE 'Combination of  &amp;amp;  and &amp;amp; should not exist for this particular file for  &amp;amp; particular customer' TYPE 'E' WITH ekpo-ebeln ekpo-ebelp kna1-name1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward is useful,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:11:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133281#M448628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133282#M448629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joseph,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a message in a bespoke class (123 in ZF for example) which reads:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"combination of &amp;amp; and &amp;amp; should not exist for this particular file for particular customer &amp;amp;."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your program, ensure that ekpo-ebeln ekpo-ebelp and kna1-name1 (or appropriate workfields) are populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You then use "MESSAGE 123(ZF) WITH ekpo-ebeln ekpo-ebelp kna1-name1." to output the message.&lt;/P&gt;&lt;P&gt;The values in the fields listed after "WITH" replace the "&amp;amp;" placeholders in the message text at runtime, in te sequence they are listed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that clarifies it for you,&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:15:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133282#M448629</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133283#M448630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;goto &amp;lt;b&amp;gt;SE91&amp;lt;/b&amp;gt; and create a message as in ur message class (say z001)...&lt;/P&gt;&lt;P&gt;COMINATION OF &amp;amp;1 AND &amp;amp;2 SHOULD EXIST FOR &amp;amp;3 FILE WITH &amp;amp;4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now, in ur program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Message E001(z001) with ekpo-ebeln ekpo-ebelp kna1-name1&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133283#M448630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Raising error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133284#M448631</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;you can do ike this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a message in your message class like&lt;/P&gt;&lt;P&gt;001  &amp;amp; and &amp;amp; shoould not exits for this particular file for particular customer &amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and write&lt;/P&gt;&lt;P&gt;Message E001 with ekpo-ebeln ekpo-ebelp kna1-name1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you..&lt;/P&gt;&lt;P&gt;reward points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2007 12:15:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/raising-error-message/m-p/2133284#M448631</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-13T12:15:51Z</dc:date>
    </item>
  </channel>
</rss>

