Skip to Content

CKF - Replace ZERO with BLANK

Hello Everyone,

I've an requirement to make the output of the particular CKF is ZERO then I need to make it as BLANK .

In my CKF the calculation is like below,

CKF = NODIV0 ( RKF1 / RKF2 )

The output for this CKF is ZERO for most of the times because there is no value available for RKF2(Populates Blank entries). I don't want to use the Query Properties to affect the entire query output.

Any other alternate options to achieve this.

Thanks,

ARUN.M.D

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on May 22, 2013 at 02:39 PM

    Hi Arun

    I suppose you know that you can do it with a workbook macro.

    Otherwise i don't think is possible from inside Bex.

    Maybe with a virtual key figure.

    Thank you

    Yiannis

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 17, 2013 at 03:39 AM

    What do you get when you use the following formula.

    CKF = (NODIV0 ( RKF1 / RKF2 ) == 0) * RKF2 + (NODIV0 ( RKF1 / RKF2 ) <> 0) * NODIV0 ( RKF1 / RKF2 )

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 20, 2013 at 11:31 AM

    Hi Arun,

    You need to use ABAP code to create blanks instead of Zeroes.

    Br,

    Arpit

    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.