ODE-1017: Backported setVariable operation in PMAPI from trunk