<?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: Unable to input data after getting an error message in module pool programming. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603095#M2011173</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks. It worked.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 07:39:55 GMT</pubDate>
    <dc:creator>former_member806437</dc:creator>
    <dc:date>2022-06-17T07:39:55Z</dc:date>
    <item>
      <title>Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603091#M2011169</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;My requirement is in module pool programming when the wrong input is given it has to display an error message and allow to give the correct input again.&lt;/P&gt;
  &lt;P&gt;But when I give the wrong input it is not allowing me to give the input . The fields are getting greyed out.&lt;/P&gt;
  &lt;P&gt;Please provide a solution to resolve this.&lt;/P&gt;
  &lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 07:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603091#M2011169</guid>
      <dc:creator>former_member806437</dc:creator>
      <dc:date>2022-06-17T07:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603092#M2011170</link>
      <description>&lt;P&gt;Please provide your code The message statement. &lt;/P&gt;&lt;P&gt;However, try this&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MESSAGE 'Your Message .!' TYPE 'W' DISPLAY LIKE 'E'.
LEAVE TO SCREEN sy-dynnr.

or 

MESSAGE 'Your Message !' TYPE 'S' DISPLAY LIKE 'E'.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Jun 2022 07:17:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603092#M2011170</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2022-06-17T07:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603093#M2011171</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To make all the fields ready for Input, even if a single field was entered wrongly.&lt;/P&gt;&lt;P&gt;Write code in PAI.&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt;fields: f1, f2, f3.&lt;/P&gt;&lt;P&gt;module &amp;lt; mod Name&amp;gt;.&lt;/P&gt;&lt;P&gt;endchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Anuja Kawadiwale&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 07:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603093#M2011171</guid>
      <dc:creator>anujawani242683</dc:creator>
      <dc:date>2022-06-17T07:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603094#M2011172</link>
      <description>&lt;P&gt;Hello  &lt;SPAN class="mention-scrubbed"&gt;kunimbedu30&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Use CHAIN.....ENDCHAIN&lt;/P&gt;&lt;P&gt;In PAI&lt;/P&gt;&lt;P&gt;CHAIN.&lt;/P&gt;&lt;P&gt; fields : field1, field2 MODULE validate_field.&lt;/P&gt;&lt;P&gt;ENDCHAIN.&lt;/P&gt;&lt;P&gt;and In program &lt;/P&gt;&lt;P&gt;MODULE validate_field.&lt;/P&gt;&lt;P&gt;"write validation in this area and give error message here&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;P&gt;Note : for more detail please check F1 help on CHAIN keyword, you will get detail idea.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Yogesh&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 07:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603094#M2011172</guid>
      <dc:creator>Yogesh_bagul</dc:creator>
      <dc:date>2022-06-17T07:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603095#M2011173</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;thanks. It worked.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 07:39:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603095#M2011173</guid>
      <dc:creator>former_member806437</dc:creator>
      <dc:date>2022-06-17T07:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603096#M2011174</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In PAI the logic is generated by default. So do I need to add this the logic again.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 07:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603096#M2011174</guid>
      <dc:creator>former_member806437</dc:creator>
      <dc:date>2022-06-17T07:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603097#M2011175</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In PAI the logic is generated by default. So do I need to add this the logic again.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 07:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603097#M2011175</guid>
      <dc:creator>former_member806437</dc:creator>
      <dc:date>2022-06-17T07:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603098#M2011176</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If logic is same and it is already there then no need add it again.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 08:35:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603098#M2011176</guid>
      <dc:creator>anujawani242683</dc:creator>
      <dc:date>2022-06-17T08:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to input data after getting an error message in module pool programming.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603099#M2011177</link>
      <description>&lt;P&gt;I don't recommend this trick:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MESSAGE 'Your Message .!' TYPE 'W' DISPLAY LIKE 'E'.
LEAVE TO SCREEN sy-dynnr.
or 
MESSAGE 'Your Message !' TYPE 'S' DISPLAY LIKE 'E'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The right way to do was already answered, is to define a CHAIN FIELDS ... MODULE pai_module... ENDCHAIN in the PAI, with the list of fields that need to be input, and define:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE pai_module INPUT.
  IF &amp;lt;some condition&amp;gt;.
    MESSAGE 'Your Message' TYPE 'E'.
  ENDIF.
ENDMODULE. &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Jun 2022 09:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/unable-to-input-data-after-getting-an-error-message-in-module-pool/m-p/12603099#M2011177</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-06-17T09:25:03Z</dc:date>
    </item>
  </channel>
</rss>

