<?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 Javascript in ABAP is throwing error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605890#M1568786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having some IAC applications, the older version is ECC 4.6 . All the applications are working fine there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that we have migrated from ECC 4.6C to  ECC 6.0, we have just copied all the IAC applications to the new system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When tested in the new system. one of the applcitions is throwing a Javascript error.(i.e., the ABAP dump is pointing to the Javascript ParseInt method.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is "0.00  could not be converted into numerical value"."ITS_EXPRESSION_NOT_NUM".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------" /&gt;&lt;P&gt;Is there any possibility that ECC 6.0 is not recognizing the java script of 4.6C(specially the ParseInt functionality).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any help documents which give us code samples for syntax to be followed when writing the java script in ABAP.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;Any clue to resolve the error would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Jan 2011 07:44:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-05T07:44:10Z</dc:date>
    <item>
      <title>Javascript in ABAP is throwing error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605890#M1568786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having some IAC applications, the older version is ECC 4.6 . All the applications are working fine there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now that we have migrated from ECC 4.6C to  ECC 6.0, we have just copied all the IAC applications to the new system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When tested in the new system. one of the applcitions is throwing a Javascript error.(i.e., the ABAP dump is pointing to the Javascript ParseInt method.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error is "0.00  could not be converted into numerical value"."ITS_EXPRESSION_NOT_NUM".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------" /&gt;&lt;P&gt;Is there any possibility that ECC 6.0 is not recognizing the java script of 4.6C(specially the ParseInt functionality).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any help documents which give us code samples for syntax to be followed when writing the java script in ABAP.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------" /&gt;&lt;P&gt;Any clue to resolve the error would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 07:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605890#M1568786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-05T07:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript in ABAP is throwing error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605891#M1568787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it a server side script? If so you may check corresponding [JS in ABAP documentation|http://help.sap.com/saphelp_nw04/helpdata/en/49/a8e3c8d59811d4b2e90050dadfb92b/frameset.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It if is a client side script, the issue should be then connected to a browser not a SAP WEB AS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jan 2011 07:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605891#M1568787</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2011-01-05T07:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript in ABAP is throwing error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605892#M1568788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Marcin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou for your quick reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is server side scripting only. but i have already chekced the link which u sent me. i did not find anything realted ... we are not able to debug the issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            This is the place where it is throwing the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       var lv_pct=`FREM-TBR_PCT[j]`&lt;/P&gt;&lt;P&gt;                   if (parseInt("`lv_pct`") == `i`)&lt;/P&gt;&lt;P&gt;is the syntax of the code is correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want me to send the whole code to you?&lt;/P&gt;&lt;P&gt;Also please tell me if there any way to debug the javascripts  for this IAC applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kavitha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 05:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605892#M1568788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-06T05:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript in ABAP is throwing error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605893#M1568789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Moving the thread to the ITS forum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jan 2011 05:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/javascript-in-abap-is-throwing-error/m-p/7605893#M1568789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-11T05:36:07Z</dc:date>
    </item>
  </channel>
</rss>

