<?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: getting syntax error in exception handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4055000#M969331</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks abhishek. I had dot at the end of the line. THat was not the issue. Issue was a space was needed between ( and ) in get_text (). hope this info helps. thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2008 21:06:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-08T21:06:23Z</dc:date>
    <item>
      <title>getting syntax error in exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4054998#M969329</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;in my abap proxy in ecc 6.0, i write as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data xref type ref to cx_root.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try.&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;catch cx_root into xref&lt;/P&gt;&lt;P&gt;      x_errmsg-msg_text = xref-&amp;gt;get_text().&lt;/P&gt;&lt;P&gt;endtry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x_errmsg is a structure in which msg_text is of type bapi_msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get the following error during syntax check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the format of field specification "xref-&amp;gt;get_text()" is not supported. only field &lt;EM&gt;...(...) is possible. e.g. KTNRA&lt;/EM&gt;2(6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does this mean ?????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 20:41:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4054998#M969329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T20:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: getting syntax error in exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4054999#M969330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As per the sample code given in the link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/a9/b8eef8fe9411d4b2ee0050dadfb92b/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your code seems to be correct. The only thing that i could see different in your code could be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) catch cx_root into xref  ( Missing '.' in the end of the statement ) if that has been missed in the actual code also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That might be the reason that your code is being interpretted in a wrong way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 21:01:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4054999#M969330</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2008-07-08T21:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: getting syntax error in exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4055000#M969331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks abhishek. I had dot at the end of the line. THat was not the issue. Issue was a space was needed between ( and ) in get_text (). hope this info helps. thks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 21:06:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4055000#M969331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T21:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: getting syntax error in exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4055001#M969332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;resolved myself&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 21:06:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-syntax-error-in-exception-handling/m-p/4055001#M969332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T21:06:36Z</dc:date>
    </item>
  </channel>
</rss>

