2014 Sep 27 8:31 AM
Hi ,
I am facing one issue in output of Amount field in Sap Script .Amount value which is displaying in sap script is 123334.00 but requirement is to display this value as 12,3334.00 .I have tried SET COUNTRY &country-key&, Symbol(K) but these are also not working .
Regards
Jagjit Singh Saini
2014 Sep 27 9:11 AM
Hi jagjit ,
Check the field length of the variable.
make sure it is more than 10 digits to accommodate commas in it.
Regards
Yogendra Bhaskar
2014 Sep 27 1:59 PM
Hi Yogendra ,
Field is of type NETWR (length 15 type CURR)
Regards
Jagjit Singh Saini
2014 Sep 27 12:50 PM
set country should work, what is the data type another alternative is to call a subroutine, use WRITE TO or any appropriate FM and then pass the value back to the script
2014 Sep 28 5:41 AM
2014 Sep 28 3:21 PM
Hi Eitan ,
I have removed (K) , even then its not working
Regards
Jagjit Singh Saini
2014 Sep 28 4:16 PM
2014 Sep 28 3:30 PM
Hi,
Can you please tell amount field declared in char or curr?
Have you tried your own data->decimal settings and share what is in it.
1.If you declare it in curr field and you set the country it definately print well,
2.if you use char field declare one curr field and write the values from char to curr.
Now print the curr variable in sap script.
I hope it helps you.
Regards,
Ravi Shankar.L