<?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: offset indicator on date in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266127#M1017897</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;select all the data into one internal table and use the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;if wa-date+0(4) eq '2000'.&lt;/P&gt;&lt;P&gt;move-corresponding wa to final_itab.&lt;/P&gt;&lt;P&gt;clear wa.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2008 11:12:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-07T11:12:30Z</dc:date>
    <item>
      <title>offset indicator on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266123#M1017893</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 offset indicator on date field, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from vbak into wvbak where erdat+0(3) = '2000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but querry does not fetch data, what could be the solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx in adv&lt;/P&gt;&lt;P&gt;manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266123#M1017893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T11:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: offset indicator on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266124#M1017894</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;OFFSET won't work in the where clause.&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;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266124#M1017894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T11:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: offset indicator on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266125#M1017895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;select single * from vbak into wvbak where erdat&lt;/EM&gt;0(3) = '2000'.+&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we cannot use offset in query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first fetch data than compare with offset and delete unwanted data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:08:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266125#M1017895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T11:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: offset indicator on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266126#M1017896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
select single * from vbak into wvbak 
  WHERE ERDAT &amp;lt;= '20001231'
  or    ERDAT &amp;gt;  '20000101'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should be using SELECT UP TO 1 ROWS .. ENDSELECT as ERDAT is not key field in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Aug 7, 2008 1:14 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:09:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266126#M1017896</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-08-07T11:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: offset indicator on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266127#M1017897</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;select all the data into one internal table and use the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;if wa-date+0(4) eq '2000'.&lt;/P&gt;&lt;P&gt;move-corresponding wa to final_itab.&lt;/P&gt;&lt;P&gt;clear wa.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish Reddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266127#M1017897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T11:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: offset indicator on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266128#M1017898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz change ur code as per below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data wvbak1 like wvbak with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single * from vbak into wvbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at wvbak&lt;/P&gt;&lt;P&gt; If  wvbak-erdat+0(4) = '2000'.&lt;/P&gt;&lt;P&gt;   move wvbak to wvbak1.&lt;/P&gt;&lt;P&gt;   append wvbak1.&lt;/P&gt;&lt;P&gt;   Clear wvbak1.&lt;/P&gt;&lt;P&gt; Endif.&lt;/P&gt;&lt;P&gt;Endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:13:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266128#M1017898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T11:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: offset indicator on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266129#M1017899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satish &amp;amp; Rajesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if we restrict the data fetch @ the time of selection &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  WHERE ERDAT &amp;lt;= '20001231'
  OR    ERDAT &amp;gt;  '20000101'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this will be more efficient performance-wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:19:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266129#M1017899</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2008-08-07T11:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: offset indicator on date</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266130#M1017900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select query will not work with OFFSET...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT i_marc INTO wa_marc.
if  wa_marc-date+0(4) = '2000'.
.....
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2008 11:24:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-indicator-on-date/m-p/4266130#M1017900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-07T11:24:13Z</dc:date>
    </item>
  </channel>
</rss>

