on 09-03-2008 10:50 AM
Hi together,
I`d like to write a planning function which creates values based on master data. I created an initial dataset, so in the cube I have zero counts for every characteristic combination.
On looping over the values with
FOREACH EMPLOYEE.
CALL FUNCTION Z_CALC_DAYS
I don`t get the generated values...
Could anybody help?
Hi,
FOREACH loop works only on the values which are found in transaction data. I am not sure if it will work using the records created by 'generate combinations' function.
What you can try instead is to restrict the filter (used to execute the function) to the values that you want to loop on (using a variable maybe), and then use FOREACH IN SELECTION.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I`ve used the standard function type "Generate Combinations" in 7.0 integrated planning to generate the combinations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Send us the snippet of code where creates values in the cube based on the master data.
The code that you posted only potrays that the controls loops over the function z_calc_days for each employee value. What does the function z_calc_days does?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.