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

Function Module for Amount Format

Hi,

I am sending data from SAP to some other system. Could any let me know the amount format ( e.g if currency is usd then format should be 100.00 and if the currency is DNK then the format should be 100,00 ).

If we display it (after change user logon setting) it shows perfect format during the execution of the report but I have to sent the data to some other systm where user logon setting does not convert the amount in the require format.

It will be great if some body could advise some functional module which can help me to change the amount format.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2005 at 03:05 PM

    Hi,

    You can write the amount field using currency Key.

    E.g.

    Write itab-num1 to itab-num1 currency 'DNK'.

    and then export the file.

    Regards,

    Gagan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2005 at 05:32 PM

    well ! using currency option of WRITE will only format value from internal SAP format to display format as per user setting. If you can somehow set the correct country using SET COUNTRY then you have a clean solution.

    Cheers,

    Sanjeev

    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.