<?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: how i can validate user input on screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438200#M825665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using chain and endchain statements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Feb 2008 04:42:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-09T04:42:55Z</dc:date>
    <item>
      <title>how i can validate user input on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438199#M825664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;                    pls tell me how i can validate user input on screen.&lt;/P&gt;&lt;P&gt;                       &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards&lt;/P&gt;&lt;P&gt;        vikas saini&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 04:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438199#M825664</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T04:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: how i can validate user input on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438200#M825665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;using chain and endchain statements&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 04:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438200#M825665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T04:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: how i can validate user input on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438201#M825666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the program define the check at &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for exmaple if i want to check my selection screen parameter for company code zbukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON ZBUKRS.&lt;/P&gt;&lt;P&gt;  PERFORM CHECK_BUKRS USING ZBUKRS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'FI_COMPANY_CODE_CHECK'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      I_BUKRS      = ZBUKRS&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      COMPANY_CODE = 1&lt;/P&gt;&lt;P&gt;      OTHERS       = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC NE 0 .&lt;/P&gt;&lt;P&gt;    MESSAGE E128(8I)  .&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 04:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438201#M825666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T04:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: how i can validate user input on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438202#M825667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON &lt;/P&gt;&lt;P&gt;This even it used to validate one particular field..And if there is any error in the validation..The other fields will be disabled for input..This is like FIELD xxx MODULE xxx in dialog programming..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 04:45:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438202#M825667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T04:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: how i can validate user input on screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438203#M825668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Using at selection-screen on field event we can validate the user input to the screen.&lt;/P&gt;&lt;P&gt;suppose you want to restrict the user to give the input lower value as some 1000 and upper valueas&lt;/P&gt;&lt;P&gt;some 2000.If user enters any value other than that in lower and upper input fields you want to &lt;/P&gt;&lt;P&gt;raise error messager that 'please enter a valid input value'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to code for the above scenario do like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on s_lifnr.&lt;/P&gt;&lt;P&gt;if s_lifnr-low  &amp;lt; 1000 and s_lifnr-low &amp;gt;1999.&lt;/P&gt;&lt;P&gt;message 'E' 000(0)  with 'enter a valid lower input'.&lt;/P&gt;&lt;P&gt;else if s_lifnr-high &amp;lt; 1001 and s_lifnr-high &amp;gt; 2000.&lt;/P&gt;&lt;P&gt;message 'E' 000(1) with 'enter correct upper value'.&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;regards,&lt;/P&gt;&lt;P&gt;swami.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Feb 2008 04:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-i-can-validate-user-input-on-screen/m-p/3438203#M825668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-09T04:54:40Z</dc:date>
    </item>
  </channel>
</rss>

