<?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 error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642987#M1092867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to throw an error message based on the values of a field&lt;/P&gt;&lt;P&gt;now if the field is wrong value then the user should get an error message&lt;/P&gt;&lt;P&gt;but the user should be able to correct the value and proceed and not procceed withoud correcting&lt;/P&gt;&lt;P&gt;the error message should not throwhim out of the transaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Oct 2008 07:03:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-20T07:03:26Z</dc:date>
    <item>
      <title>error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642987#M1092867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to throw an error message based on the values of a field&lt;/P&gt;&lt;P&gt;now if the field is wrong value then the user should get an error message&lt;/P&gt;&lt;P&gt;but the user should be able to correct the value and proceed and not procceed withoud correcting&lt;/P&gt;&lt;P&gt;the error message should not throwhim out of the transaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642987#M1092867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642988#M1092868</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;Use message of type 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like Message 'Enter value' type 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Navneeth K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:06:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642988#M1092868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642989#M1092869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You can try to use POP UP Function modules&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Madhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:09:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642989#M1092869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642990#M1092870</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;User can use Type 'E' message and Type 'W' messags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But let me know..,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Is it in Report selection screen or In screen programming?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:09:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642990#M1092870</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-10-20T07:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642991#M1092871</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;  use MESSAGE with MESSAGE TYPE 'E'.&lt;/P&gt;&lt;P&gt;  like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  paameters p_name type string.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  if p_name is initial.&lt;/P&gt;&lt;P&gt;  message 'please enter name' type 'E'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if one don't enter ny value in the field p_name then  message 'please enter name' will occur and once the error is corrected th code will execute ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642991#M1092871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642992#M1092872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sushant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to correct the value entered in that case u need to give an information message type 'I' bcoz error message will not let u to correct the entered value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Ashu Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:15:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642992#M1092872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642993#M1092873</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;Anyway If it is the report use this validation part in AT SELECTION_SCREEN event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check following sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data: p_data(4).

parameters: s_data like p_data.

at SELECTION-SCREEN.

if s_data = 'TEST'.
  write:/ 'User entered TEST as input'.
else.
  message 'Enter the correct input' type 'E'.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:15:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642993#M1092873</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-10-20T07:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642994#M1092874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using it in module pool programming. You have to code in under Chain..Endchain Statement. So that the field doesnt get grayed out and is available for input in edit mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chain.&lt;/P&gt;&lt;P&gt; field f1 module validate.&lt;/P&gt;&lt;P&gt;Endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in Validate module give error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:17:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642994#M1092874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642995#M1092875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is screen programming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:22:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642995#M1092875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642996#M1092876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    plz check the following code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF FLD_VAL = 'X'.&lt;/P&gt;&lt;P&gt;MESSAGE E001(ZSDC).&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;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;IF FLD_VAL = 'X'.&lt;/P&gt;&lt;P&gt;MESSAGE E001(ZSDC).&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:31:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642996#M1092876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642997#M1092877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks people.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Oct 2008 07:31:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message/m-p/4642997#M1092877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-20T07:31:56Z</dc:date>
    </item>
  </channel>
</rss>

