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

Update variable value from Web Item Drop Down Box

Hi Experts,

My issue is that i have dropdown on Characteristic 0EMPLOYEE so when ever the user enter the template restricting with a costcenter then the the list of employee will be displayed but when user restricts the template view to a employee using the dropdown then can we pass the employee restricted in dropdown box to a variable in Planning function.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 13, 2009 at 06:13 PM

    Hi Raj,

    I think you can definetly do this in IP as same varibable can be used in Query and Planning functions.

    create a variable on Employee and use the same varibale in Planning function and pass on the value using VARV in planning function.

    Hope it helps.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Raj,

      You can do the following.

      1. Create a filter on your aggregate level. Add 0Employee to the filter. Create an user input variable (ZV_EMPLOYEE) on 0Employee which will be used to hold the values entered by the user.

      2. Assing the above created variable to the 0employee in filter.

      3. In the planning function (FOX), create a local variable for 0Employee . Eg. DATA VAR_EMPLOYEE TYPE 0EMPLOYEE.

      4. Assign the variable value passed by user to this local variable in FOX


      5. If the employee count is more use FOREACH statement in the FOX. like FOREACH VAR_EMPLOYEE.

      6. Creat a planning sequence which will have the same filter and the function.

      7. You can also use the same filter in your plan query as well, so that the data set remains same.

      This will solve your problem. Please writ back in case any clarification is required..

      Regards, Rishi

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.