<?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: Difference between Static and Dynamic Field Symbol in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981886#M1160819</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Take that field l_zzbol as one of fields in that fileld symbol.&lt;/P&gt;&lt;P&gt;than move that fileld (l_zzbol) tho that filed symbol &amp;lt;fs_zzbol&amp;gt;-zzbol. (filed what you taken )&lt;/P&gt;&lt;P&gt;and modify that table with that field symbol with transporting that fileld.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Jan 2009 13:08:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-01T13:08:14Z</dc:date>
    <item>
      <title>Difference between Static and Dynamic Field Symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981885#M1160818</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;Can you please suggest the syntax for assigning field symbols for the below requirement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols:   &amp;lt;fs_zzbol&amp;gt; type any.&lt;/P&gt;&lt;P&gt;data :         l_zzbol(30).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-tcode eq 'ME21N'.&lt;/P&gt;&lt;P&gt;    l_zzbol = '(SAPLMEPO)EKKO-ZZBOL'.&lt;/P&gt;&lt;P&gt;elseif sy-tcode eq 'ME21'.&lt;/P&gt;&lt;P&gt;    l_zzbol = '(SAPMM06E)EKKO-ZZBOL'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my doubt is : how to assign l_zzbol to &amp;lt;fs_zzbol&amp;gt;?&lt;/P&gt;&lt;P&gt;Like 1. assign l_zzbol      to &amp;lt;fs_zzbol&amp;gt;.&lt;/P&gt;&lt;P&gt;    or 2. assign (l_zzbol)   to &amp;lt;fs_zzbol&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be helpful if you suggest me the reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanjeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 12:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981885#M1160818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-01T12:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Static and Dynamic Field Symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981886#M1160819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Take that field l_zzbol as one of fields in that fileld symbol.&lt;/P&gt;&lt;P&gt;than move that fileld (l_zzbol) tho that filed symbol &amp;lt;fs_zzbol&amp;gt;-zzbol. (filed what you taken )&lt;/P&gt;&lt;P&gt;and modify that table with that field symbol with transporting that fileld.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 13:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981886#M1160819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-01T13:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Static and Dynamic Field Symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981887#M1160820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no field attached to the &amp;lt;fs_zzbol&amp;gt;.&lt;/P&gt;&lt;P&gt;This has been just defined as : &lt;/P&gt;&lt;P&gt;field symbols :&amp;lt;fs_zzbol&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I can not modify using transporting key word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is basically the concept  of  Static and Dynamic Field Symbol that I am not able to diffrerentiate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanjeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 13:20:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981887#M1160820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-01T13:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Static and Dynamic Field Symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981888#M1160821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeet... try this way..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;field-symbols: &amp;lt;fs_zzbol&amp;gt; type any.

if sy-tcode eq 'ME21N'.
assign '(SAPLMEPO)EKKO-ZZBOL' to &amp;lt;fs_zzbol&amp;gt;.
elseif sy-tcode eq 'ME21'.
Assign '(SAPMM06E)EKKO-ZZBOL' to &amp;lt;fs_zzbol&amp;gt;.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 16:33:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981888#M1160821</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-01-01T16:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Static and Dynamic Field Symbol</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981889#M1160822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeet,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically when you assing field to field symbol you write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;assign field_name to &amp;lt;field_symbol&amp;gt;. &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you don't know at runtime what &lt;STRONG&gt;field&lt;/STRONG&gt; you want to take the value from, (definitelly it is not  &lt;STRONG&gt;field_name&lt;/STRONG&gt; but name of the field which is in the &lt;STRONG&gt;field_name&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;i.e. &lt;STRONG&gt;(SAPLMEPO)EKKO-ZZBOL&lt;/STRONG&gt; ). Therefore you can write this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
assing ('(SAPLMEPO)EKKO-ZZBOL') to &amp;lt;field_symbol&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...which in turn can be replaced with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
l_zzbol = '(SAPLMEPO)EKKO-ZZBOL'.
assign (l_zzbol) to &amp;lt;fs_zzbol&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Golden rule&lt;/STRONG&gt;:always ask yourself if you know which field you are addressing. If you can't statically evaluate it ( &lt;STRONG&gt;field_name&lt;/STRONG&gt;  is not of interest here but what is in it), you must put it in brackets (meaning system will get its name during runtime from &lt;STRONG&gt;field_name&lt;/STRONG&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will clarify how to use field symbol.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jan 2009 21:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-static-and-dynamic-field-symbol/m-p/4981889#M1160822</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-01-01T21:09:06Z</dc:date>
    </item>
  </channel>
</rss>

