<?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: Dynamic read from work area in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-read-from-work-area/m-p/1813420#M348551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;field-symbols: &amp;lt;fs&amp;gt;.
data: var(20) type c.
data: tabix(4) type c.


tabix = sy-tabix.
   concatenate 'FLD' tabix into var.
   condense var no-gaps.

assign component var of structure wa to &amp;lt;fs&amp;gt;.
if &amp;lt;fs&amp;gt; = 'X'.

endif.&lt;/CODE&gt;&lt;/PRE&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>Sun, 21 Jan 2007 14:33:07 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-01-21T14:33:07Z</dc:date>
    <item>
      <title>Dynamic read from work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-read-from-work-area/m-p/1813419#M348550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, me again ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a work area declared like this:&lt;/P&gt;&lt;P&gt;data: begin of wa,&lt;/P&gt;&lt;P&gt;          fld1  type c,&lt;/P&gt;&lt;P&gt;          fld2  type c,&lt;/P&gt;&lt;P&gt;          fld3  type c,&lt;/P&gt;&lt;P&gt;        end of wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check a different field's value at each iteration, meaning somthing like this:&lt;/P&gt;&lt;P&gt;concatenate 'fld' sy-tabix into var.&lt;/P&gt;&lt;P&gt;if wa-var eq ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know it's possible by using field-symbols, does anyone can write me the specific syntax pls ?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Rebeka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jan 2007 13:24:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-read-from-work-area/m-p/1813419#M348550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-21T13:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic read from work area</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-read-from-work-area/m-p/1813420#M348551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;field-symbols: &amp;lt;fs&amp;gt;.
data: var(20) type c.
data: tabix(4) type c.


tabix = sy-tabix.
   concatenate 'FLD' tabix into var.
   condense var no-gaps.

assign component var of structure wa to &amp;lt;fs&amp;gt;.
if &amp;lt;fs&amp;gt; = 'X'.

endif.&lt;/CODE&gt;&lt;/PRE&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>Sun, 21 Jan 2007 14:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-read-from-work-area/m-p/1813420#M348551</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-01-21T14:33:07Z</dc:date>
    </item>
  </channel>
</rss>

