Skip to Content
0
Former Member
Feb 05, 2009 at 06:16 AM

Modifying char field as per currency and user settings

16 Views

Hi

I'm doing something like this

* lv_quant is a charatcer type field
* lv_qty and lv_qoh are currency type fields

          WRITE  lv_qty       TO   lv_quant CURRENCY lv_waers.
          MOVE   lv_quant     TO   lv_qoh.
          CLEAR  lv_quant.

Now to move a char field to a number field we need to have it in the format 12345.67 or 1234567 strictly.

How do I ensure that for all user settings (decimal notations and thousand separators) and currencies I always have lv_quant in the above format?

Thanks

Pushpraj