cancel
Showing results for 
Search instead for 
Did you mean: 

Using a Customer Exit Variables and calculated/ restricted KF's in FOX

Former Member
0 Kudos

Hi All,

I have two calculated key figures ( A and B) which I have to restrict with customer exit variables ( X and Y). I am able to do that at the query level and get correct results. How can i do the same in FOX. I have a particular layout where this needs to be accomplished

Thanks

Rashmi.

Accepted Solutions (1)

Accepted Solutions (1)

former_member93896
Active Contributor
0 Kudos

Hi Rashmi,

you don't have access to calc/restr. key figures in FOX. You can use exit variables in planning package or parameter group. Then use local variables in FOX (DATA a TYPE f.) and put the formula for the calculation into the FOX code (a = kf1 + kf2.)

Regards,

Marc

SAP NetWeaver RIG

Answers (2)

Answers (2)

Former Member
0 Kudos

Rashmi,

You the same restriction in FOX code to derive key-figure value, to read exit variable value you can use VARV function.

Former Member
0 Kudos

Hi Rashmi,

Can you give detailed explaination how you are using your calculated KF's.

Regards,

Raj

Edited by: Raj Reddy on Sep 3, 2009 11:46 AM

Edited by: Raj Reddy on Sep 3, 2009 11:46 AM

Edited by: Raj Reddy on Sep 3, 2009 11:47 AM

Former Member
0 Kudos

Hi,

I have 3 basic key figures in my aggregation lvl, billing, quantity and price. Billing comes from ECC and quantity and price are forecasted in the layouts. Revenue (CKF) is equal to (quantity * price) for month greater than or equal to current month ( based on the system date). For month less than current month it is equal to billing.

Earlier i did this at the query level, created restricted key figures on billing and (quantity*price) by restricting them with customer exit variables getting the respective time periods. I simply added the two RKF's into a CKF and got perfect results. Now i need to do this and save the numbers from the layout itself.

Any suggestions/ coding on how to build this logic

Thanks

Rashmi.