Use updateProperty API on Versions

You can use the updateProperty API to update specific version's property.

About updateProperty API

The updateProperty API can only be called on public versions and is therefore not relevant for SAP BPC models. In addition, the API works on planning models only, while planning tables isn't supported.

Version properties that can be updated via API include category, rate version (the planning model is an account model with currency conversion enabled), and custom properties.

Script Examples

The following script example shows how to update a custom property of a planning model version:
The following script example shows how to update a category:

When updating the category, you can use planningCategory.Budget or category name that exists.

Changing category of public.Actual isn't allowed. Changing category of other version than public.Actual to actual version isn't allowed, either.