‎2007 Oct 18 2:41 PM
Hi,
I am wrkg on a report.In this I have used a currency field.When I try to execute,it is giving error as 'unable to interpret 145,6 as a number'.What does this mean?
‎2007 Oct 18 2:43 PM
‎2007 Oct 18 2:44 PM
It interprets , as a character not as a decimal point.
Either put in the number as 145.6 or change your decimal notation in your user settings:
System - User Profile - Own data
Tab Defaults - Decimal Notation
Regards,
Michael
‎2007 Oct 18 2:45 PM
Hi Hema,
Give the value as 145.6. SAP can not interpret 145,6.
<b>Reward for helpful answers</b>
Satish
‎2007 Oct 18 3:00 PM
Hi Hema,
SAP interprets , as a character not as a decimal point.
So provide the value as 145.6.
Incase ur settings might also be a problem.
Change your decimal notation in your user settings:
System - > User Profile - > Own data - > Tab Defaults -> Decimal Notation
Reward if Useful.
Regards,
Chitra
‎2007 Oct 18 3:04 PM
Hi,
I have given that field as char type.Even then it is giving dump error
‎2007 Oct 18 3:08 PM
Hi Hema,
Try this.
replace ',' with '.' in that field.
Reward if Useful.
Regards,
Chitra
‎2007 Oct 18 3:23 PM
when you declared it as 'Char' what is the error u r getting?
‎2007 Oct 18 3:40 PM
Hi,
Even when I declared it as char type I am getting error as 'unable to interpret 145,6 as a number'.Could u pls suggest me some solution for this?
‎2007 Oct 18 3:43 PM
Hi Hema,
Try this.
replace ',' with '.' in that field.
Reward if Useful.
Regards,
Chitra
‎2007 Oct 18 3:46 PM
‎2007 Oct 18 3:48 PM
Hello Hema,
When you define it as a character field you should definitely not get that error. Are you moving the character field into a number field later on because than it is not allowing this because of your decimal settings in your user profile.
Either put in the number as 145.6 (point instead of comma) or change your user settings for the decimal notation so SAP interprets a , as a comma. You always need to input any numbers with decimal point (either . or ,) that you defined in your user settings.
Regards,
Michael
‎2007 Oct 18 4:28 PM
Hi,
Could you please let us know, you are displaying the data in ALV?
Thanks,
Sriram Ponna.
‎2007 Oct 19 4:11 AM
Hi Sriram,
My requirement is to upload the data from excel file to ztable(zrb_hdr).In the internal table(t_zrb_hdr) i have changed the data types of date,time and currency fields to char type.I have used fm 'ALSM_EXCEL_TO_INTERNAL_TABLE' to read the excel file.To upload the data to ztable i haveused insert zrb_hdr from table t_zrb_hdr.But here zrb_hdr and t_zrb_hdr don't have the same structure.so it is giving error.Now how can I upload data to ztable?
Regards,
Hema