‎2011 Jan 05 7:44 AM
Hi all,
We are having some IAC applications, the older version is ECC 4.6 . All the applications are working fine there.
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.
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.)
The error is "0.00 could not be converted into numerical value"."ITS_EXPRESSION_NOT_NUM".
My question is:
-
Is there any possibility that ECC 6.0 is not recognizing the java script of 4.6C(specially the ParseInt functionality).
is there any help documents which give us code samples for syntax to be followed when writing the java script in ABAP.
-
Any clue to resolve the error would be greatly appreciated.
Thanks & Regards,
Kavitha
‎2011 Jan 05 7:59 AM
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].
It if is a client side script, the issue should be then connected to a browser not a SAP WEB AS.
Regards
Marcin
‎2011 Jan 06 5:59 AM
Hi Marcin,
Thankyou for your quick reply.
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?
This is the place where it is throwing the error:
var lv_pct=`FREM-TBR_PCT[j]`
if (parseInt("`lv_pct`") == `i`)
is the syntax of the code is correct?
Do you want me to send the whole code to you?
Also please tell me if there any way to debug the javascripts for this IAC applications.
Thanks & Regards,
Kavitha.
‎2011 Jan 11 5:36 AM