<?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: internal table error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603546#M1085014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Oct 2008 04:52:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-21T04:52:27Z</dc:date>
    <item>
      <title>internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603538#M1085006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first i populated internal table itab-vbak where p_vbeln is a select option&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln&lt;/P&gt;&lt;P&gt;    vkorg&lt;/P&gt;&lt;P&gt;    vtweg&lt;/P&gt;&lt;P&gt;    spart&lt;/P&gt;&lt;P&gt;    erdat&lt;/P&gt;&lt;P&gt;    kunnr&lt;/P&gt;&lt;P&gt;      into corresponding fields of TABLE itab_vbak&lt;/P&gt;&lt;P&gt;        FROM vbak&lt;/P&gt;&lt;P&gt;          WHERE vbeln IN p_vbeln. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then itab-kna1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT kunnr&lt;/P&gt;&lt;P&gt;    name1&lt;/P&gt;&lt;P&gt;    ort01&lt;/P&gt;&lt;P&gt;    land1&lt;/P&gt;&lt;P&gt;    pstlz&lt;/P&gt;&lt;P&gt;      INTO corresponding fields of TABLE itab_kna1&lt;/P&gt;&lt;P&gt;        FROM kna1&lt;/P&gt;&lt;P&gt;          FOR ALL ENTRIES IN itab_vbak&lt;/P&gt;&lt;P&gt;            WHERE kunnr IN itab_vbak-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but while activating i am getting error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the IN operator with itab_vbak-kunnr is follwoed neither by an internal table nor by a value list.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:31:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603538#M1085006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603539#M1085007</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 kunnr&lt;/P&gt;&lt;P&gt;name1&lt;/P&gt;&lt;P&gt;ort01&lt;/P&gt;&lt;P&gt;land1&lt;/P&gt;&lt;P&gt;pstlz&lt;/P&gt;&lt;P&gt;INTO corresponding fields of TABLE itab_kna1&lt;/P&gt;&lt;P&gt;FROM kna1&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN itab_vbak&lt;/P&gt;&lt;P&gt;WHERE &lt;STRONG&gt;kunnr = itab_vbak-kunnr.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make the above change . It will work fine..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds.,&lt;/P&gt;&lt;P&gt;subash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:33:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603539#M1085007</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603540#M1085008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can't use in clause    for    for all entries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace in with =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mukesh aggarwal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603540#M1085008</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603541#M1085009</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;The itab_vbak-kunnr denotes a single KUNNR value whereas it should actually be a range or an internal table containing number of KUNNR values. Thats why its throwing the error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to take all the kunnr values from you table populate it in a range and then use it after IN operator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vasudha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603541#M1085009</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603542#M1085010</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;PRE&gt;&lt;CODE&gt;
WHERE kunnr = itab_vbak-kunnr.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try it..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:38:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603542#M1085010</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603543#M1085011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   Find the corrected code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln&lt;/P&gt;&lt;P&gt;vkorg&lt;/P&gt;&lt;P&gt;vtweg&lt;/P&gt;&lt;P&gt;spart&lt;/P&gt;&lt;P&gt;erdat&lt;/P&gt;&lt;P&gt;kunnr&lt;/P&gt;&lt;P&gt;into corresponding fields of TABLE itab_vbak&lt;/P&gt;&lt;P&gt;FROM vbak&lt;/P&gt;&lt;P&gt;WHERE vbeln IN p_vbeln. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab_vbak is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT kunnr&lt;/P&gt;&lt;P&gt;name1&lt;/P&gt;&lt;P&gt;ort01&lt;/P&gt;&lt;P&gt;land1&lt;/P&gt;&lt;P&gt;pstlz&lt;/P&gt;&lt;P&gt;INTO corresponding fields of TABLE itab_kna1&lt;/P&gt;&lt;P&gt;FROM kna1&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN itab_vbak&lt;/P&gt;&lt;P&gt;WHERE kunnr IN itab_vbak-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603543#M1085011</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603544#M1085012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vishal,&lt;/P&gt;&lt;P&gt;Use the code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT kunnr
name1
ort01
land1
pstlz
INTO corresponding fields of TABLE itab_kna1
FROM kna1
FOR ALL ENTRIES IN itab_vbak
WHERE kunnr IN kunnr.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chidanand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603544#M1085012</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603545#M1085013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In operator can be used when you are populating the internal table with reference to Select-options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are populating the internal table with reference to other internal table variable ' = ' operator should be used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:48:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603545#M1085013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603546#M1085014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 04:52:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603546#M1085014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T04:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: internal table error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603547#M1085015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;U can make a small change in query as :&lt;/P&gt;&lt;P&gt;SELECT kunnr&lt;/P&gt;&lt;P&gt;name1&lt;/P&gt;&lt;P&gt;ort01&lt;/P&gt;&lt;P&gt;land1&lt;/P&gt;&lt;P&gt;pstlz&lt;/P&gt;&lt;P&gt;INTO corresponding fields of TABLE it_kna1&lt;/P&gt;&lt;P&gt;FROM kna1&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN it_vbak&lt;/P&gt;&lt;P&gt;WHERE kunnr = it_vbak-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because for all entries will take all the data and will iterate till all the data is visisted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Oct 2008 05:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-error/m-p/4603547#M1085015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-21T05:02:05Z</dc:date>
    </item>
  </channel>
</rss>

