SAP Knowledge Base Article - Preview

3521804 - Can't update data locking with specific selected elements using the Data Locking API

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

SAP Analytics Cloud 1.0

 

Product

SAP Analytics Cloud 1.0

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.