<?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: where condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256947#M1016158</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, to restrict the entries to be selected (if you are using WHERE in SELECT) based on user input parameter value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2008 09:12:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-31T09:12:50Z</dc:date>
    <item>
      <title>where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256946#M1016157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the need of writing selection screen parameter in where condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256946#M1016157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256947#M1016158</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well, to restrict the entries to be selected (if you are using WHERE in SELECT) based on user input parameter value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256947#M1016158</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256948#M1016159</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;In Where condition the parameter is mentioned to restrict fetching records.&lt;/P&gt;&lt;P&gt;i.e Records will be fetched from database table that match with the given value in Selection-screen parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the link, you get to know-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/62/10a423384746e8bf5f15ccdd36e8b1/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/62/10a423384746e8bf5f15ccdd36e8b1/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:13:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256948#M1016159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256949#M1016160</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;You can use Selection screen parameters in where condition when the filtering values and criteria can be supplied by the user.&lt;/P&gt;&lt;P&gt;By providing selection screen fields we give a great flexibility to the user to select the filtering criteria.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sumit Agarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:14:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256949#M1016160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256950#M1016161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A where condition is used to filter columns by a search condition, parameters allows the user to filter the data, as it restrict the data .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:14:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256950#M1016161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256951#M1016162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so that the output should be according to the parameters which are entered by the user..&lt;/P&gt;&lt;P&gt;e.g. date parmaeter: the output will be acc. to the period which the user gives in the selection screen and the where clause in select will do this!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;pardeep sharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256951#M1016162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256952#M1016163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use the Selection screen parameter in the where condition of a select query is to restrict the data retrieval from the table based on the parameter. i.e. to retrieve the data that is requested by the user through the selection screen parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:16:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256952#M1016163</guid>
      <dc:creator>learnsap</dc:creator>
      <dc:date>2008-07-31T09:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256953#M1016164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to reduce the database hits and to increase the performance of the program we will use this where condition and we can get only the required fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Suresh.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256953#M1016164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256954#M1016165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi if there is no whre condition then it will fetch all the records from the database table .......if there is a need to get  particular records from the database table  we can done with the where conditon .....and we can restricting the values in fetching the data fron the databse table...means if you want to get the values from 1000 to 2000 then we can specify there in the where condition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:17:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256954#M1016165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256955#M1016166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; WHERE is used to select the records from a database table based on a &lt;STRONG&gt;condition&lt;/STRONG&gt;, ie., if we need only specific records to be selected we give the condition in WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT carrid connid
    FROM sflight
    INTO t_sflight
   WHERE carrid EQ 'AA'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here we get the carrid connid values only for carrid AA. So, here we are restricting the data based on the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256955#M1016166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256956#M1016167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tables: kna1.
select-options: s_kunnr for kna1-kunnr.
data: gt_kna1 type table of kna1,
        gs_kna1 type kna1.

select kunnr name1 from kna1 into table gt_kna1
where kunnr in s_kunnr.

loop at gt_kna1 into gs_kna1.
write: gs_kna1-kunnr,
        / gs_kna1-name1.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here s_kunnr refers to the field on the selection-screen.&lt;/P&gt;&lt;P&gt;if you give any values for kunnr in the selection screen suppose 1 to 10. It returns only the customers 1 to 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further info, go through this links:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba87e35c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba87e35c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_StructureOfWhereClause.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_StructureOfWhereClause.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shailaja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256956#M1016167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: where condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256957#M1016168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the selection statement table all the data from the table get selected and so the condition is given in where clause, so that u can choose the data which u prefer as output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where clause in Select Query is used for giving the condition on which Data has be retrieved from data base table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Where clause you mention the the Condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/a8/4953eba3ad4cad9543dc2fac064308/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/a8/4953eba3ad4cad9543dc2fac064308/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;Nani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 09:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition/m-p/4256957#M1016168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T09:20:40Z</dc:date>
    </item>
  </channel>
</rss>

