<?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 Help needed in displaynig error message in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923142#M1148758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all kind souls, i am having problem with displaying error message when a invalid field is being input.&lt;/P&gt;&lt;P&gt;The following is my codings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM insert_data.&lt;/P&gt;&lt;P&gt;   TABLES z112_work2.&lt;/P&gt;&lt;P&gt;   INSERT z112_work2.&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;IF sy-subrc = 4.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;MESSAGE 'Invalid ID.' TYPE 'E'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;   MESSAGE 'Inserted Successfully.' TYPE 'I'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i needed help on the " &lt;EM&gt;IF sy-subrc = 4.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;MESSAGE 'Invalid ID.' TYPE 'E'.&lt;/EM&gt; " part as when i activated it, i tried to enter a invalid value on the 1st field  it worked but i couldnt enter any value at the rest of the following fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: yingzi huang on Dec 22, 2008 5:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2008 04:44:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-22T04:44:43Z</dc:date>
    <item>
      <title>Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923142#M1148758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi to all kind souls, i am having problem with displaying error message when a invalid field is being input.&lt;/P&gt;&lt;P&gt;The following is my codings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM insert_data.&lt;/P&gt;&lt;P&gt;   TABLES z112_work2.&lt;/P&gt;&lt;P&gt;   INSERT z112_work2.&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;IF sy-subrc = 4.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;MESSAGE 'Invalid ID.' TYPE 'E'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;   MESSAGE 'Inserted Successfully.' TYPE 'I'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i needed help on the " &lt;EM&gt;IF sy-subrc = 4.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;   &lt;EM&gt;MESSAGE 'Invalid ID.' TYPE 'E'.&lt;/EM&gt; " part as when i activated it, i tried to enter a invalid value on the 1st field  it worked but i couldnt enter any value at the rest of the following fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: yingzi huang on Dec 22, 2008 5:44 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 04:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923142#M1148758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T04:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923143#M1148759</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 any of these statements after your error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL SELECTION-SCREEN 1000.
LEAVE PROGRAM.

or

Leave list-processing.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 04:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923143#M1148759</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-12-22T04:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923144#M1148760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx for ur offer anyway &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; My problem is solved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 04:54:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923144#M1148760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T04:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923145#M1148761</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;use MESSAGE 'Invalid ID.' TYPE 'I' Display Like 'E'.&lt;/P&gt;&lt;P&gt;leave list-processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use above format, then other fields will be enabled for input..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 04:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923145#M1148761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T04:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923146#M1148762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do u want to continue with the processing after the display of the message also.&lt;/P&gt;&lt;P&gt;with type i that is not possible.&lt;/P&gt;&lt;P&gt;after display of error message, processing will stop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message "Ur message" type 'I' DISPLAY LIKE 'E'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 04:56:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923146#M1148762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T04:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923147#M1148763</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;When you give message type 'E' then when you enter the invalid value, as the message type is 'E' the rest of the fields on the selection fields gets diabled...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 04:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923147#M1148763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T04:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923148#M1148764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;erm.. my problem is still exist aft i tried inserting the coding in:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 4.&lt;/P&gt;&lt;P&gt;   MESSAGE 'Incomplete fields.' TYPE 'E'.&lt;/P&gt;&lt;P&gt;   LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;   MESSAGE 'Inserted Successfully.' TYPE 'I'.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i added the " LEAVE LIST-PROCESSING."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAN ANYONE HELP ME?!?!?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 05:05:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923148#M1148764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T05:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923149#M1148765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try,  If Sy-Subrc ne 0.&lt;/P&gt;&lt;P&gt;       Error Message.&lt;/P&gt;&lt;P&gt;       Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because u might get subrc value other then 4, then ur condition will fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vikas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 05:09:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923149#M1148765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T05:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923150#M1148766</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;give messgae as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE 'Incomplete fields.' &lt;STRONG&gt;TYPE 'I' DISPLAY LIKE "E'&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 05:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923150#M1148766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T05:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed in displaynig error message</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923151#M1148767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot!  the problem is solved.=DDD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 05:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-needed-in-displaynig-error-message/m-p/4923151#M1148767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T05:12:16Z</dc:date>
    </item>
  </channel>
</rss>

