cancel
Showing results for 
Search instead for 
Did you mean: 

IP - Create values based on master data

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (2)

Answers (2)

Former Member
0 Kudos

I`ve used the standard function type "Generate Combinations" in 7.0 integrated planning to generate the combinations.

Former Member
0 Kudos

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?