Skip to Content

amount KF with currency and number KF in one formula and folowing currency translation

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!

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 18, 2015 at 09:10 AM

    Dear Evgeniya,

    When defining a currency conversion on a CKF then each formula component gets translated before the formula is evaluated.


    According to my knowledge it is thus not possible to define a processing in the way:

    (KF1-KF2) -> convert result

    Instead the formula will be evaluated as convert(KF1) - convert (KF2) (as mentioned by you..)

    I am sorry that I cannot help here.


    BR Bernhard

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.