<?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 offset operation in select statements where clause in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379774#M1041982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear experts,&lt;/P&gt;&lt;P&gt;    if i use offset operation in select query , syntactically giving &lt;/P&gt;&lt;P&gt;    me a warning message.&lt;/P&gt;&lt;P&gt;    how to avoid warning message&lt;/P&gt;&lt;P&gt;    without using another internal table populated with  only  jtab+0(10).   &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;   ex:&lt;/P&gt;&lt;P&gt;          select field1 field2 &lt;/P&gt;&lt;P&gt;                    into table   itab&lt;/P&gt;&lt;P&gt;                    from ztable1&lt;/P&gt;&lt;P&gt;                    for all entries in jtab&lt;/P&gt;&lt;P&gt;                    where field =  jtab+0(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Aug 2008 09:54:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-23T09:54:00Z</dc:date>
    <item>
      <title>offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379774#M1041982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear experts,&lt;/P&gt;&lt;P&gt;    if i use offset operation in select query , syntactically giving &lt;/P&gt;&lt;P&gt;    me a warning message.&lt;/P&gt;&lt;P&gt;    how to avoid warning message&lt;/P&gt;&lt;P&gt;    without using another internal table populated with  only  jtab+0(10).   &lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;   ex:&lt;/P&gt;&lt;P&gt;          select field1 field2 &lt;/P&gt;&lt;P&gt;                    into table   itab&lt;/P&gt;&lt;P&gt;                    from ztable1&lt;/P&gt;&lt;P&gt;                    for all entries in jtab&lt;/P&gt;&lt;P&gt;                    where field =  jtab+0(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 09:54:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379774#M1041982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T09:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379775#M1041983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ignore the warning message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i amazed to see your query:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;for all entries in jtab
where field = jtab+0(10)."---&amp;gt;&amp;gt;&amp;gt;can we use offset for internal table?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;if yes than please provide a source documentation from where you got this info.&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 10:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379775#M1041983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T10:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379776#M1041984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No need to populate another internal table...&lt;/P&gt;&lt;P&gt;when populating jtab from database select ur field twice &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;structure for jtab..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of ty_jtab,&lt;/P&gt;&lt;P&gt;          .....&lt;/P&gt;&lt;P&gt;          field type ...&lt;/P&gt;&lt;P&gt;          field1 type char10,&lt;/P&gt;&lt;P&gt;         .....&lt;/P&gt;&lt;P&gt;        end of ty_jtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;populate the field twice..&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   select ...&lt;/P&gt;&lt;P&gt;             field&lt;/P&gt;&lt;P&gt;             field&lt;/P&gt;&lt;P&gt;             ......&lt;/P&gt;&lt;P&gt;into table jtab&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now u can use the field field1 in the next select&lt;/P&gt;&lt;P&gt;select field1 field2&lt;/P&gt;&lt;P&gt;into table itab&lt;/P&gt;&lt;P&gt;from ztable1&lt;/P&gt;&lt;P&gt;for all entries in jtab&lt;/P&gt;&lt;P&gt;where field = jtab-field1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 10:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379776#M1041984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T10:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379777#M1041985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi amit, here's the query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT vbeln                      "Billing Document number&lt;/P&gt;&lt;P&gt;           waerk                      "SD Document Currency&lt;/P&gt;&lt;P&gt;      FROM vbrk&lt;/P&gt;&lt;P&gt;      INTO TABLE fp_gi_vbrk&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES IN fp_gi_bsid&lt;/P&gt;&lt;P&gt;      WHERE vbeln =  fp_gi_bsid-zuonr+0(10)&lt;/P&gt;&lt;P&gt;        AND fkart IN s_fkart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 10:26:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379777#M1041985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T10:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379778#M1041986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WHERE vbeln = fp_gi_bsid-zuonr+0(10)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;First collect fp_gi_bsid-zuonr+0(10) value in another temp field than use select query like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT vbeln "Billing Document number
waerk "SD Document Currency
FROM vbrk
INTO TABLE fp_gi_vbrk
FOR ALL ENTRIES IN fp_gi_bsid
WHERE vbeln = fp_gi_bsid-temp"--&amp;gt;&amp;gt;Look here
AND fkart IN s_fkart.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 10:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379778#M1041986</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T10:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379779#M1041987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friend ,&lt;/P&gt;&lt;P&gt;that's what i have mentioned in my thread&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 10:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379779#M1041987</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T10:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379780#M1041988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use the LIKE operator in your where Clause. Do an F1 on LIKE &amp;amp; you will get the idea..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ignore my response.. when using FOR ALL ENTRIES, the fields should match, you cannot use the OFFset like you are trying..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suresh Datti on Aug 23, 2008 12:40 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 10:37:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379780#M1041988</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2008-08-23T10:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379781#M1041989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;friend ,
that's what i have mentioned in my thread&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am not using another itab am just using another temp variable which i think you must use else i have no idea!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 10:46:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379781#M1041989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T10:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379782#M1041990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;amit,&lt;/P&gt;&lt;P&gt;variable can be used only to hold a single value,&lt;/P&gt;&lt;P&gt;if multiple values then ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ramesh kalvakota on Aug 23, 2008 12:54 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 10:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379782#M1041990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T10:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379783#M1041991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you read my second last post carefully or Are you pulling my leg?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT vbeln "Billing Document number
waerk "SD Document Currency
FROM vbrk
INTO TABLE fp_gi_vbrk
FOR ALL ENTRIES IN fp_gi_bsid
WHERE vbeln = fp_gi_bsid-temp"--&amp;gt;&amp;gt;Look here(It is not a variable its a field of internal table fp_gi_bsid )
AND fkart IN s_fkart.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope now you understood.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 11:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379783#M1041991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T11:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379784#M1041992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;amit,&lt;/P&gt;&lt;P&gt;   you mean to say that once i get values in fp_gi_bsid,&lt;/P&gt;&lt;P&gt;   then loop this fp_gi_bsid and fill temp field with&lt;/P&gt;&lt;P&gt;  zuonr+0(10) value, then use fp_gi_bsid-temp .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 11:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379784#M1041992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T11:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379785#M1041993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly Brother &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 11:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379785#M1041993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T11:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379786#M1041994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friend amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks for spending your precious time for answering &lt;/P&gt;&lt;P&gt; the thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 11:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379786#M1041994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T11:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: offset operation in select statements where clause</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379787#M1041995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;friend amit,

thanks for spending your precious time for answering 
the thread.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS:dont forget to close your thread once it answered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Aug 2008 11:19:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/offset-operation-in-select-statements-where-clause/m-p/4379787#M1041995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-23T11:19:51Z</dc:date>
    </item>
  </channel>
</rss>

