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

value based on currency

Hi experts,

I need to display value based on the Currency key(Region)

for example , If the currency is japan the value should not display in decimals

if the currency is in german then the value should display 2 decimals place.

Pls suggest the idea to display it in report.

Thanks in advance

sai

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 Nov 23, 2007 at 12:20 PM

    Hi,

    u need to create then some local variables .

    data: v_curr_german type p dec 2,

    v_curr_japan type p dec 0.

    loop at itab.

    if itab-cuky is 'German currency key give here'.

    v_curr_german = itab-curr_value.

    endif.

    if itab-cuky is 'Japan currency key give here'.

    v_curr_japan = itab-curr_value.

    endif.

    .

    .

    endloop.

    Regards

    Manas

    Message was edited by:

    MANAS RANJAN PANDA

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 23, 2007 at 12:27 PM

    Hi Karthik,

    Try FM

    SD_CONVERT_CURRENCY_FORMAT

    or

    CONVERT_AMOUNT_TO_CURRENCY

    or

    HR_CONVERT_TO_LOCAL_CURRENCY

    Hope it helps.

    Lokesh

    Message was edited by:

    Lokesh Aggarwal

    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.