<?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 select over internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287306#M786444</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;is it possible to make a select over an itab?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get an itab from the FM 'fkk_open_item_select_with_date' and i want to use this table in the where conditions in my select over the dfkkop or can i just use my itab TYPE TABLE OF fkkop_copy WITH HEADER LINE to make the select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 12:53:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-16T12:53:01Z</dc:date>
    <item>
      <title>select over internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287306#M786444</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;is it possible to make a select over an itab?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get an itab from the FM 'fkk_open_item_select_with_date' and i want to use this table in the where conditions in my select over the dfkkop or can i just use my itab TYPE TABLE OF fkkop_copy WITH HEADER LINE to make the select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 12:53:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287306#M786444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T12:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: select over internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287307#M786445</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;You can not use Select Query on Internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 12:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287307#M786445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T12:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: select over internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287308#M786446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Make u of the FOR ALL ENTRIES in Select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this:&lt;/P&gt;&lt;P&gt;if not itab[] is initial.&lt;/P&gt;&lt;P&gt;SELECT * from MARA inot itab1 for all entries in itab&lt;/P&gt;&lt;P&gt;where matnr eq itab-matnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 12:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287308#M786446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T12:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: select over internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287309#M786447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it possible to bind two internal tables together?&lt;/P&gt;&lt;P&gt;when yes how can i do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards, &lt;/P&gt;&lt;P&gt;tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:25:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287309#M786447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T13:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: select over internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287310#M786448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can merge 2 internal tables based on some common field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: itab1&amp;amp; itab2 has common field f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at itab1 into wa1.&lt;/P&gt;&lt;P&gt; read table itab2 into wa2 with key f1 = wa1-f1.&lt;/P&gt;&lt;P&gt; if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  move: wa1-f1 to wa3-f1,&lt;/P&gt;&lt;P&gt;           wa2-f2 to wa3-f2,&lt;/P&gt;&lt;P&gt;           .....&lt;/P&gt;&lt;P&gt;           .....&lt;/P&gt;&lt;P&gt; append wa3 to itab3.&lt;/P&gt;&lt;P&gt; clear wa3.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you will have both internal tables data in one internal table itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287310#M786448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T13:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: select over internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287311#M786449</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;You want to bind the two tables means exactly what do you want?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to append one int. table into other &lt;/P&gt;&lt;P&gt;or do you want to get all records into one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g. If you have int.tab i_mara for material&lt;/P&gt;&lt;P&gt;                                 i_makt for material Desc&lt;/P&gt;&lt;P&gt;                                 i_cust for Customer Record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now you want to bind these all int. table into one,&lt;/P&gt;&lt;P&gt;then take another int. table i_final with filelds from all above three int. tables and now move wa_mara to corresponding fields of  wa_final &lt;/P&gt;&lt;P&gt;and so on for remaining and append your final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will solve your doubt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do reward,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhura N.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 13:37:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-over-internal-table/m-p/3287311#M786449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T13:37:22Z</dc:date>
    </item>
  </channel>
</rss>

