<?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: Field Group in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258315#M778311</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;Field groups are groups similar fields together into one name. Field group works in conjuction with     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT f1 f2 INTO fg &lt;/P&gt;&lt;P&gt;EXTRACT fg &lt;/P&gt;&lt;P&gt;SORT BY fg &lt;/P&gt;&lt;P&gt;LOOP ... ENDLOOP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT f1 f2 INTO fg &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The insert statement is used to create a field group dynamically by inserting the field into it. Only global data fields can be inserted and not local data fields eg : in form modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRACT fg &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will combine all the fields in the fieldgroup and write them to a sequential dataset as a single record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT BY fg &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorting of sequential dataset by field group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AND ENDLOOP &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP. &lt;/P&gt;&lt;P&gt;  AT *** &lt;/P&gt;&lt;P&gt;...... &lt;/P&gt;&lt;P&gt;.... &lt;/P&gt;&lt;P&gt;ENDAT. &lt;/P&gt;&lt;P&gt;  AT *** &lt;/P&gt;&lt;P&gt;..... &lt;/P&gt;&lt;P&gt;.... &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;&lt;STRONG&gt;Reward points if found helpfull...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;siva.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2008 06:53:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-16T06:53:28Z</dc:date>
    <item>
      <title>Field Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258311#M778307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any body explain me what is field group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advns,&lt;/P&gt;&lt;P&gt;Rachita.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 04:13:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258311#M778307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T04:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Field Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258312#M778308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Field group:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;It combines the related fields together into meaningful unit.&lt;/P&gt;&lt;P&gt;It provides the pre-selection so that we do not have to search through all fields of data source.&lt;/P&gt;&lt;P&gt;End user only has access to those fields assigned to field group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Field symbols :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Field symbols are placeholders for other fields.&lt;/P&gt;&lt;P&gt;Field symbols use the memory to directly access the data from the internal table.&lt;/P&gt;&lt;P&gt;We do not pass the data to the header and from where we read the data which takes more time.&lt;/P&gt;&lt;P&gt;As a result Field Symbol is similar to a Pointer in C-Language. We can directly get the data from the memory which is very convenient.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A field symbol can point to any data object.&lt;/P&gt;&lt;P&gt;Does not occupy memory for the data objects.&lt;/P&gt;&lt;P&gt;Field should be assigned to field symbol before it is addressed in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 04:15:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258312#M778308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T04:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Field Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258313#M778309</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;Field Groups / Extracts&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/9f/db9ede35c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/9f/db9ede35c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Symbols&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb387a358411d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/fc/eb387a358411d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points for helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 04:15:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258313#M778309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T04:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Field Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258314#M778310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rachita&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this code will help you.&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 04:21:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258314#M778310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T04:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Field Group</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258315#M778311</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;Field groups are groups similar fields together into one name. Field group works in conjuction with     &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT f1 f2 INTO fg &lt;/P&gt;&lt;P&gt;EXTRACT fg &lt;/P&gt;&lt;P&gt;SORT BY fg &lt;/P&gt;&lt;P&gt;LOOP ... ENDLOOP &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT f1 f2 INTO fg &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The insert statement is used to create a field group dynamically by inserting the field into it. Only global data fields can be inserted and not local data fields eg : in form modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXTRACT fg &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will combine all the fields in the fieldgroup and write them to a sequential dataset as a single record. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT BY fg &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorting of sequential dataset by field group. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AND ENDLOOP &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP. &lt;/P&gt;&lt;P&gt;  AT *** &lt;/P&gt;&lt;P&gt;...... &lt;/P&gt;&lt;P&gt;.... &lt;/P&gt;&lt;P&gt;ENDAT. &lt;/P&gt;&lt;P&gt;  AT *** &lt;/P&gt;&lt;P&gt;..... &lt;/P&gt;&lt;P&gt;.... &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;&lt;STRONG&gt;Reward points if found helpfull...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;siva.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2008 06:53:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-group/m-p/3258315#M778311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-16T06:53:28Z</dc:date>
    </item>
  </channel>
</rss>

