2007 Aug 29 11:02 AM
hi,
I would like to have commas in between a number eg( 123,67,99) .could any one help how to acheive this.
thanks,
Go TCODE SU01
Enter your User Name
Click on Change
Go to Defaults Tab and change the Decimal Notation
2007 Aug 29 11:04 AM
2007 Aug 29 11:05 AM
is dis a currency field...if yes move this value to a currency type varaible...
plz reward points if it helps...
2007 Aug 29 11:06 AM
hi if ur number is like amount then do following..
DATA: A TYPE STRING.
A = your number..
it will automatically converted into ur required format...
points please...
2007 Aug 29 11:08 AM
Hi Dear,
U can use this code. u can replace of ur choice...
data: amount(15) type c value '200,000,000.000'.
while sy-subrc = 0.
replace ',' with space into amount.
endwhile.
condense amount no-gaps.
write:/ amount.
Reward Points..
Bohra
2007 Aug 29 11:14 AM
Hi Anu,
You can use the data type p for attaining this.
data : a type p decimals 2.
a = 2222222.
write /a.
you can check.
Reward points if helpful,
regards,
jinesh.
2007 Aug 29 11:17 AM
Try to move this number to type P field..
Example:
Data : num type p decimals 2.
Move <your variable> to num.
automatically, you will see the separator..
Note: character field variable will not display separator...
Close the thread if your question is answered.
Regards,
SaiRam
2007 Aug 29 11:20 AM
2007 Aug 29 11:43 AM
Check it with basi consultant. they can do this setting to get comma's between digit if its a currency field.
reward if useful.
2007 Aug 29 11:54 AM
Hi ,
use this format.
write:/ BSEGA-WRSHB CURRENCY BSID-WAERS,
where BSEGA-WRSHB is ur respective field for currency.
Hope this helps.
Regards,
SapnaA.
2007 Aug 29 11:55 AM
Go TCODE SU01
Enter your User Name
Click on Change
Go to Defaults Tab and change the Decimal Notation
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |