Skip to Content
avatar image
Former Member

Change the value of a KF via CMOD (Virtual Key Figures)

Hi all,

i need a little help with vkf: i have five key figures loaded to infocube by update rule but i want to change their values in the custumer exit if a specific condition is met (basically, i have to shift their values from one to another).

If i declare those key figure in the ZBWVIRTU project as if they were vkf, when entering the ZXRSRZZZ include i will get a blank value for these kf or the value in the infocube?

What i want to do in the cmod is something like this:

IF <condition> IS TRUE.

KF1 = KF2.

KF2 = KF3.

KF3 = KF4.

KF4 = KF5.

KF5 = 0.


My doubt is that in the customer exit i will not have the values of KF(1-5).

Thank you


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Sep 10, 2008 at 08:03 PM


    Have a charter like flag when you condition meets update it with "x" else 0 then on the query you can use this char to meeto condition if char = 1 KF = KF1, KF2.


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Shashi,

      do you mean to create a virtual characteristic via customer exit and then use it in bex to shift the values?