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

how to display Various currency categories in same column in ALV grid?

hi..

i wanted to display currency field in a column which has the currency value of different currency categories like US dollar, EURO, Indian Rupees. The thing is,

1. for US dollar it should contain ONLY last 2 decimal pts.

2. for Euro, it should hav contain last 3 decimal pts.

3. For Indian, it should hav contain last 2 decimal pts.

how to achieve this in one column and how to declare it, because it all in same field.

This report is in ALV GRID.

and important is , i also wanted to do the SUM for the total amount which has combinations of all above specified currencies.

how to achieve it.

any answer will be rewarded.?

reply soon.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 29, 2008 at 08:30 AM

    You need two columns amount and currency code in your internal table, the fields must be of type CURR and CUKY, and the field catalog must link the amount and the currency code. (CFIELDNAME of the amount column contains the name of the currency code column)

    The amount will be displayed according to the currency code definition in customizing, and will be summed by currency code.

    Regards

    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.