Hello IP Experts / Gurus / Developers,
As far as I know there is no real concept behind the determination of Reference Data in Integrated Planning, when you do run functions from a sequence and not directly on a Dataprovider (where you have the possiblity to define editable and not editable structure elements).
The reference data is generated at runtime of the FOX Code. Using Complex FOX Code with a nested loop, the reference data in the planning buffer (seen in Planning Modeller) isnt really the data that it should be. Some read statements (in loops, but also outside the loops) are not recognized and obviously do not lead to the definition of Reference Data. This is not a specific problem of my function or architecture. It doesnt occur, when I reduce the complexity of the FOX Code to a few rows.
The question that I have is: Is there any possibility to define reference data in a fox statement or before running it?
Function modules, hidden statements etc. ?
Maybe a trick with running a loop like the one below (doesnt work, it also leads to immense performance issues)
FOREACH YEAR, CCODE IN SELECTION.
VALUE = {0amount, YEAR, CCODE).
EXIT.
ENDFOR.
Thanks in advance for sharing your experience.
Michael