<?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: Problem using field symbols in Query... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols-in-query/m-p/1774523#M334174</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of field symbols, you ccan try this..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select (help_numtab-OBjectfield) into table help_item
from (help_numtab-OBjecttable)
where ERNAM = SY-UNAME.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Dec 2006 20:34:51 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2006-12-15T20:34:51Z</dc:date>
    <item>
      <title>Problem using field symbols in Query...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols-in-query/m-p/1774522#M334173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am fetching the name of the table and field which I will be using in the query using field symbols. But it gives syntax error...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single OBJECTTABLE OBJECTFIELD into help_numtab from Zobjectname&lt;/P&gt;&lt;P&gt;where OBJECTNAME  = P_OBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols : &amp;lt;number&amp;gt; type any.&lt;/P&gt;&lt;P&gt;field-symbols : &amp;lt;module&amp;gt; type any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN help_numtab-OBjectfield to &amp;lt;number&amp;gt;.&lt;/P&gt;&lt;P&gt;ASSIGN help_numtab-OBjecttable to &amp;lt;module&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Here &amp;lt;number&amp;gt; = MATNR and &amp;lt;module&amp;gt; = MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select &amp;lt;NUMBER&amp;gt; into table help_item&lt;/P&gt;&lt;P&gt;                 from &amp;lt;MODULE&amp;gt;&lt;/P&gt;&lt;P&gt;                      where ERNAM = SY-UNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives a syntax error which says &amp;lt;module&amp;gt; is not defined in ABAP DDIC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 20:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols-in-query/m-p/1774522#M334173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T20:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem using field symbols in Query...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols-in-query/m-p/1774523#M334174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of field symbols, you ccan try this..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select (help_numtab-OBjectfield) into table help_item
from (help_numtab-OBjecttable)
where ERNAM = SY-UNAME.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 20:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-using-field-symbols-in-query/m-p/1774523#M334174</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-12-15T20:34:51Z</dc:date>
    </item>
  </channel>
</rss>

