<?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: itab to extract in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-to-extract/m-p/2816152#M658620</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You are wrong.&lt;/P&gt;&lt;P&gt;EXTRACT is the key word like SELECT or GET  to fetch the data with respect to Field groups&lt;/P&gt;&lt;P&gt;it is not used to combine the 2 internal tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field groups are used when the data is too high, in which case Internal tables are not used due to memory problems&lt;/P&gt;&lt;P&gt;see this links and example&lt;/P&gt;&lt;P&gt;fieldgroups&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_gr.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_gr.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/SiliconValley/Grid/4858/sap/ABAPCode/Fieldgroups.htm" target="test_blank"&gt;http://www.geocities.com/SiliconValley/Grid/4858/sap/ABAPCode/Fieldgroups.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Report Code&lt;/P&gt;&lt;P&gt;REPORT demo_extract. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES: spfli, sflight. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-GROUPS: header, flight_info, flight_date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  INSERT: spfli-carrid spfli-connid sflight-fldate &lt;/P&gt;&lt;P&gt;            INTO header, &lt;/P&gt;&lt;P&gt;          spfli-cityfrom spfli-cityto &lt;/P&gt;&lt;P&gt;            INTO flight_info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET spfli. &lt;/P&gt;&lt;P&gt;  EXTRACT flight_info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET sflight. &lt;/P&gt;&lt;P&gt;  EXTRACT flight_date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  SORT STABLE. &lt;/P&gt;&lt;P&gt;  LOOP. &lt;/P&gt;&lt;P&gt;    AT FIRST. &lt;/P&gt;&lt;P&gt;      WRITE / 'Flight list'. &lt;/P&gt;&lt;P&gt;      ULINE. &lt;/P&gt;&lt;P&gt;    ENDAT. &lt;/P&gt;&lt;P&gt;    AT flight_info WITH flight_date. &lt;/P&gt;&lt;P&gt;      WRITE: / spfli-carrid , spfli-connid, sflight-fldate, &lt;/P&gt;&lt;P&gt;               spfli-cityfrom, spfli-cityto. &lt;/P&gt;&lt;P&gt;    ENDAT. &lt;/P&gt;&lt;P&gt;    AT flight_date. &lt;/P&gt;&lt;P&gt;      WRITE: / spfli-carrid , spfli-connid, sflight-fldate. &lt;/P&gt;&lt;P&gt;    ENDAT. &lt;/P&gt;&lt;P&gt;    AT LAST. &lt;/P&gt;&lt;P&gt;      ULINE. &lt;/P&gt;&lt;P&gt;      WRITE: cnt(spfli-carrid), 'Airlines'. &lt;/P&gt;&lt;P&gt;      ULINE. &lt;/P&gt;&lt;P&gt;    ENDAT. &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;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2007 19:39:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-05T19:39:41Z</dc:date>
    <item>
      <title>itab to extract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-to-extract/m-p/2816151#M658619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If we have "2" internal tables ,  with the fields of the "2" internal tables --which have equal structure --is it possible to  form an extract?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 12:58:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-to-extract/m-p/2816151#M658619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T12:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: itab to extract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-to-extract/m-p/2816152#M658620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You are wrong.&lt;/P&gt;&lt;P&gt;EXTRACT is the key word like SELECT or GET  to fetch the data with respect to Field groups&lt;/P&gt;&lt;P&gt;it is not used to combine the 2 internal tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field groups are used when the data is too high, in which case Internal tables are not used due to memory problems&lt;/P&gt;&lt;P&gt;see this links and example&lt;/P&gt;&lt;P&gt;fieldgroups&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_gr.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_gr.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.geocities.com/SiliconValley/Grid/4858/sap/ABAPCode/Fieldgroups.htm" target="test_blank"&gt;http://www.geocities.com/SiliconValley/Grid/4858/sap/ABAPCode/Fieldgroups.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample Report Code&lt;/P&gt;&lt;P&gt;REPORT demo_extract. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES: spfli, sflight. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-GROUPS: header, flight_info, flight_date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  INSERT: spfli-carrid spfli-connid sflight-fldate &lt;/P&gt;&lt;P&gt;            INTO header, &lt;/P&gt;&lt;P&gt;          spfli-cityfrom spfli-cityto &lt;/P&gt;&lt;P&gt;            INTO flight_info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET spfli. &lt;/P&gt;&lt;P&gt;  EXTRACT flight_info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET sflight. &lt;/P&gt;&lt;P&gt;  EXTRACT flight_date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  SORT STABLE. &lt;/P&gt;&lt;P&gt;  LOOP. &lt;/P&gt;&lt;P&gt;    AT FIRST. &lt;/P&gt;&lt;P&gt;      WRITE / 'Flight list'. &lt;/P&gt;&lt;P&gt;      ULINE. &lt;/P&gt;&lt;P&gt;    ENDAT. &lt;/P&gt;&lt;P&gt;    AT flight_info WITH flight_date. &lt;/P&gt;&lt;P&gt;      WRITE: / spfli-carrid , spfli-connid, sflight-fldate, &lt;/P&gt;&lt;P&gt;               spfli-cityfrom, spfli-cityto. &lt;/P&gt;&lt;P&gt;    ENDAT. &lt;/P&gt;&lt;P&gt;    AT flight_date. &lt;/P&gt;&lt;P&gt;      WRITE: / spfli-carrid , spfli-connid, sflight-fldate. &lt;/P&gt;&lt;P&gt;    ENDAT. &lt;/P&gt;&lt;P&gt;    AT LAST. &lt;/P&gt;&lt;P&gt;      ULINE. &lt;/P&gt;&lt;P&gt;      WRITE: cnt(spfli-carrid), 'Airlines'. &lt;/P&gt;&lt;P&gt;      ULINE. &lt;/P&gt;&lt;P&gt;    ENDAT. &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;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 19:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-to-extract/m-p/2816152#M658620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T19:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: itab to extract</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/itab-to-extract/m-p/2816153#M658621</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;In case if u want to combine both the internal tables , itab1 &amp;amp; itab2, you can append itab2 to itab1 or the vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to combine both the tables into a new table ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab3[] = itab1[].&lt;/P&gt;&lt;P&gt;APPEND LINES OF i_tab2 TO i_itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Oct 2007 04:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/itab-to-extract/m-p/2816153#M658621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-10T04:44:43Z</dc:date>
    </item>
  </channel>
</rss>

