Symptom
You want to update planning data lock state with one script.
To achieve this, you set one dimension of a table with flat value filters, then change this dimension to hierarchy.
You call planning dataLocking API to set the whole planning table(one selection) to locked state. Below is an example :
“
data_source.setDimensionFilter("ENTITY",entities_selected);
data_source.setHierarchy("ENTITY","H1");
planning_table.submitData();
planning_table.getDataLocking().setState(selection_hier_total, DataLockingState.Locked);
“
However the above code doesn’t work.
Read more...
Environment
Product
Keywords
KBA , LOD-ANA-UNS , SAC Unified Story (Story 2.0) main component. , LOD-ANA-PL-DLK , Data Locking , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.