<?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: select query needed in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157979#M456168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the 'at selection-screen on screen_field' event, where u can right the code to ceck inputs given to a particular field in the selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: If for example ur field name is 'Field1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement for that event to start is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on Field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that event u have to raise an error message, which will help the user to identify the field where he has given the wrong input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer this program 'demo_*_selection_screen_events'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the particular event u have to raise the error message when the user give two key values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Award if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 09:38:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-07T09:38:25Z</dc:date>
    <item>
      <title>select query needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157978#M456167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts&lt;/P&gt;&lt;P&gt;   i am working on inventory management.&lt;/P&gt;&lt;P&gt;Scenario1:For a plant group there exists one key plant and the rest should be non-key plants.&lt;/P&gt;&lt;P&gt;   Query 1: How could i prevent the user from entering 2 key plants for a plant group?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 12:46:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157978#M456167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T12:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: select query needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157979#M456168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the 'at selection-screen on screen_field' event, where u can right the code to ceck inputs given to a particular field in the selection criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: If for example ur field name is 'Field1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The statement for that event to start is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen on Field1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that event u have to raise an error message, which will help the user to identify the field where he has given the wrong input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer this program 'demo_*_selection_screen_events'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the particular event u have to raise the error message when the user give two key values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Award if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 09:38:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157979#M456168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T09:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: select query needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157980#M456169</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 as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: t001w&lt;/P&gt;&lt;P&gt;parameters: p_werks like t001w-werks .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear t001w-werks.&lt;/P&gt;&lt;P&gt;select single werks from t001w  into t001w-werks werks = p_werks.&lt;/P&gt;&lt;P&gt;if t001w-werks  &amp;lt;&amp;gt; 'Key Plant'.&lt;/P&gt;&lt;P&gt;  message 'enter correct key plant'.&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>Mon, 07 May 2007 09:45:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157980#M456169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T09:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: select query needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157981#M456170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murli,&lt;/P&gt;&lt;P&gt;            Use &amp;lt;b&amp;gt;At selection-screen&amp;lt;/b&amp;gt; event to restrict ur user to enter &lt;/P&gt;&lt;P&gt;2 key plants.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read help on At selection screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 09:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157981#M456170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T09:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: select query needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157982#M456171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murali,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can go either for 'At selection-screen' of 'At selection-screen on field'. Both will work, but If u go for the second one when the error message is raised what will happens is: 1) As i said in the previous reply Only the field u have mentioned in the event will be in Input mode and all the others will be display mode., otherwise all the fields will be in Display mode and ready for accepting an input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Award if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157982#M456171</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T10:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: select query needed</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157983#M456172</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;U need to &amp;lt;b&amp;gt;award points for useful answers&amp;lt;/b&amp;gt; and u have to mention it as solved if ur question is solved. Dont forget. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 10:55:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-needed/m-p/2157983#M456172</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T10:55:22Z</dc:date>
    </item>
  </channel>
</rss>

