<?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: input verification while declaration of selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475170#M1555571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare TABLES: sscrfields in your global data, then  perform the db-costly check only if sscrfields-ucomm is 'ONLI' or 'PRIN'&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN [ON xxx].
  IF sscrfields-ucomm EQ 'ONLI'
  OR sscrfields-ucomm EQ 'PRIN'.
    SELECT ...
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Dec 2010 10:04:46 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2010-12-01T10:04:46Z</dc:date>
    <item>
      <title>input verification while declaration of selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475166#M1555567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to &lt;STRONG&gt;verify&lt;/STRONG&gt; the input which the user enters on screen &lt;/P&gt;&lt;P&gt;either declared by &lt;STRONG&gt;parameters&lt;/STRONG&gt; or &lt;STRONG&gt;select-options&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;without below techniques&lt;/STRONG&gt; &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;at declaration level itself&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Provide user a &lt;STRONG&gt;dropdown list&lt;/STRONG&gt; ( no error, no verifcation ).&lt;/P&gt;&lt;P&gt;2. By sending back the user input and do select query and then display type E messages&lt;/P&gt;&lt;P&gt;   &lt;STRONG&gt;ex: select f1 from table into wa&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;where a1 IN s_first and " s_first user input&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;where a2 IN s_second. " s_second user input&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;if sy-subrc ne 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         *&lt;STRONG&gt;display error to user&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;         &lt;STRONG&gt;endif.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My basic idea is to avoid database hits i.e., minimise &lt;STRONG&gt;select&lt;/STRONG&gt; 's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: DeepakNandikanti on Dec 1, 2010 10:35 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 09:33:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475166#M1555567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-01T09:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: input verification while declaration of selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475167#M1555568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For Parameters you can use VALUE CHECK extension, if the possible entries are defined in domain. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for select options, may be the only way to validate is query the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 09:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475167#M1555568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-01T09:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: input verification while declaration of selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475168#M1555569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can force entries through F4 Help. &lt;/P&gt;&lt;P&gt;Check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href = "&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1563006"&gt;&lt;/A&gt; target="_blank" &amp;gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1563006"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 09:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475168#M1555569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-01T09:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: input verification while declaration of selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475169#M1555570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as my knowledge, that can happen to fields which have &lt;STRONG&gt;Conversion Exits&lt;/STRONG&gt; defined at their domain level like PROJ-PSPNR which checks automatically when you enter some data in it. For other types of fields which don't have conversion exits, you have to check on your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Faheem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 09:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475169#M1555570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-01T09:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: input verification while declaration of selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475170#M1555571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Declare TABLES: sscrfields in your global data, then  perform the db-costly check only if sscrfields-ucomm is 'ONLI' or 'PRIN'&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN [ON xxx].
  IF sscrfields-ucomm EQ 'ONLI'
  OR sscrfields-ucomm EQ 'PRIN'.
    SELECT ...
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 10:04:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475170#M1555571</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2010-12-01T10:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: input verification while declaration of selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475171#M1555572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot!! You all have poured in your valuable replies..&lt;/P&gt;&lt;P&gt;I am going through all..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 10:14:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475171#M1555572</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-01T10:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: input verification while declaration of selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475172#M1555573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your reply,&lt;/P&gt;&lt;P&gt;Could you please elaborate..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 10:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-verification-while-declaration-of-selection-screen/m-p/7475172#M1555573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-01T10:21:34Z</dc:date>
    </item>
  </channel>
</rss>

