<?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: how to code this using FIELD SYMBOL ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-code-this-using-field-symbol/m-p/1566076#M255763</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;  data: var type string.&lt;/P&gt;&lt;P&gt;  field-symbols: &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'GLT0-HSL' p_period into var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN (VAR) to &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2006 19:12:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-28T19:12:17Z</dc:date>
    <item>
      <title>how to code this using FIELD SYMBOL ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-code-this-using-field-symbol/m-p/1566074#M255761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I never used field symbols before and I think this is where I should use field symbols in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a selection parameter period (p_period) and based on the p_period value(XX), I need to display the HSLXX, KSLXX from table GLT0 using field symbols. Can anyboby help me?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandni Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 19:04:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-code-this-using-field-symbol/m-p/1566074#M255761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T19:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to code this using FIELD SYMBOL ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-code-this-using-field-symbol/m-p/1566075#M255762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, you can use field-symbols,  here is a example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0002.

data: xGLT0  type  GLT0 .

data: field_name(20) type c.

field-symbols: &amp;lt;fs&amp;gt; .

parameters: p_per(2) type n.


* Read a line from table
select Single * from glt0 into xglt0.

* Build the field name that you want to access
concatenate 'XGLT0-HSL' p_per into field_name.

* Assign it
assign (field_name) to &amp;lt;fs&amp;gt;.

* Write it
write:/ &amp;lt;fs&amp;gt;.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 19:10:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-code-this-using-field-symbol/m-p/1566075#M255762</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-09-28T19:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to code this using FIELD SYMBOL ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-code-this-using-field-symbol/m-p/1566076#M255763</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;  data: var type string.&lt;/P&gt;&lt;P&gt;  field-symbols: &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE 'GLT0-HSL' p_period into var.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN (VAR) to &amp;lt;FS&amp;gt;.&lt;/P&gt;&lt;P&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;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2006 19:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-code-this-using-field-symbol/m-p/1566076#M255763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-28T19:12:17Z</dc:date>
    </item>
  </channel>
</rss>

