Skip to Content
author's profile photo Former Member
Former Member

function module for currency to character format

Dear All,

Please tell me name of the function module or any other alternative to convert currency to character format.

Thanks

Mave

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2005 at 10:28 AM

    Hi Mave,

    Actually, currency field contains like '123.45 USD' try to use the offset to spilit like

    data c_amount(10) type c.

    d = 123.5 USD

    concatenate d0(10) d11(3) into c_amount separated by space.

    Cheers,

    Sasi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 20, 2005 at 01:25 PM

    Welcome to SDN

    you can just use move statement.

    move: <currency_field> to <char_field> .

    if you are looking for the amount in words you can use

    spell_amount function module.

    Regards

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.