<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699673#M625149</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 SYMBOL-.&lt;/P&gt;&lt;P&gt;Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field symbols are similar to dereferenced pointers in C (that is, pointers to which the content operator * is applied). However, the only real equivalent of pointers in ABAP, that is, variables that contain a memory address (reference) and that can be used without the contents operator, are reference variables in ABAP Objects. (For more information, see Data References).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD GROUP-&amp;gt;&lt;/P&gt;&lt;P&gt;You can assign fields of different tables to one field group. In this way, you can treat fields of linked additional tables, additional structures and additional fields in the same way as true logical database fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To assign a field to a field group, proceed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the field you want to select in the data source.&lt;/P&gt;&lt;P&gt;Use drag&amp;amp;drop to move the field into the field group of your choice.&lt;/P&gt;&lt;P&gt;or;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the field and on the field group of your choice.&lt;/P&gt;&lt;P&gt;Choose the function Add fields to field groups or the relevant function from the context menu.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb43f3455611d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb43f3455611d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2007 06:49:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-21T06:49:11Z</dc:date>
    <item>
      <title>field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699671#M625147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anybody explain indetail what are meant by field symbols &amp;amp; field  groups&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 06:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699671#M625147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T06:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699672#M625148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FIELD-GROUPS fg&lt;/P&gt;&lt;P&gt;  Field groups are used to group similar fields together into one name. Filed groups can be used in conjunction 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;  The INSERT statement is used to create a field group dynamically by&lt;/P&gt;&lt;P&gt;inserting the fields into it.Only global data fields can be inserted and not&lt;/P&gt;&lt;P&gt;local data fields e.g. in FORM modules.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;EXTRACT fg&lt;/P&gt;&lt;P&gt;  This statement 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;e.g. DATA: customer(14) TYPE C,&lt;/P&gt;&lt;P&gt;                  order(20)       TYPE C,&lt;/P&gt;&lt;P&gt;                  quantity(5)     TYPE N,&lt;/P&gt;&lt;P&gt;                  material(20)   TYPE C.    &lt;/P&gt;&lt;P&gt;FIELD-GROUPS: order , mat .&lt;/P&gt;&lt;P&gt;INSERT customer order    INTO order.  * insering two fields in the field  &lt;/P&gt;&lt;P&gt;                                                              *group order&lt;/P&gt;&lt;P&gt;INSERT quantity material INTO mat .&lt;/P&gt;&lt;P&gt;customer = 'niraj visnoi'&lt;/P&gt;&lt;P&gt;order       = '100001'&lt;/P&gt;&lt;P&gt;EXTRACT order.                                     *writing the contents of field group&lt;/P&gt;&lt;P&gt;                                                               *order to dataset     &lt;/P&gt;&lt;P&gt;material = '1004.'&lt;/P&gt;&lt;P&gt;quantity  = 500.&lt;/P&gt;&lt;P&gt;EXTRACT mat.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;customer = 'rahul'&lt;/P&gt;&lt;P&gt;order       = '100002'&lt;/P&gt;&lt;P&gt;EXTRACT order.&lt;/P&gt;&lt;P&gt;material = '1006.'&lt;/P&gt;&lt;P&gt;quantity  = 200.&lt;/P&gt;&lt;P&gt;EXTRACT mat.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SORT BY order.          * sorting of sequential dataset by field group order&lt;/P&gt;&lt;P&gt;LOOP .&lt;/P&gt;&lt;P&gt;   AT order .&lt;/P&gt;&lt;P&gt;   WRITE: customer, order.&lt;/P&gt;&lt;P&gt;   ENDAT.&lt;/P&gt;&lt;P&gt;   AT mat.&lt;/P&gt;&lt;P&gt;   WRITE: material,quantity.&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOL &amp;lt;fs&amp;gt;&lt;/P&gt;&lt;P&gt; The field symbols work similarly to pointers in C. They are used in conjunction with statement &lt;/P&gt;&lt;P&gt;ASSIGN f TO &amp;lt;fs&amp;gt; .&lt;/P&gt;&lt;P&gt; At runtime we can assign a field or structure to the field symbol , any changes or work can be done on the field symbol affecting directly the assigned field. The syntax of field symbol declaration is:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; FIELD-SYMBOL &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt; Declares a field symbol &amp;lt;fs&amp;gt; which can be assigned any single field.&lt;/P&gt;&lt;P&gt; FIELD-SYMBOL &amp;lt;fs&amp;gt; TYPE /LIKE type.&lt;/P&gt;&lt;P&gt; Declares a field symbol &amp;lt;fs&amp;gt; which can be assigned any single field  &lt;/P&gt;&lt;P&gt; which is of particular type. &lt;/P&gt;&lt;P&gt; FIELD-SYMBOL &amp;lt;fs&amp;gt; STRUCTURE s DEFAULT wa. &lt;/P&gt;&lt;P&gt; Declares a field symbol &amp;lt;fs&amp;gt; which will point to a structure(table) and the  &lt;/P&gt;&lt;P&gt; default work area will be wa.&lt;/P&gt;&lt;P&gt; FIELD-SYMBOL &amp;lt;fs&amp;gt; TYPE LINE OF  /LIKE LINE OF type.&lt;/P&gt;&lt;P&gt;  Declares a field symbol &amp;lt;fs&amp;gt; which will have line type .&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;e.g. FIELD-SYMBOLS &amp;lt;fs&amp;gt;&lt;/P&gt;&lt;P&gt;       TABLES kna1.               * Customer master&lt;/P&gt;&lt;P&gt;        SELECT .....&lt;/P&gt;&lt;P&gt;         ...&lt;/P&gt;&lt;P&gt;        ASSIGN kna1-kunnr TO &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;        WRITE &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ASSIGN f TO &amp;lt;fs&amp;gt;&lt;/P&gt;&lt;P&gt;  This will assign the field f to field symbol &amp;lt;fs&amp;gt;,now we can work with the field symbol instead of the field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 06:47:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699672#M625148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T06:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699673#M625149</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 SYMBOL-.&lt;/P&gt;&lt;P&gt;Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field symbols are similar to dereferenced pointers in C (that is, pointers to which the content operator * is applied). However, the only real equivalent of pointers in ABAP, that is, variables that contain a memory address (reference) and that can be used without the contents operator, are reference variables in ABAP Objects. (For more information, see Data References).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD GROUP-&amp;gt;&lt;/P&gt;&lt;P&gt;You can assign fields of different tables to one field group. In this way, you can treat fields of linked additional tables, additional structures and additional fields in the same way as true logical database fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To assign a field to a field group, proceed as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the field you want to select in the data source.&lt;/P&gt;&lt;P&gt;Use drag&amp;amp;drop to move the field into the field group of your choice.&lt;/P&gt;&lt;P&gt;or;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the field and on the field group of your choice.&lt;/P&gt;&lt;P&gt;Choose the function Add fields to field groups or the relevant function from the context menu.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb43f3455611d189710000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb43f3455611d189710000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 06:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699673#M625149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T06:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699674#M625150</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 Symbols:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field Symbols Examples:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/chap2401.txt" target="test_blank"&gt;http://www.sapgenie.com/abap/code/chap2401.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/chap2402.txt" target="test_blank"&gt;http://www.sapgenie.com/abap/code/chap2402.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapgenie.com/abap/code/chap2403.txt" target="test_blank"&gt;http://www.sapgenie.com/abap/code/chap2403.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field groups:&lt;/P&gt;&lt;P&gt;Field groups are used to group similar fields together into one name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &amp;amp; Sample Code Using Field-Groups :&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;this link will show about the FIELD-GROUPS,EXTRACT,FIELD-SYMBOL and ASSIGN statments.&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap.niraj.tripod.com/id26.html" target="test_blank"&gt;http://sap.niraj.tripod.com/id26.html&lt;/A&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;***do rewards if usefull&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2007 06:49:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field/m-p/2699674#M625150</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-21T06:49:38Z</dc:date>
    </item>
  </channel>
</rss>

