<?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: Data not getting into internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522593#M1425379</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is 'KUNDE' in your selection on EQUI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Dec 2009 14:42:37 GMT</pubDate>
    <dc:creator>brad_bohn</dc:creator>
    <dc:date>2009-12-18T14:42:37Z</dc:date>
    <item>
      <title>Data not getting into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522592#M1425378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a query as given below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF equipment_number IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;    SELECT        eqart&lt;/P&gt;&lt;P&gt;                        equnr&lt;/P&gt;&lt;P&gt;                        invnr&lt;/P&gt;&lt;P&gt;  FROM  equi INTO table lt_equi&lt;/P&gt;&lt;P&gt;    FOR ALL ENTRIES IN equipment_number&lt;/P&gt;&lt;P&gt;    WHERE equnr = equipment_number-equipment_number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF lt_equi[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;      SELECT kunnr name1&lt;/P&gt;&lt;P&gt;        FROM kna1&lt;/P&gt;&lt;P&gt;      INTO CORRESPONDING FIELDS OF TABLE lt_kna1&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES IN lt_equi&lt;/P&gt;&lt;P&gt;      WHERE kunnr = lt_equi-kunde.&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;No data is coming in lt_kna1 table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have changed the data declaration of lt_kna1. Earlier it was declared sa TYPE SATNDARD TABLE of kna1,&lt;/P&gt;&lt;P&gt;and I changed it to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  types: begin of ty_kna1,&lt;/P&gt;&lt;P&gt;          name1 type kna1-name1,&lt;/P&gt;&lt;P&gt;          kunnr type kna1-kunnr,&lt;/P&gt;&lt;P&gt;         end of ty_kna1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lt_kna1  TYPE TABLE OF ty_kna1 with header line,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After doing this change, the problem started coming. Earlier the data was coming correct in it_kna1.&lt;/P&gt;&lt;P&gt;How to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ajay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2009 14:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522592#M1425378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-18T14:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data not getting into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522593#M1425379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where is 'KUNDE' in your selection on EQUI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2009 14:42:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522593#M1425379</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2009-12-18T14:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Data not getting into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522594#M1425380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the order of declaration of fields in TYPES statement like below and try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of ty_kna1,&lt;/P&gt;&lt;P&gt;kunnr type kna1-kunnr,&lt;/P&gt;&lt;P&gt;name1 type kna1-name1,&lt;/P&gt;&lt;P&gt;end of ty_kna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or change Select query fetching order like below and try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT name1 kunnr&lt;/P&gt;&lt;P&gt;FROM kna1&lt;/P&gt;&lt;P&gt;INTO CORRESPONDING FIELDS OF TABLE lt_kna1&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN lt_equi&lt;/P&gt;&lt;P&gt;WHERE kunnr = lt_equi-kunde.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2009 14:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522594#M1425380</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-12-18T14:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Data not getting into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522595#M1425381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your field declaration is not in the sequence of the database table in KNA1.  Please correct it &amp;amp; also refer to domain directly instead of referring to field. Just do as below :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;types: begin of ty_kna1,
KUNNR type KUNNR,
NAME1 type NAME1_GP,
end of ty_kna1.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check the value of the field KUNDE in lt_equi-kunde . It migh be because of CONVERSION EXIT .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bohn &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As to answer yuor query KUNDE in EQUI is same as KUNNR in KAN1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Abhii&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2009 14:47:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522595#M1425381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-18T14:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data not getting into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522596#M1425382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Abhii,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brad's point is our friend Ajay is not selecting KUNDE from EQUI table &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&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>Fri, 18 Dec 2009 14:50:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522596#M1425382</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-12-18T14:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Data not getting into internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522597#M1425383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Abhii was talking to Bohn, not Brad&lt;/P&gt;&lt;P&gt;Guess I need my weekend as well... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2009 14:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-not-getting-into-internal-table/m-p/6522597#M1425383</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-12-18T14:51:36Z</dc:date>
    </item>
  </channel>
</rss>

