<?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: ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250365#M486351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Narasimhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since internal tables have fixed line structures, they are not suited to handle data sets with varying structures. Instead, you can use extract datasets for this purpose. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An extract is a sequential dataset in the memory area of the program. You can only address the entries in the dataset within a special loop. The index or key access permitted with internal tables is not allowed. You may only create one extract in any ABAP program. The size of an extract dataset is, in principle, unlimited. Extracts larger than 500KB are stored in operating system files. The practical size of an extract is up to 2GB, as long as there is enough space in the filesystem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An extract dataset consists of a sequence of records of a pre-defined structure. However, the structure need not be identical for all records. In one extract dataset, you can store records of different length and structure one after the other. You need not create an individual dataset for each different structure you want to store. This fact reduces the maintenance effort considerably.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In contrast to internal tables, the system partly compresses extract datasets when storing them. This reduces the storage space required. In addition, you need not specify the structure of an extract dataset at the beginning of the program, but you can determine it dynamically during the flow of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use control level processing with extracts just as you can with internal tables. The internal administration for extract datasets is optimized so that it is quicker to use an extract for control level processing than an internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure for creating an extract:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the record types that you want to use in your extract by declaring them as field groups. The structure is defined by including fields in each field group. &lt;/P&gt;&lt;P&gt;Defining an Extract&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill the extract line by line by extracting the required data. &lt;/P&gt;&lt;P&gt;Filling an Extract with Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have filled the extract, you can sort it and process it in a loop. At this stage, you can no longer change the contents of the extract. &lt;/P&gt;&lt;P&gt;Processing Extracts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Reward points if helpful.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amber S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2007 05:25:03 GMT</pubDate>
    <dc:creator>former_member198270</dc:creator>
    <dc:date>2007-05-15T05:25:03Z</dc:date>
    <item>
      <title>ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250361#M486347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What does an extract statement do in abap program ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:15:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250361#M486347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250362#M486348</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;EXTRACT is used with datasets to get the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:17:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250362#M486348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250363#M486349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lakshmanan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since internal tables have fixed line structures, they are not suited to handle data sets with varying structures. Instead, you can use extract datasets for this purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through the following link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ed135c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9ed135c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward all helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:17:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250363#M486349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250364#M486350</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;&lt;/P&gt;&lt;P&gt;Extracts are dynamic sequential datasets in which different lines can have different structures. Each ABAP program may currently only have a single extract dataset. You cannot access the individual records in an extract using key or index. Instead, you always process them using a loop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250364#M486350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250365#M486351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Narasimhan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since internal tables have fixed line structures, they are not suited to handle data sets with varying structures. Instead, you can use extract datasets for this purpose. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An extract is a sequential dataset in the memory area of the program. You can only address the entries in the dataset within a special loop. The index or key access permitted with internal tables is not allowed. You may only create one extract in any ABAP program. The size of an extract dataset is, in principle, unlimited. Extracts larger than 500KB are stored in operating system files. The practical size of an extract is up to 2GB, as long as there is enough space in the filesystem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An extract dataset consists of a sequence of records of a pre-defined structure. However, the structure need not be identical for all records. In one extract dataset, you can store records of different length and structure one after the other. You need not create an individual dataset for each different structure you want to store. This fact reduces the maintenance effort considerably.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In contrast to internal tables, the system partly compresses extract datasets when storing them. This reduces the storage space required. In addition, you need not specify the structure of an extract dataset at the beginning of the program, but you can determine it dynamically during the flow of the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use control level processing with extracts just as you can with internal tables. The internal administration for extract datasets is optimized so that it is quicker to use an extract for control level processing than an internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Procedure for creating an extract:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define the record types that you want to use in your extract by declaring them as field groups. The structure is defined by including fields in each field group. &lt;/P&gt;&lt;P&gt;Defining an Extract&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fill the extract line by line by extracting the required data. &lt;/P&gt;&lt;P&gt;Filling an Extract with Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you have filled the extract, you can sort it and process it in a loop. At this stage, you can no longer change the contents of the extract. &lt;/P&gt;&lt;P&gt;Processing Extracts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;Reward points if helpful.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amber S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250365#M486351</guid>
      <dc:creator>former_member198270</dc:creator>
      <dc:date>2007-05-15T05:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250366#M486352</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;extract statement is used to extract data from datasets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 05:56:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250366#M486352</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T05:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250367#M486353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai lakshmanan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRACT statement writes all fields of the field group fg as one record to a sequential dataset.If a field group HEADER has been defined, its fields prefix each record to form a sort key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 06:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250367#M486353</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T06:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250368#M486354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lakshmanan,&lt;/P&gt;&lt;P&gt;                          Extract is used for extracting data from data base using data set.&lt;/P&gt;&lt;P&gt;An extract is a sequential dataset in the memory area of the program. You can only address the entries in the dataset within a special loop. The index or key access permitted with internal tables is not allowed. You may only create one extract in any ABAP program. The size of an extract dataset is, in principle, unlimited. Extracts larger than 500KB are stored in operating system files. The practical size of an extract is up to 2GB, as long as there is enough space in the filesystem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 06:13:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250368#M486354</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T06:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250369#M486355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;answered&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2007 06:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-program/m-p/2250369#M486355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-15T06:23:14Z</dc:date>
    </item>
  </channel>
</rss>

