<?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: Doubt in select query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412991#M819691</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;Dont take that field in ur where condition if u want to have both the values x and space.&lt;/P&gt;&lt;P&gt;if there are some other values for that field other than X and space ,u should write  &lt;/P&gt;&lt;P&gt; field ='X' or field = space in where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Deepa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2008 07:31:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-20T07:31:10Z</dc:date>
    <item>
      <title>Doubt in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412985#M819685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello friends , i have one simple doubt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables:plpo,plfh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from plpo&lt;/P&gt;&lt;P&gt;            where plnty = 'N'&lt;/P&gt;&lt;P&gt;            and plnNR = group_number            "'CEWGRP'&lt;/P&gt;&lt;P&gt;            and vornr = W_ASSIGN_PRT-OPERATION_NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from plfh where&lt;/P&gt;&lt;P&gt;              plnty = 'N'&lt;/P&gt;&lt;P&gt;              and plnnr = group_number&lt;/P&gt;&lt;P&gt;              and plnkn = plpo-plnkn&lt;/P&gt;&lt;P&gt;              and loekz = 'x'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the last select query i want that query should take records with both loekz = 'x' and loekz ne 'x' ..so waht can i do without changing any field above loekz....might be something like&lt;/P&gt;&lt;P&gt;(where loekz id deletion indicator)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from plfh where&lt;/P&gt;&lt;P&gt;              plnty = 'N'&lt;/P&gt;&lt;P&gt;              and plnnr = group_number&lt;/P&gt;&lt;P&gt;              and plnkn = plpo-plnkn&lt;/P&gt;&lt;P&gt;              and loekz = 'x'  or loekz ne 'x'...is something like this possible?means it shd take into consideration both records with x and without x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 07:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412985#M819685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T07:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412986#M819686</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;Don't take that field in where condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 07:06:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412986#M819686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T07:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412987#M819687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes You can use that... but what is the necessity to include both with 'X' and ' '.&lt;/P&gt;&lt;P&gt;instead u can use loekx = 'X' or loekx = ' '.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 07:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412987#M819687</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T07:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412988#M819688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loekz is a deletion indicator. So it can have value 'X' or space.&lt;/P&gt;&lt;P&gt;In order to pick up records you can ignore loekz from select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;preeti.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 07:10:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412988#M819688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T07:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412989#M819689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove loekz from ur select query.So irrespective of loekz value,it ll select the data &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from plfh where&lt;/P&gt;&lt;P&gt;plnty = 'N'&lt;/P&gt;&lt;P&gt;and plnnr = group_number&lt;/P&gt;&lt;P&gt;and plnkn = plpo-plnkn&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;will work....&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rudra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 07:10:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412989#M819689</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2008-02-20T07:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412990#M819690</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 write in 3 ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; select * from plfh where&lt;/P&gt;&lt;P&gt; plnty = 'N'&lt;/P&gt;&lt;P&gt; and plnnr = group_number&lt;/P&gt;&lt;P&gt; and plnkn = plpo-plnkn&lt;/P&gt;&lt;P&gt; and ( loekz = 'x' or loekz EQ '' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. select * from plfh where&lt;/P&gt;&lt;P&gt; plnty = 'N'&lt;/P&gt;&lt;P&gt; and plnnr = group_number&lt;/P&gt;&lt;P&gt; and plnkn = plpo-plnkn&lt;/P&gt;&lt;P&gt; and loekz IN ( 'x' ,' ' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select * from plfh where&lt;/P&gt;&lt;P&gt; plnty = 'N'&lt;/P&gt;&lt;P&gt; and plnnr = group_number&lt;/P&gt;&lt;P&gt; and plnkn = plpo-plnkn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 07:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412990#M819690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T07:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412991#M819691</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;Dont take that field in ur where condition if u want to have both the values x and space.&lt;/P&gt;&lt;P&gt;if there are some other values for that field other than X and space ,u should write  &lt;/P&gt;&lt;P&gt; field ='X' or field = space in where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Deepa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 07:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412991#M819691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T07:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Doubt in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412992#M819692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot muralikrishna k.&lt;/P&gt;&lt;P&gt;           it was a very nice answer by u which helped me to solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and thank u all for replying to my thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2008 07:51:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/doubt-in-select-query/m-p/3412992#M819692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-20T07:51:21Z</dc:date>
    </item>
  </channel>
</rss>

