Skip to Content
author's profile photo Former Member
Former Member

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

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 02, 2009 at 11:44 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2009 at 10:45 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2009 at 05:39 PM

    Rashmi,

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

    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.