Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Script Perform issue

Former Member
0 Likes
435

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

3 REPLIES 3
Read only

Former Member
0 Likes
402

Hi,

The Amount filed which you declated as Character type. It Should be defined as currecy filed.

Regards

Nehruu

Read only

Former Member
0 Likes
402

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....

Read only

Former Member
0 Likes
402

Solved My self