2007 Nov 05 6:01 AM
Hi Experts,
My application demands the conversion of foreigh currency into local currency i.e INR.
For Ex. The amount 565.923.708,00 is in euros and i want to convert it into the format 565,923,08.00.
Is there any BAPI, functional modules or conversion routine available for this application.
Thanks
Nayan
2007 Nov 05 6:02 AM
Hi Experts,
My application demands the conversion of foreigh currency into local currency i.e INR.
For Ex. The amount 565.923.708,00 is in euros and i want to convert it into the format 565,923,08.00.
Is there any BAPI, functional modules or conversion routine available for this application.
Thanks
Nayan
2007 Nov 05 6:02 AM
2007 Nov 05 6:05 AM
Hi Gopi,
The parameters i am passing is giving me a dump for it by using the function module CONVERT_TO_LOCAL_CURRENCY. Just tell me the parameters that i have to pass
2007 Nov 05 6:08 AM
Hi,
here some code:
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
DATE = SYST-DATUM
FOREIGN_AMOUNT = for_amount
FOREIGN_CURRENCY = 'USD'
LOCAL_CURRENCY = 'GPP'
TYPE_OF_RATE = 'M'
IMPORTING
LOCAL_AMOUNT = loc_ammount
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5.
The call calculates the "GPP" value of a given "USD" value based on TCURR's 'official averadge rate' of the current day. Sorry, I just translated the german term, but this is the rate, that is used for international money transfer.
Pls. remember that someone has to fill TCURR with correct values
Reward if helpful.
Regards,
nagaraj
2007 Nov 05 6:02 AM
Hi,
cehck the FM "CONVERT_TO_LOCAL_CURRENCY".
Rward if helpful.
Regards,
Nagaraj
2007 Nov 05 6:04 AM
hi,
change the settings in tcode oy01. for country india,
if u need this in scripts,
set country 'IN'.
regards
siva
2007 Nov 05 6:10 AM
Hi Nayan,
Use the FM <b>CONVERT_AMOUNT_TO_CURRENCY</b>
Thanks
Vijay
PLZ reward points if helpful
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |