<?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 Validating the input screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160330#M456889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to validate the input screen as like the web page screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If we are giving the integers in place of characters then it should throw the error like &amp;#147;please use the character fields&amp;#148;. The validation should occur, On spot.&lt;/P&gt;&lt;P&gt;Only after this validation, the cursor should go to the next input field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Apr 2007 06:55:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-20T06:55:50Z</dc:date>
    <item>
      <title>Validating the input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160330#M456889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to validate the input screen as like the web page screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If we are giving the integers in place of characters then it should throw the error like &amp;#147;please use the character fields&amp;#148;. The validation should occur, On spot.&lt;/P&gt;&lt;P&gt;Only after this validation, the cursor should go to the next input field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 06:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160330#M456889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T06:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Validating the input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160331#M456890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use sy-abcde in this scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if this is useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishna K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 06:58:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160331#M456890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T06:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Validating the input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160332#M456891</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;using several events for selection screen &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;At selection screen on vale request,&lt;/P&gt;&lt;P&gt;At selection screen on help request,&lt;/P&gt;&lt;P&gt;At selection screen output, ect&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using these events you can validate the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for making the screen fields Active and inactive Use &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;'LOOP AT SCREEN'&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg,&lt;/P&gt;&lt;P&gt;Hariharan Natarajan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 06:59:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160332#M456891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T06:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: Validating the input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160333#M456892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Declare a Parameter like&lt;/P&gt;&lt;P&gt;parameters:  p_str(10). &lt;/P&gt;&lt;P&gt;in the at selection-screen even t write the validation like:&lt;/P&gt;&lt;P&gt;data: p_var(10) value '1234567890'.&lt;/P&gt;&lt;P&gt;if not p_str is initial.&lt;/P&gt;&lt;P&gt;  if p_str CS p_var   (means if the entered value contains string like numbers)&lt;/P&gt;&lt;P&gt;     message e000 with &amp;#147;please use the character fields&amp;#148;. &lt;/P&gt;&lt;P&gt;   ( instead of CS you can use CA contains any)&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 07:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160333#M456892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T07:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Validating the input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160334#M456893</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 in this event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At Selection-screen on p_field&lt;/P&gt;&lt;P&gt;IF p_field CA '0123456789'.&lt;/P&gt;&lt;P&gt;write ur message here.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sonika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 07:05:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160334#M456893</guid>
      <dc:creator>former_member632991</dc:creator>
      <dc:date>2007-04-20T07:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Validating the input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160335#M456894</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 dont think, without any event you can check it. At least ENTER is required.&lt;/P&gt;&lt;P&gt;Bcoz cursor movement &amp;amp; even tab key is not recognised as a FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 07:07:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160335#M456894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-20T07:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Validating the input screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160336#M456895</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;If you are giving integers, then there might be possiblity that it may be a character.&lt;/P&gt;&lt;P&gt;For ex., if you giving 1 in character,eventhough it is integer it can be a character also.So you cannot validate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you want to restrict numbers,then you can use the following.But it will work only if you press enter or execute button.&lt;/P&gt;&lt;P&gt;parameters : p_c1(4) type c modif id z1,&lt;/P&gt;&lt;P&gt;             p_i type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on p_c1.&lt;/P&gt;&lt;P&gt;if p_c1 ca '0123456789'.&lt;/P&gt;&lt;P&gt;message i000.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly reward points by clicking the star on the left of reply,if it helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2007 07:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/validating-the-input-screen/m-p/2160336#M456895</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2007-04-20T07:12:05Z</dc:date>
    </item>
  </channel>
</rss>

