Conversion_to_local_currency

CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
                EXPORTING
                  date                    = sy-datum
                  foreign_amount          = itab_line-net_value
                  foreign_currency        = itab_line-waers
                  local_currency          = itab_line-currencyh.
where itab_line is the internal table for my table control.
i get the following message:
enter rate INR/$ rate type M for 26.02.2008 in the system settings.
what is 2 be done?
thanks in advance.

thanks for the response.
i m still facing problems.Here is my code.
itab_line-net_value = itab_line-menge * itab_line-netpr.
              itab_line-currencyh = currency.
              IF itab_line-currency <> itab_line-currencyh.
*here i want to convert currency to currencyh.
              CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
               EXPORTING
                 CLIENT                  = SY-MANDT
                  date                    = SY-DATUM
                  foreign_amount          = itab_line-net_value
                  foreign_currency        = itab_line-currency
                  local_currency          = itab_line-currencyh
                RATE                    = 40
                TYPE_OF_RATE            = 'M'
                READ_TCURR              = 'X'
               IMPORTING
                EXCHANGE_RATE           = TCURR-UKURS
                FOREIGN_FACTOR          =
                 LOCAL_AMOUNT            = itab_line-net_value.
                LOCAL_FACTOR            =
                EXCHANGE_RATEX          = 40.
                FIXED_RATE              =
                DERIVED_RATE_TYPE       =
              EXCEPTIONS
                NO_RATE_FOUND           = 1
                OVERFLOW                = 2
                NO_FACTORS_FOUND        = 3
                NO_SPREAD_FOUND         = 4
                DERIVED_2_TIMES         = 5
                OTHERS                  = 6
             IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF.
              endif.
because of this module my netpr is becoming 0.
when i comment this module then net_value is coming out 2 be the product.cant figure out whats happening.

Similar Messages

Maybe you are looking for

  • BADI/User Exit for Order processing

    Hi Experts, I have a requirement that whenever someone modifies the order belonging to a specific order category then some error/ warning is issued. Can you please suggest some User Exit/BADI in APO for the same.

  • Black & White PDF's print with reddish hue

    I have been using Adobe products forever and just had to upgrade to this Creative Suite. Something is different with the Acrobat Pro settings after I convert an InDesign file to PDF. A lot of our ads are black and white with just our logo in color. I

  • End user training - Lockbox

    Hi ! Could some one please send me the end user training document for lockbox ( or atleast somekind of document related to end user training) ? Will be really helpful to me. Points will be rewarded. Thanks.

  • How do I set up an iCloud email account?

    How do I set up an iCloud email account? I also waant to make sure they aren't about to change again either/. Thanks!

  • About Flex ContextMenu

    Dear Sir or Madam: We may need help from you when we develop an applicaton by using Flex. 1.   when the ContextMenu class is used when we develop an appliction. It should access the remote services or method by an asynchronous operations. However, th