<?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: Error while read table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066000#M1177031</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;I think that you missed the equal to sign after the ID field....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table ALL_NVALS_TAB &lt;/P&gt;&lt;P&gt;with KEY VAL = nvals_tab-val &lt;/P&gt;&lt;P&gt;      ID            = nvals_tab-id.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;message i005 with node_val.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2009 06:32:57 GMT</pubDate>
    <dc:creator>dev_parbutteea</dc:creator>
    <dc:date>2009-01-29T06:32:57Z</dc:date>
    <item>
      <title>Error while read table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5065999#M1177030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            read table ALL_NVALS_TAB with KEY VAL = nvals_tab-val   ID &amp;lt;&amp;gt; nvals_tab-id.&lt;/P&gt;&lt;P&gt;            if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;              message i005 with node_val.&lt;/P&gt;&lt;P&gt;              exit.&lt;/P&gt;&lt;P&gt;            endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is giving a syntax error on " = expected after ID"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on replacing the code with =&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       read table ALL_NVALS_TAB with KEY VAL = nvals_tab-val ID = nvals_tab-id.&lt;/P&gt;&lt;P&gt;            if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;              message i005 with node_val.&lt;/P&gt;&lt;P&gt;              exit.&lt;/P&gt;&lt;P&gt;            endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is giving no error and can be activated.But it is not solving my purpose . Can only  ' = ' is used as a operator on read table with key.&lt;/P&gt;&lt;P&gt;Is there any other way in which I can do it ( preferable with READ statement)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:30:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5065999#M1177030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:30:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error while read table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066000#M1177031</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;I think that you missed the equal to sign after the ID field....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table ALL_NVALS_TAB &lt;/P&gt;&lt;P&gt;with KEY VAL = nvals_tab-val &lt;/P&gt;&lt;P&gt;      ID            = nvals_tab-id.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;message i005 with node_val.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066000#M1177031</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-01-29T06:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error while read table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066001#M1177032</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;With read you can use only Equalto '=' operator. If you want to use other operators the use&lt;/P&gt;&lt;P&gt;Loop AT &amp;lt;itab&amp;gt;  Where &amp;lt;Condt&amp;gt;.&lt;/P&gt;&lt;P&gt;ENDLOOP&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066001#M1177032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while read table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066002#M1177033</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;There is nothing wrong in your coding using =.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats is your exact problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066002#M1177033</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-01-29T06:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error while read table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066003#M1177034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have missed the ' = ' sign.&lt;/P&gt;&lt;P&gt;try this &lt;/P&gt;&lt;P&gt;read table ALL_NVALS_TAB with KEY VAL = nvals_tab-val &lt;/P&gt;&lt;P&gt;                                                           ID  = nvals_tab-id.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066003#M1177034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error while read table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066004#M1177035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;read table ALL_NVALS_TAB with KEY VAL = nvals_tab-val ID = nvals_tab-id.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;message i005 with node_val.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is giving no error and can be activated.But it is not solving my purpose . Can only ' = ' is used as a operator on read table with key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE is used to get a single, unique record from the internal table so '=' is the only operator allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug your code and check if the table ALL_NVALS_TAB has entries with VAL = nvals_tab-val &amp;amp; ID = nvals_tab-id. If not then the sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz revert back with your observations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:37:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066004#M1177035</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-01-29T06:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error while read table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066005#M1177036</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;Check out the syntax at[ Read|http://help.sap.com/abapdocu/en/ABAPREAD_TABLE.htm]&lt;/P&gt;&lt;P&gt;Also there is an [example|http://help.sap.com/abapdocu/en/ABENREAD_ITAB_USING_KEY_ABEXA.htm] you can check out.&lt;/P&gt;&lt;P&gt;Hope this helps &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayanthi.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066005#M1177036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while read table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066006#M1177037</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 think you have missed '=' operator after ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table ALL_NVALS_TAB with KEY VAL = nvals_tab-val &lt;/P&gt;&lt;P&gt;                                                          ID = nvals_tab-id.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;message i005 with node_val.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;Now it will work fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Read table we can use only '=' operator . if you want to use other than '=' operator then use &lt;/P&gt;&lt;P&gt;Loop at ALL_NVALS_TAB where 'you can use the operator u want'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 07:06:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-read-table/m-p/5066006#M1177037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T07:06:37Z</dc:date>
    </item>
  </channel>
</rss>

