cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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.

ENDIF.

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

Thank you

Stefano

Accepted Solutions (1)

Accepted Solutions (1)

former_member181953
Participant
0 Kudos

hi,

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.

Shashi

Former Member
0 Kudos

Hi Shashi,

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

Thanks

Answers (0)