Planning on Public Versions

In SAP Analytics Cloud, you can edit public versions directly if you have the required permissions. Editing a public version creates a temporary private version that only you can see until the changes are published.

Context

When you make edits to a public version, the version is put into Edit Mode. This creates a private version of the public version that only you can see until the changes are published.

You can leave edits unpublished to resume later, however, it is best to publish changes often when editing public versions. If other users are editing the same version, your changes could overwrite theirs when you publish because the most recent update will overwrite previous states.

If you make changes to a version that conflict with another user's changes published to the same version while you were editing, you can choose whether to publish only your non-conflicting changes and discard your conflicting changes, or publish all your changes while overwriting the other user's changes.

You can also use version management APIs to publish, delete, or revert data from planning versions even if the table is not planning-enabled. For more information, see Use Version Management APIs on SAP Analytics Cloud Data Models.

Using the Recommended Planning Area

When you put a public version into Edit Mode, you define the planning area for that version. The planning area corresponds to a version's data that is used for all planning actions, such as entering values or running data actions. If the model has a recommended planning area defined, the recommended planning area will be put into Edit Mode to optimize performance when working with large versions. The scope of the recommended planning area is configured in the model settings, and defines a slice of data that you can plan on based on data access control, data locking, or both. For more details about the planning area, see Optimize Planning Models Using the Planning Area.

If your model has a recommended planning area applied, you can still choose to put all version data into Edit Mode by manually selecting Start Edit Mode on a public version in a table or the Version Management panel. However, write permissions still apply and you will only be able to publish changes within your write permissions.

You can also choose Customize Planning Area when putting the public version into edit mode. This option will let you choose which data will be put into edit mode. However, you will only be able to publish changes within your write permissions.

If a model has a recommended planning area defined, the Builder panel for any table that is built on the model includes a checkbox of Auto-generate based on the table context. When this checkbox is enabled, the scope of the recommended planning area when you put a public version into Edit Mode takes into account data access control, data locking, or both, as well as the current table context that covers story, page, and table filters.

Procedure

  1. Make your edits to a public version in a table.

    If a recommended planning area has been defined on the model, this data will be put into Edit Mode once the first changes are made. If the checkbox Auto-generate based on the table context is enabled, the recommended planning area will also take into account the table context.

    Option Action

    Manually decide which data to put into edit mode

    Choose one of the following optionss:

    • Choose your public version in the Version Management panel and select Start of the navigation path (More) Next navigation step  Start Edit ModeEnd of the navigation path.

    • Right-click a data cell of the version or the version name in the table and select Start of the navigation pathVersion Next navigation step Start Edit ModeEnd of the navigation path.

    Define the recommended planning area

    Choose one of the following options:

    • Recommended Planning Area: Only a recommended subset of data will be put into edit mode, which can help optimize performance on large versions.

    • Customize Planning Area: Choose the data that will be put into edit mode.

    • All Version Data: All data in the version will be put into edit mode.

  2. After you have finished your edits, do one of the following actions:
    Option Action

    Publish all the public versions that you are editing.

    Choose one of the following options:

    • Select Publish Data from the toolbar.
      • In the Publish Data window, you'll have a chance to check which versions are involved.

    • Navigate to another part of the application, then select Publish and Leave.
      • You can select Show Details to check which versions are involved

    Publish one public version.

    1. Select a table with the public version you want to publish.

    2. Select Version Management from the toolbar.

    3. Select Publish for the version you want to publish.

    4. Select which version you want to publish your changes to, then select Publish.

    Revert changes for one public version.

    1. Select a table with the public version you want to publish.

    2. Select Version Management from the toolbar.

    3. Select Start of the navigation path (More) Next navigation step  End of the navigation path Revert for the version you want to revert, then select OK.

    Publish or revert changes to multiple versions.

    1. Select Start of the navigation pathPublish Data Next navigation step  AdvancedEnd of the navigation path from the toolbar. A dialog appears, prompting you to revert your changes or publish them. Choose one of the following options:
      • Next to each version, select either Revert or Publish.

      • To update all the versions at once, select either Revert All or Publish All.

    2. Select OK.

    Some data actions will publish changes to a target version automatically. In this case, all unpublished changes to the public version will be published.

Requirements for Publishing Public Versions

In SAP Analytics Cloud, public versions are often controlled by data privileges and other security measures, such as data locks or validation rules. These features control who can update public versions and what data can be edited.

When working with public versions, permissions applied to a user’s role indicate whether they can read, update, maintain, or delete data from a model.

While all users with read access for a public version can create a private version to plan on, other security settings may be enforced when you publish the version. Security settings will also be enforced when publishing changes to a public version.

If some of your changes are restricted by existing security feature settings, those changes will be lost when you publish to the public version. You will receive a warning message asking whether you want to publish the remaining data or cancel the publish.

Examples of security features include the following:

  • Model Privacy and Data Access Control

    Only users with permission to edit the version data can publish changes to a public version. Specific dimension members may also require write permission to update, in which case only the accessible dimensions will update. Model privacy and data access control will also impact publishing permissions. For more information, refer to Learn About Data Security in Your Model.

  • Data Locking

    If data locking is enabled and you made changes while ignoring data locks, data locking will still be enforced when you publish the data. For more information, refer to Configuring Data Locking

  • Validation Rules

    If edits to the version conflict with validation rules defined on the model, the invalid data will be marked with validation warnings. For more information, refer to Check Validation Rule Results and Warnings for Planning

Reminders Before Leaving the Story or Closing a Browser Tab

Before Leaving the Story

The system can remind you of publishing data changes before leaving the story. The publish data reminds users to publish unpublished data before leaving the story.

Under Start of the navigation pathStory Settings Next navigation step View Time Settings Next navigation step Global Settings Next navigation step Planning SettingsEnd of the navigation path, enable Remind of publishing all data changes before leaving.

Ask Before Closing a Browser Tab

The system can warn you before closing a browser tab if you've not published your data.

Under Start of the navigation pathStory Settings Next navigation step View Time Settings Next navigation step Global Settings Next navigation step Planning SettingsEnd of the navigation path, enable the Ask before closing a tab if data isn't published.