‎2010 Mar 05 8:52 AM
Hi,
i m modifying standard sapscript adding some sddition information , in this adding one Amount field using Perform in sapscript .
define a subroutine program for script ,in this using input and output table type itcsy. i m getting input value of amount and even getting value into uotpu also but in the script values is not coming.
even i delcare a local field type c . and transfering this value to local field getting short dump like
data: f2(17) type c.
F1 = input-value.
f2 = f1.
when doing this getting short dump.
dimp is Unable to interpret "11,500.00" as number.
Runtime error CONVT_NO_NUMBER
Except. CX_SY_CONVERSION_NO_NUMBER
Thanks
‎2010 Mar 05 8:57 AM
Hi,
The Amount filed which you declated as Character type. It Should be defined as currecy filed.
Regards
Nehruu
‎2010 Mar 06 12:51 AM
Digits (0-9), a decimal and a sign make a number, as soon as you add the thousands separator or currency sign (like $), it's no longer a numeric type value....pass your data, get the new data values, put the numeric data into an alpha field (if needed), pass the alpha value back in out_par....
‎2010 Mar 08 10:51 AM