IP - Create values based on master data
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?
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.