<?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 Syntax Error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641845#M285841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.  I changed the declaration as suggested, however I still obtain that syntax error in the extended program check.  Any further suggestions?  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Oct 2006 14:50:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-25T14:50:48Z</dc:date>
    <item>
      <title>Field Symbol Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641842#M285838</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;&lt;/P&gt;&lt;P&gt;I am recieving a syntax error when performing an extended program check.  Basically the field symbol contains two structures which will be passed to a type table gt_list.  The Assign statement has been defined incorrectly but the correct information is being passed to the field symbol and gt_list.  Below is the code that is in the program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_output,&lt;/P&gt;&lt;P&gt;     nodes TYPE LINE OF /sapapo/om_io_pp_tab,&lt;/P&gt;&lt;P&gt;     schedlines_all TYPE LINE OF /sapapo/vsr_g_funit_tab,&lt;/P&gt;&lt;P&gt;       END OF t_output.&lt;/P&gt;&lt;P&gt;DATA:  wa_ionodes TYPE /sapapo/om_io_pp.&lt;/P&gt;&lt;P&gt;DATA: gt_list TYPE TABLE OF t_output.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs_output&amp;gt;  TYPE t_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT s_ionodes INTO wa_ionodes WHERE pegid = pegid.&lt;/P&gt;&lt;P&gt;ASSIGN wa_ionodes TO &amp;lt;fs_output&amp;gt;-nodes.  &amp;lt;---Syntax Error&lt;/P&gt;&lt;P&gt;APPEND &amp;lt;fs_output&amp;gt; TO gt_list.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to correct this sytax error?  Thanks for your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 14:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641842#M285838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T14:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Field Symbol Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641843#M285839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try changing your NODES declaration in t_output to this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nodes TYPE /sapapo/om_io_pp,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 14:45:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641843#M285839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T14:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Field Symbol Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641844#M285840</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;TYPES: BEGIN OF t_output,&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;nodes TYPE LINE OF /sapapo/om_io_pp_tab,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;schedlines_all TYPE LINE OF /sapapo/vsr_g_funit_tab,&lt;/P&gt;&lt;P&gt;END OF t_output.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;DATA: wa_ionodes TYPE /sapapo/om_io_pp.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;DATA: gt_list TYPE TABLE OF t_output.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs_output&amp;gt; TYPE t_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT s_ionodes INTO wa_ionodes WHERE pegid = pegid.&lt;/P&gt;&lt;P&gt;ASSIGN wa_ionodes TO &amp;lt;fs_output&amp;gt;-nodes. &amp;lt;---Syntax Error&lt;/P&gt;&lt;P&gt;APPEND &amp;lt;fs_output&amp;gt; TO gt_list.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_output-nodes and wa_ionodes seem to be defined in different ways, try to use the same definition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nodes TYPE /sapapo/om_io_pp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_ionodes TYPE LINE OF /sapapo/om_io_pp_tab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 14:49:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641844#M285840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T14:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Field Symbol Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641845#M285841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.  I changed the declaration as suggested, however I still obtain that syntax error in the extended program check.  Any further suggestions?  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 14:50:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641845#M285841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T14:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Field Symbol Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641846#M285842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using LIKE instead of TYPE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_output,&lt;/P&gt;&lt;P&gt;nodes &amp;lt;b&amp;gt;LIKE&amp;lt;/b&amp;gt; LINE OF /sapapo/om_io_pp_tab,&lt;/P&gt;&lt;P&gt;schedlines_all &amp;lt;b&amp;gt;LIKE&amp;lt;/b&amp;gt; LINE OF /sapapo/vsr_g_funit_tab,&lt;/P&gt;&lt;P&gt;END OF t_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: equi, egerh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example code:-&lt;/P&gt;&lt;P&gt;data: i_equi  type standard table of equi with header line,&lt;/P&gt;&lt;P&gt;      i_egerh type standard table of equi with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES: BEGIN OF t_output,&lt;/P&gt;&lt;P&gt;       nodes          like line of i_equi,&lt;/P&gt;&lt;P&gt;       schedlines_all like line of i_egerh,&lt;/P&gt;&lt;P&gt;       END OF t_output.&lt;/P&gt;&lt;P&gt;DATA: wa_ionodes TYPE equi.&lt;/P&gt;&lt;P&gt;DATA: gt_list TYPE TABLE OF t_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;fs_output&amp;gt; TYPE t_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * into table i_equi from equi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_equi INTO wa_ionodes WHERE equnr = '123445'.&lt;/P&gt;&lt;P&gt;ASSIGN wa_ionodes TO &amp;lt;fs_output&amp;gt;-nodes.&lt;/P&gt;&lt;P&gt;APPEND &amp;lt;fs_output&amp;gt; TO gt_list.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 15:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641846#M285842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T15:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Field Symbol Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641847#M285843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which is error occuring?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 15:34:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641847#M285843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T15:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Field Symbol Syntax Error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641848#M285844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the error that I am recieveing from the extended program check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax check warning                                                            &lt;/P&gt;&lt;P&gt;"&amp;lt;FS_OUTPUT&amp;gt;-NODES" is not defined as a field symbol.                           &lt;/P&gt;&lt;P&gt; (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET     &lt;/P&gt;&lt;P&gt; EXTENDED CHECK OFF/ON)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2006 15:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/field-symbol-syntax-error/m-p/1641848#M285844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-25T15:46:05Z</dc:date>
    </item>
  </channel>
</rss>

