<?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 field groups in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031600#M83964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need sample documentation and simple examples on field groups&lt;/P&gt;&lt;P&gt;like moving data from one field group to another field group,moving data from one field group to inernal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Dec 2005 08:56:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-07T08:56:35Z</dc:date>
    <item>
      <title>field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031600#M83964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i need sample documentation and simple examples on field groups&lt;/P&gt;&lt;P&gt;like moving data from one field group to another field group,moving data from one field group to inernal table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2005 08:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031600#M83964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-07T08:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031601#M83965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look sample-program with se38: DEMO_DATA_PROCESS_EXTRACT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2005 09:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031601#M83965</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-12-07T09:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031602#M83966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Check the below link..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REgards,&lt;/P&gt;&lt;P&gt;Abdul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2005 09:00:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031602#M83966</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2005-12-07T09:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031603#M83967</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;here is sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_extract_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;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;START-OF-SELECTION.&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;There are three field groups. The INSERT statement assigns fields to two of the field groups. During the GET events, the system fills the extract dataset with two different record types. The records of the field group FLIGHT_INFO consist of five fields: SPFLI-CARRID, SPFLI-CONNID, SFLIGHT-FLDATE, SPFLI-CITYFROM, and SPFLI-CITYTO. The first three fields belong to the prefixed field group HEADER. The records of the field group FLIGHT_DATE consist only of the three fields of field group HEADER. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regs&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2005 09:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031603#M83967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-07T09:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031604#M83968</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;for ABAP book refer to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cma.zdnet.com/book/abap/index.htm" target="test_blank"&gt;http://cma.zdnet.com/book/abap/index.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;========================================================&lt;/P&gt;&lt;P&gt;Extracts&lt;/P&gt;&lt;P&gt;Since internal tables have fixed line structures, they are not suited to handle data sets with&lt;/P&gt;&lt;P&gt;varying structures. Instead, you can use extract datasets for this purpose.&lt;/P&gt;&lt;P&gt;An extract is a sequential dataset in the memory area of the program. You can only address the&lt;/P&gt;&lt;P&gt;entries in the dataset within a special loop. The index or key access permitted with internal&lt;/P&gt;&lt;P&gt;tables is not allowed. You may only create one extract in any ABAP program. The size of an&lt;/P&gt;&lt;P&gt;extract dataset is, in principle, unlimited. Extracts larger than 500KB are stored in operating&lt;/P&gt;&lt;P&gt;system files. The practical size of an extract is up to 2GB, as long as there is enough space in&lt;/P&gt;&lt;P&gt;the filesystem.&lt;/P&gt;&lt;P&gt;An extract dataset consists of a sequence of records of a pre-defined structure. However, the&lt;/P&gt;&lt;P&gt;structure need not be identical for all records. In one extract dataset, you can store records of&lt;/P&gt;&lt;P&gt;different length and structure one after the other. You need not create an individual dataset for&lt;/P&gt;&lt;P&gt;each different structure you want to store. This fact reduces the maintenance effort considerably.&lt;/P&gt;&lt;P&gt;In contrast to internal tables, the system partly compresses extract datasets when storing them.&lt;/P&gt;&lt;P&gt;This reduces the storage space required. In addition, you need not specify the structure of an&lt;/P&gt;&lt;P&gt;extract dataset at the beginning of the program, but you can determine it dynamically during the&lt;/P&gt;&lt;P&gt;flow of the program.&lt;/P&gt;&lt;P&gt;You can use control level processing with extracts just as you can with internal tables. The&lt;/P&gt;&lt;P&gt;internal administration for extract datasets is optimized so that it is quicker to use an extract for&lt;/P&gt;&lt;P&gt;control level processing than an internal table.&lt;/P&gt;&lt;P&gt;Procedure for creating an extract:&lt;/P&gt;&lt;P&gt;1. Define the record types that you want to use in your extract by declaring them as field&lt;/P&gt;&lt;P&gt;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;2. 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;3. Once you have filled the extract, you can sort it and process it in a loop. At this stage,&lt;/P&gt;&lt;P&gt;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;==============&lt;/P&gt;&lt;P&gt;1)Defining an extract&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NODES: SPFLI, SFLIGHT.&lt;/P&gt;&lt;P&gt;FIELD-GROUPS: HEADER, FLIGHT_INFO, FLIGHT_DATE.&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;The program is linked to the logical database F1S. The NODES&lt;/P&gt;&lt;P&gt;statement declares the corresponding interface work areas&lt;/P&gt;&lt;P&gt;There are three field groups. The INSERT statement assigns fields to two of the field&lt;/P&gt;&lt;P&gt;groups.&lt;/P&gt;&lt;P&gt;2)Filling an Extract with Data&lt;/P&gt;&lt;P&gt;Assume the following program is linked to the logical database F1S.&lt;/P&gt;&lt;P&gt;REPORT DEMO.&lt;/P&gt;&lt;P&gt;NODES: SPFLI, SFLIGHT.&lt;/P&gt;&lt;P&gt;FIELD-GROUPS: HEADER, FLIGHT_INFO, FLIGHT_DATE.&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;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;GET SPFLI.&lt;/P&gt;&lt;P&gt;EXTRACT FLIGHT_INFO.&lt;/P&gt;&lt;P&gt;GET SFLIGHT.&lt;/P&gt;&lt;P&gt;EXTRACT FLIGHT_DATE.&lt;/P&gt;&lt;P&gt;There are three field groups. The INSERT statement assigns fields to two of the field&lt;/P&gt;&lt;P&gt;groups. During the GET events, the system fills the extract dataset with&lt;/P&gt;&lt;P&gt;two different record types.&lt;/P&gt;&lt;P&gt;3)processing extract&lt;/P&gt;&lt;P&gt;Assume the following program is linked to the logical database F1S.&lt;/P&gt;&lt;P&gt;REPORT DEMO.&lt;/P&gt;&lt;P&gt;NODES: SPFLI, SFLIGHT.&lt;/P&gt;&lt;P&gt;FIELD-GROUPS: HEADER, FLIGHT_INFO, FLIGHT_DATE.&lt;/P&gt;&lt;P&gt;BC - ABAP Programming SAP AG&lt;/P&gt;&lt;P&gt;Reading an Extract&lt;/P&gt;&lt;P&gt;October2004 258&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;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;GET SPFLI.&lt;/P&gt;&lt;P&gt;EXTRACT FLIGHT_INFO.&lt;/P&gt;&lt;P&gt;GET SFLIGHT.&lt;/P&gt;&lt;P&gt;EXTRACT FLIGHT_DATE.&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;LOOP.&lt;/P&gt;&lt;P&gt;AT FIRST.&lt;/P&gt;&lt;P&gt;WRITE / 'Start of LOOP'.&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: / 'Info:',&lt;/P&gt;&lt;P&gt;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: / 'Date:',&lt;/P&gt;&lt;P&gt;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 / 'End of LOOP'.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;The extract dataset is created and filled in the same way as shown in the example&lt;/P&gt;&lt;P&gt;for Filling an Extract with Data . The data retrieval ends before the ENDOF-&lt;/P&gt;&lt;P&gt;SELECTION event, in which the dataset is read once using a loop.&lt;/P&gt;&lt;P&gt;The control statements AT FIRST and AT LAST instruct the system to write one line&lt;/P&gt;&lt;P&gt;and one underscore line in the list, once at the beginning of the loop and once at the&lt;/P&gt;&lt;P&gt;end.&lt;/P&gt;&lt;P&gt;The control statement AT &amp;lt;fgi&amp;gt; tells the system to output the fields corresponding to&lt;/P&gt;&lt;P&gt;each of the two record types. The WITH FLIGHT_DATE option means that the&lt;/P&gt;&lt;P&gt;system only displays the records of field group FLIGHT_INFO if at least one record&lt;/P&gt;&lt;P&gt;of field group FLIGHT_DATE follows; that is, if the logical database passed at least&lt;/P&gt;&lt;P&gt;one date for a flight.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2005 09:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031604#M83968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-07T09:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: field groups</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031605#M83969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to use the select statment to populate the field group how should i do that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2005 09:20:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-groups/m-p/1031605#M83969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-07T09:20:16Z</dc:date>
    </item>
  </channel>
</rss>

