<?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 it is related to cl_java_script exception handling in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725431#M33957</link>
    <description>&lt;P&gt;guys i have written a program to evaluate the string but while writing exception it is giving an error so i have tried an exception handling method i.e try and catch .&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;following is my code&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;DATA: value TYPE p DECIMALS 3 ,&lt;BR /&gt;str TYPE string.&lt;BR /&gt;DATA: ocx_root TYPE REF TO cx_root.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;START-OF-SELECTION.&lt;BR /&gt;str = '( ( 1830 * 1000 ) / 31104 ) / 0 ' .&lt;BR /&gt;try.&lt;BR /&gt;value = cl_java_script=&amp;gt;create( )-&amp;gt;evaluate( str ).&lt;BR /&gt;catch CX_SY_CONVERSION_NO_NUMBER into ERROR_REF.&lt;BR /&gt;ERR_TEXT = ERROR_REF-&amp;gt;GET_TEXT( ).&lt;BR /&gt;write ERR_TEXT.&lt;BR /&gt;endtry.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Aug 2018 04:28:32 GMT</pubDate>
    <dc:creator>rishi_kulkarni123</dc:creator>
    <dc:date>2018-08-30T04:28:32Z</dc:date>
    <item>
      <title>it is related to cl_java_script exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725431#M33957</link>
      <description>&lt;P&gt;guys i have written a program to evaluate the string but while writing exception it is giving an error so i have tried an exception handling method i.e try and catch .&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;following is my code&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""&lt;/P&gt;
  &lt;P&gt; &lt;/P&gt;
  &lt;P&gt;DATA: value TYPE p DECIMALS 3 ,&lt;BR /&gt;str TYPE string.&lt;BR /&gt;DATA: ocx_root TYPE REF TO cx_root.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;START-OF-SELECTION.&lt;BR /&gt;str = '( ( 1830 * 1000 ) / 31104 ) / 0 ' .&lt;BR /&gt;try.&lt;BR /&gt;value = cl_java_script=&amp;gt;create( )-&amp;gt;evaluate( str ).&lt;BR /&gt;catch CX_SY_CONVERSION_NO_NUMBER into ERROR_REF.&lt;BR /&gt;ERR_TEXT = ERROR_REF-&amp;gt;GET_TEXT( ).&lt;BR /&gt;write ERR_TEXT.&lt;BR /&gt;endtry.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 04:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725431#M33957</guid>
      <dc:creator>rishi_kulkarni123</dc:creator>
      <dc:date>2018-08-30T04:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: it is related to cl_java_script exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725432#M33958</link>
      <description>&lt;P&gt;Your syntax (implicit conversion expected?) triggered a non-handleable exception in the call of the class, you could use an intermediate string field to get a handleable exception. &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;numfield = cl_java_script=&amp;gt;create( )-&amp;gt;evaluate( str ). " not handleable
numfield = stringfield = cl_java_script=&amp;gt;create( )-&amp;gt;evaluate( str ). " handleable
&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 11:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725432#M33958</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-08-30T11:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: it is related to cl_java_script exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725433#M33959</link>
      <description>&lt;P&gt;first of all thanks for precious reply brother &lt;/P&gt;
  &lt;P&gt;but this code is not working as i have use this code before u send me i was thinking i have written it wrong way.&lt;/P&gt;
  &lt;P&gt;will send me complete code so i can added it in my program . &lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2018 05:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725433#M33959</guid>
      <dc:creator>rishi_kulkarni123</dc:creator>
      <dc:date>2018-08-31T05:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: it is related to cl_java_script exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725434#M33960</link>
      <description>&lt;P&gt;For compatibiliy (readibility) I would write &lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;my_java = cl_java_script=&amp;gt;create( ). 
result_string = my_java-&amp;gt;evaluate( input_string ). 
result_num = result_string.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 Aug 2018 08:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725434#M33960</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2018-08-31T08:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: it is related to cl_java_script exception handling</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725435#M33961</link>
      <description>&lt;P&gt;thank you 'ray' brother yesterday only done that report using this method thank you once again &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Sep 2018 02:43:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/it-is-related-to-cl-java-script-exception-handling/m-p/725435#M33961</guid>
      <dc:creator>rishi_kulkarni123</dc:creator>
      <dc:date>2018-09-01T02:43:48Z</dc:date>
    </item>
  </channel>
</rss>

