11-21-2007 7:59 AM
Hello Experts,
I have 1 editable column in my ALV grid that lets users input a numeric value
to be added to another column. My problem is, it always put 2 decimal places
in the value that we enter like for example we entered 100 and it displays as 1.00,
1,000 as 10.00, etc. So if it displays as 1.00 it treats it as 1 if I add it in another
column. My editable field is based on BSAK-DMBTR. Hope you can help me guys. Thank you and take care!
11-21-2007 8:04 AM
just try writing - set country space - just before u display ur alv or the place in ur user command . i hope it should work .
Thanks
Rohit
Reward if helpfull
11-21-2007 8:04 AM
just try writing - set country space - just before u display ur alv or the place in ur user command . i hope it should work .
Thanks
Rohit
Reward if helpfull
11-21-2007 8:05 AM
change the decimal notation for your user as 1,234,567.89...and try...
11-21-2007 8:12 AM
two things can influece the decimal notation in your case.
1) Decimal notation, which you can change from menu path System->User Profile->Own Data->Defaults.
2) Currency specified in fieldcatelog for field DMBTR, check what is the value filled in field 'qfieldname' and 'currency' .
11-21-2007 8:13 AM
Hi,
Please change the reference field BSAK-DMBTR. DMBTR has 2 decimal places & hence the problem.
Change data type to some CHAR field .
Best regards,
Prashant
11-21-2007 8:15 AM