Dear SCN members,
I have to calculate a formula based on an amount KF with currency (KF1) and a number KF(KF2) and then the currency translation should be applied.
Also in the same InfoProvider there is a charasteristic ZCURRENCY of type char which can be used to define currency for KF2. The meaning of KF2 is variable, it can describe an amount or just a number depending on a flag character.
Is there any way to calculate, for instance, KF1 - KF2 in a query and convert the result into a fixed target currency? Or is remodeling InfoProvider in order to organize one KF instead of KF2 and ZCURRENCY is the only decision?
To give it a try (and against common sense) I created a CKF with required calculation, for instance NODIM(KF1) - KF2, configured currency translation tab and as a result I get converted KF1 - KF2 (needed converted difference).
Thanks in advance for your advise!