on ‎2019 Jul 25 11:31 AM
Hi experts,
We have built a new time hierarchy due to client's requirement on changing fiscal year (JUL - JUN) to calendar year (JAN - DEC). We found out that the currency conversion result is being wrongly generated after this change.
Old and new time hierarchy:
Old time hierarchy:

New time hierarchy:

Logic Script:
The currency conversion will first run QTD_FX badi then run RUN_CONSO badi.


The script were successfully executed but unfortunately the final currency conversion result is wrong.
Screenshot below shows our manual calculation:
Correct value (Highlighted in Green) : [(250,000*4.10621)+ (500,000-250,000 * 4.14021)] = 2,061,605.00
Wrong value (Highlighted in Yellow) : (500,000 * 4.14021) = 2,070,105.00

As we tried to debug the QTD_FX badi, we found out that the badi actually takes in the correct exchange rate.

But unfortunately the final result is wrong as we further debug.

Would anyone have an idea what the problem could be?
Thank you,
Weng Yee
Request clarification before answering.
The problem is inside the incorrect code of custom logic badi. Ask the person who developed this badi or ask a qualified abap developer. Without badi code analysis it's not possible to help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 10 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.