<?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: Error Message for IT0001 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351521#M1540696</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;I think you need to clear OK_CODE after you display the warning message as 'E'. Then it will not save, because you cleared the OK_CODE for saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE w000(zxx) WITH p0001-plans begda DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Nov 2010 01:33:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-10T01:33:15Z</dc:date>
    <item>
      <title>Error Message for IT0001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351518#M1540693</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;   I am trying to validate field plans(position) of IT0001 in the program ZP000100. I am trying to give an error message in PAI, but it is not making the fields editable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that we need to add the fields inside CHAIN END CHAIN which we need to validate. But the problem is it is a standard field and i would not be able to add that field in the CHAIN END CHAIN of the program ZP000100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently i am displaying error message like this, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE w000(zxx) WITH p0001-plans begda DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when save is clicked without changing the value, it is showing the error message but when i hit ENTER, it gets saved and goes to the next screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i dont want this to happen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know is there any way to avoid this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 11:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351518#M1540693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-08T11:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message for IT0001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351519#M1540694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Arunsri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can using user exit's to avoid that case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         call method cl_hr_pnnnn_type_cast=&amp;gt;prelp_to_pnnnn&lt;/P&gt;&lt;P&gt;                exporting&lt;/P&gt;&lt;P&gt;                  prelp = innnn&lt;/P&gt;&lt;P&gt;                importing&lt;/P&gt;&lt;P&gt;                  pnnnn = lx_pXXXX.&lt;/P&gt;&lt;P&gt;         -&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;         YOUR CODE IS HERE&lt;/P&gt;&lt;P&gt;         -&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;          call method cl_hr_pnnnn_type_cast=&amp;gt;pnnnn_to_prelp&lt;/P&gt;&lt;P&gt;                exporting&lt;/P&gt;&lt;P&gt;                  pnnnn = lx_pXXXX&lt;/P&gt;&lt;P&gt;                importing&lt;/P&gt;&lt;P&gt;                  prelp = innnn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nice to help you...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard's&lt;/P&gt;&lt;P&gt;Andri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: endru86 on Nov 8, 2010 2:12 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Nov 2010 13:11:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351519#M1540694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-08T13:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message for IT0001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351520#M1540695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try using an (e)rror message instead of your (w)arning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; MESSAGE e000(zxx) WITH p0001-plans begda DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ron Mulig on Nov 9, 2010 7:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 18:55:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351520#M1540695</guid>
      <dc:creator>MrWhan</dc:creator>
      <dc:date>2010-11-09T18:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error Message for IT0001</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351521#M1540696</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;I think you need to clear OK_CODE after you display the warning message as 'E'. Then it will not save, because you cleared the OK_CODE for saving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MESSAGE w000(zxx) WITH p0001-plans begda DISPLAY LIKE 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR: OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 01:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-message-for-it0001/m-p/7351521#M1540696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-10T01:33:15Z</dc:date>
    </item>
  </channel>
</rss>

