Skip to Content
avatar image
Former Member

CURRENCY FORMAT

Hi Frnds ,

I have a requirement of printing the data as 2,200,200.00 . currently the no is coming as 2200200.00

i have performed the operation as

WRITE LOC_ITEMTOTAL TO _ZVPRO3-ZITEMTOTAL CURRENCY VBRK-WAERK.

here LOC_ITEMTOTAL is of type p decimals 2 and _ZVPRO3-ZITEMTOTAL is of type char .

i want to display the field from _ZVPRO3-ZITEMTOTAL in my script .

can somebody help me to do this .

thanks

rohit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Aug 21, 2007 at 02:28 PM

    Hi!

    Try to modify your write statement this way:

    DATA TIME TYPE T VALUE '154633'.

    WRITE (8) TIME TO myfield USING EDIT MASK '__:__:__'. "Output: 15:46:33

    Regards

    Tamá

    Add comment
    10|10000 characters needed characters exceeded