Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

RUNALLOCATION in Default Logic - Question


I am trying to distribute from members 2015.INP to base level members of 2015.TOTAL which are 2015.01,2015.01...

While this script is working, I would like to limit the RUNALLOCATION program to start only when a .INP member is changed. In the following case the RUNALLOCATION is executed every time no matter I do changes only to the base level members of .TOTAL.

*SELECT (%YR%, "[YEAR]", S_TIME, "[ID] = %S_TIME_SET%")


  *IS <> %YR%.INP


       *FACTOR = 1/12

       *DIM S_TIME WHAT = %YR%.INP ;WHERE = BAS(%YR%.TOTAL); Using = >>>; Total = %YR%.INP



With *When and FOR/NEXT that could be done, but what about RUNALLOCATION?


Please look on my code from previous answer - it will run RUNALLOCATION only if INP member is changed:


ISINP - TIME dimension property set to Y for YYYY.INP members

For 2015.03 "15" - %YRS% will be empty (ISINP<>Y)! End FOR/NEXT will not run...


0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question