<?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 symbol in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118920#M984656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing you should have in mind is Filed-Symbols are pointers and do not have any data storage capacity. So technically speaking Filed-Symbols can point to a data. For this the "assign" keywors is necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So from the above update what Santosh has mentioned is partly correct.&lt;/P&gt;&lt;P&gt;I'll try and explain with an example.&lt;/P&gt;&lt;P&gt;=======&lt;/P&gt;&lt;P&gt;Assuming itab is populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenatio 1:&lt;/P&gt;&lt;P&gt;=========&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs&amp;gt; , &amp;lt;fs1&amp;gt; LIKE line of itab.&lt;/P&gt;&lt;P&gt;LOOP at itab assigning &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  Move &amp;lt;fs&amp;gt; to &amp;lt;fs1&amp;gt;.     "---&amp;gt; This is incorrect. This will cause a dump because you are trying to &lt;/P&gt;&lt;P&gt;                                           store the data in &amp;lt;fs&amp;gt; into &amp;lt;fs1&amp;gt; and &amp;lt;fs1&amp;gt; is a pointer.&lt;/P&gt;&lt;P&gt;  &amp;lt;fs1&amp;gt; = &amp;lt;fs&amp;gt;.              "---&amp;gt; This is also incorrect for the same reason.&lt;/P&gt;&lt;P&gt;   Assign &amp;lt;fs&amp;gt; to &amp;lt;fs1&amp;gt;  "---&amp;gt; this is correct as you want &amp;lt;fs1&amp;gt; to point where &amp;lt;fs&amp;gt; is pointing too.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario 2:&lt;/P&gt;&lt;P&gt;=========&lt;/P&gt;&lt;P&gt;DATA : wa like line of itab.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs&amp;gt; , &amp;lt;fs1&amp;gt; LIKE line of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign wa to &amp;lt;fs1&amp;gt;         "---&amp;gt; Now this statement points &amp;lt;fs1&amp;gt; to wa which is capable of storing &lt;/P&gt;&lt;P&gt;                                             data. In this case the below statement will work.&lt;/P&gt;&lt;P&gt;LOOP at itab assigning &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  Move &amp;lt;fs&amp;gt; to &amp;lt;fs1&amp;gt;.   &lt;/P&gt;&lt;P&gt;  &amp;lt;fs1&amp;gt; = &amp;lt;fs&amp;gt;.           &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;I hope this explains your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2008 07:13:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-26T07:13:57Z</dc:date>
    <item>
      <title>field symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118917#M984653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to aapend the records from one field symbole to another field symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;t_tab&amp;gt; to &amp;lt;FS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All relevent answers awarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 14:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118917#M984653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T14:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: field symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118918#M984654</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;do this way  ..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
assign (itab) to &amp;lt;t_tab&amp;gt;.
if sy-subrc = 0.
  move &amp;lt;t_tab&amp;gt; to &amp;lt;FS&amp;gt;.
endif. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 14:49:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118918#M984654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T14:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: field symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118919#M984655</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;if you want to append one table type field symbol to one other table type field symbol then the following example should work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FIELD-SYMBOLS &amp;lt;LT_TAB1&amp;gt; TYPE TABLE OF MARA.
FIELD-SYMBOLS &amp;lt;LT_TAB2&amp;gt; TYPE TABLE OF MARA.
[...]
APPEND LINES OF &amp;lt;LT_TAB2&amp;gt; TO &amp;lt;LT_TAB1&amp;gt;.
[...]
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More information can be found her: [Filling Internal Tables|http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb36e2358411d1829f0000e829fbfe/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Rudi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 15:23:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118919#M984655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T15:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: field symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118920#M984656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing you should have in mind is Filed-Symbols are pointers and do not have any data storage capacity. So technically speaking Filed-Symbols can point to a data. For this the "assign" keywors is necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So from the above update what Santosh has mentioned is partly correct.&lt;/P&gt;&lt;P&gt;I'll try and explain with an example.&lt;/P&gt;&lt;P&gt;=======&lt;/P&gt;&lt;P&gt;Assuming itab is populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenatio 1:&lt;/P&gt;&lt;P&gt;=========&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs&amp;gt; , &amp;lt;fs1&amp;gt; LIKE line of itab.&lt;/P&gt;&lt;P&gt;LOOP at itab assigning &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  Move &amp;lt;fs&amp;gt; to &amp;lt;fs1&amp;gt;.     "---&amp;gt; This is incorrect. This will cause a dump because you are trying to &lt;/P&gt;&lt;P&gt;                                           store the data in &amp;lt;fs&amp;gt; into &amp;lt;fs1&amp;gt; and &amp;lt;fs1&amp;gt; is a pointer.&lt;/P&gt;&lt;P&gt;  &amp;lt;fs1&amp;gt; = &amp;lt;fs&amp;gt;.              "---&amp;gt; This is also incorrect for the same reason.&lt;/P&gt;&lt;P&gt;   Assign &amp;lt;fs&amp;gt; to &amp;lt;fs1&amp;gt;  "---&amp;gt; this is correct as you want &amp;lt;fs1&amp;gt; to point where &amp;lt;fs&amp;gt; is pointing too.&lt;/P&gt;&lt;P&gt;ENDLOOP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scenario 2:&lt;/P&gt;&lt;P&gt;=========&lt;/P&gt;&lt;P&gt;DATA : wa like line of itab.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS : &amp;lt;fs&amp;gt; , &amp;lt;fs1&amp;gt; LIKE line of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assign wa to &amp;lt;fs1&amp;gt;         "---&amp;gt; Now this statement points &amp;lt;fs1&amp;gt; to wa which is capable of storing &lt;/P&gt;&lt;P&gt;                                             data. In this case the below statement will work.&lt;/P&gt;&lt;P&gt;LOOP at itab assigning &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;  Move &amp;lt;fs&amp;gt; to &amp;lt;fs1&amp;gt;.   &lt;/P&gt;&lt;P&gt;  &amp;lt;fs1&amp;gt; = &amp;lt;fs&amp;gt;.           &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;I hope this explains your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 07:13:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol/m-p/4118920#M984656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T07:13:57Z</dc:date>
    </item>
  </channel>
</rss>

