✆+971 58 5616 616  ✉  info@insightcubes.com

InsightCubes Logo

How to create, update and delete members with SAP Analytics Designer

Lets say you want to add a member to a dimension, in the following example we will be using a dimension called scope and a member along with the attributes will be added, the attributes will define the member.

To use the planning API’s you must select a planning model under Planning Models Objects.

Planning API’s in this blog:

  • createMembers() – Allows you to create Planning Model members. Note that the member ID must not be used before.
  • updateMembers() – Updates Planning Model members.
  • deleteMembers() – Deletes Planning Model members.

The below image is of the Add New Scope (member) tab in the Scope maintenance interface popup.

Add new Scope tab in Popup

The below code is linked through a Script Object Utils to the Create button of the Add New Member Tab.

The Script Objects Utils “createNewScope” adds the new member after clicking the Create button.

Script Object Utils for adding new scope

The below image is of the Edit existing Scope (member) tab in the Scope maintenance interface popup.

Edit Existing Scope tab in popup

The below code is linked through a Script Object Utils to the Update button of the Edit Existing Member tab.

The Script Objects Utils “updateExistingScope” applies all the edits to the member after clicking the Update button

Edit Existing Scope Script Object Utils code

Delete Existing Scope Tab in Popup

The below code is linked through a Script Object Utils to the Delete button of the Delete Existing Member Tab.

The Script Objects Utils “deleteExistingScope” deletes an existing member after clicking the Delete button.

Delete Existing Scope Script Object Utils code

Recent Posts

Get in Touch

Learn more and ask us About Our Cloud Consolidation Solution

Share This Post

Share this Blog!

Share this with your network.

Want to Know More?

Get In Touch

Feel free to contact us, and we will be more than happy to answer all of your questions.