this works, but
*XDIM_MEMBERSET DATA_CONTABIL=TMVL(-1,2016.TOTAL)
Guive me a abap dump.
And on top of that, I can't reproduce a "periods to date" sum in script logic, that's needed to cash flow calculation.
At the moment the only way is abap custom logic.