<?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: regarding SQL query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sql-query/m-p/2958445#M697933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       Check out this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT RBUKRS RACCT RZZSLOB RZZBSA RBLART RMVCT FROM ZDLC2T INTO TABLE it_fndtab&lt;/P&gt;&lt;P&gt;WHERE RYEAR EQ p_year AND RBUKRS IN s_comp and  RBLART in ( 'ZS' , 'ZQ' ).&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;Santosh Thorat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2007 04:45:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-19T04:45:07Z</dc:date>
    <item>
      <title>regarding SQL query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sql-query/m-p/2958444#M697932</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;I have got one query very i need to check for an field condition based,that is for field1 eq ='ABC' and field1 eq 'dcf' with other conditions as well.&lt;/P&gt;&lt;P&gt;So please tell me how to do it in only one sql statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code is as follows:&lt;/P&gt;&lt;P&gt;SELECT  RBUKRS RACCT RZZSLOB RZZBSA RBLART RMVCT FROM ZDLC2T INTO TABLE it_fndtab&lt;/P&gt;&lt;P&gt;   WHERE RYEAR EQ p_year AND RBUKRS IN s_comp and ( RBLART EQ 'ZS' and RBLART EQ 'ZQ' ).&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;P&gt;Reward points given&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 04:38:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sql-query/m-p/2958444#M697932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T04:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: regarding SQL query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sql-query/m-p/2958445#M697933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;       Check out this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT RBUKRS RACCT RZZSLOB RZZBSA RBLART RMVCT FROM ZDLC2T INTO TABLE it_fndtab&lt;/P&gt;&lt;P&gt;WHERE RYEAR EQ p_year AND RBUKRS IN s_comp and  RBLART in ( 'ZS' , 'ZQ' ).&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;Santosh Thorat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 04:45:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sql-query/m-p/2958445#M697933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T04:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: regarding SQL query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sql-query/m-p/2958446#M697934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aruna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use the or statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RBLART EQ 'ZS'&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;RBLART EQ 'ZQ' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Benedict&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 04:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sql-query/m-p/2958446#M697934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T04:46:58Z</dc:date>
    </item>
  </channel>
</rss>

