<?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 range in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745264#M323420</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;use BT instead of EQ while building the range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_datum-option = '&amp;lt;b&amp;gt;BT&amp;lt;/b&amp;gt;'.&lt;/P&gt;&lt;P&gt;s_datum-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_datum-low = v_date.&lt;/P&gt;&lt;P&gt;s_datum-high = w_lastday.&lt;/P&gt;&lt;P&gt;append s_datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Dec 2006 02:01:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-19T02:01:07Z</dc:date>
    <item>
      <title>where condition range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745259#M323415</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;    I am using the below code but the data is not selecting as per the where condition date range.it shows sy-subrc =4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     s_datum-option = 'EQ'.&lt;/P&gt;&lt;P&gt;     s_datum-sign   = 'I'.&lt;/P&gt;&lt;P&gt;     s_datum-low    = v_date.&lt;/P&gt;&lt;P&gt;     s_datum-high   = w_lastday.&lt;/P&gt;&lt;P&gt;append s_datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  read table s_datum index 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT * FROM VBRK INTO CORRESPONDING FIELDS OF TABLE I_VBRK&lt;/P&gt;&lt;P&gt;                                 WHERE  VKORG IN  S_WERKS&lt;/P&gt;&lt;P&gt;                                       AND  FKDAT EQ S_DATUM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    In the above code the data is not selecting for s_datum.how to solve the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 01:55:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745259#M323415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T01:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: where condition range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745260#M323416</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;Use IN instead of EQ&lt;/P&gt;&lt;P&gt;SELECT * FROM VBRK INTO CORRESPONDING FIELDS OF TABLE I_VBRK&lt;/P&gt;&lt;P&gt;WHERE VKORG IN S_WERKS&lt;/P&gt;&lt;P&gt;AND FKDAT &amp;lt;b&amp;gt;IN&amp;lt;/b&amp;gt; S_DATUM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 01:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745260#M323416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T01:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: where condition range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745261#M323417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to use the IN operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

SELECT * FROM VBRK INTO CORRESPONDING FIELDS OF TABLE I_VBRK
WHERE VKORG IN S_WERKS
AND FKDAT IN S_DATUM. 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 01:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745261#M323417</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-19T01:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: where condition range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745262#M323418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, no need for this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;read table s_datum index 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 01:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745262#M323418</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-19T01:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: where condition range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745263#M323419</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;  I tryed using in also still the sy-subrc is 4 only but i have the data in the vbrk table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rajendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 01:59:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745263#M323419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T01:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: where condition range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745264#M323420</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;use BT instead of EQ while building the range&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_datum-option = '&amp;lt;b&amp;gt;BT&amp;lt;/b&amp;gt;'.&lt;/P&gt;&lt;P&gt;s_datum-sign = 'I'.&lt;/P&gt;&lt;P&gt;s_datum-low = v_date.&lt;/P&gt;&lt;P&gt;s_datum-high = w_lastday.&lt;/P&gt;&lt;P&gt;append s_datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 02:01:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745264#M323420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-19T02:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: where condition range</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745265#M323421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oops,  I overlooked another thing, you need to use BT as the option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;s_datum-option = 'BT'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Dec 2006 02:01:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/where-condition-range/m-p/1745265#M323421</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-19T02:01:46Z</dc:date>
    </item>
  </channel>
</rss>

