2005 May 24 4:26 PM
Hi friends,
We are having currency data in copa from pacific, canada,europe and even america...we need to use a BADI in a particular scenario where we can convert all currencies to USD....please help me with the code for the same..or is there any standar SAP provide method for the same
...this is urgent..request help soon
Hi friends,
We are having currency data in copa from pacific, canada,europe and even america...we need to use a BADI in a particular scenario where we can convert all currencies to USD....please help me with the code for the same..or is there any standar SAP provide method for the same
...this is urgent..request help soon
2005 May 24 4:36 PM
Hi Andy,
Call the function module: CONVERT_AMOUNT_TO_CURRENCY inside your BADI.
That will do the trick.
Brad
2005 May 24 4:38 PM
2005 May 24 4:44 PM
hi brad,
Thanks a lot for the immediate reply ,
I am a BW guy.. and when i looked at the code i understood the code but did not understand why the foreign_amount = '2000.00' is it the exchange rate or can we automate it to take values automatically by anyways and another main thing is this sample code with any type of situation in the sense does it work with COPA data
2005 May 24 4:56 PM
Hi Andy,
The foreign amount is hard coded in this example, you jsut need to substitute your variable instead of '2000.00'.
As for COPA, yes this will work for any data where you have a value, a currency, and a currency to change it to.
I would recommend, however, that you get an ABAP savvy person to help with the BADI implementation, just to be sure that its all implemented correctly.
Cheers,
Brad
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |