Add Steps to Your Data Actions
In SAP Analytics Cloud you can add steps to your data actions that can be carried out on a planning model.
In this section, you will learn how to create the following data action steps:
Adding a Copy Step
In SAP Analytics Cloud, copy steps allow you to copy data from one set of members to another, specifying options for filters and aggregation.
Context
For example, copy steps can be used in the following cases:
-
Quickly filling out future data for the model by copying data from the current time period to several future periods.
-
Copying data for a product in one region to another product in multiple regions.
Create a data action before adding a copy step to it.
When choosing members or measures for the copy step settings, you can use a parameter. Parameters let you create prompts, or update several values in your data action from one place. Hover over or select Parameter in the member selector to see which ones are available. To learn how to create parameters, see Add Parameters to Your Data Actions and Multi Actions.
Procedure
Results
Adding a Cross-Model Copy Step
With a cross-model copy step in SAP Analytics Cloud, you can copy data from one planning model to another. You pick the model and version that contains the source data, add filters as necessary, and define how to copy the data to the target model.
Context
For example, if you have detailed workforce data in a Headcount planning model and you want to add some of the data to a Finance model for further analysis, you can use this feature to quickly copy the data.
Copying across models is easiest when the relevant dimensions are public dimensions shared by each model, but it's not required. You can ignore source dimensions that aren't relevant to the target model, and set default values for target dimensions that can't be mapped to an appropriate source.
If any problems occur while you're creating a cross-model copy step, they are identified by the icon. Hover over this icon to see how to fix the problem.
Before getting started on a cross-model copy step, you need to create a data action. For more information, see Create a Data Action.
Cross-model copy steps can’t copy data between different types of models. If you need to copy data between a classic account model and a model with measures, use the LINK function in an advanced formulas step instead. For details, see About Script Formulas and Calculations in Advanced Formulas for Planning.
When choosing members for the cross-model copy step settings, you can use a parameter instead of dimension members. Parameters let you create prompts, or update several values from one place. Select Parameter in the member selector to see which ones are available. To learn how to create parameters, see Add Parameters to Your Data Actions and Multi Actions.
Procedure
Results
Adding an Allocation Step
In SAP Analytics Cloud, you can add an allocation step to run structured allocations as part of your data action.
Prerequisites
Set up the base allocation step that you want to use before adding it to a data action. To learn how, see Set Up Your First Allocation Process. You can only add steps that are based on the default model of your data action.
Context
Allocation steps let you distribute values for members of a source dimension along members of a target dimension, using driver values or direct assignment. For more information, see Learn About Allocations.
Procedure
Results
Adding an Embedded Data Action Step
Use an embedded data action step in SAP Analytics Cloud to run another data action as part of the one you’re working on. Combining these steps with dynamic parameters lets you reuse data actions and set different source or target members.
Prerequisites
Before carrying out these steps, set up the data action that you want to embed. Create dynamic parameters for any numbers or dimension members that you want to change when embedding the data action.
Both data actions must be based on the same default model.
Context
An embedded data action step is a reference to another data action. The data action that you embed won’t be changed as part of this process, and you can still edit it or run it on its own.
You might have a step that you need to run in several different data actions, or that you want to run several times in a single data action. For example, you might create a data action that calculates subscription revenue based on booking data, with a dynamic parameter for the product type.
Using embedded data action steps, you can reuse that data action multiple times in another data action. And you can specify a different product type each time.
With this setup, you don’t need to copy and edit the revenue calculation step multiple times, and you can still run all the calculations with a single data action.
You can arrange embedded data action steps in several ways:
-
Embedding a data action within multiple different data actions
-
Embedding a data action multiple times within one data action
-
Nesting multiple levels of embedded data actions
However, you can’t create a loop where a data action ends up embedded within itself.
You can also nest multiple data actions as steps in a multi action. In particular, this is helpful if you need to run data actions on different versions or models, and if you need to publish data in between different data actions. For more information, refer to Automate a Planning Workflow Using Multi Actions.
Procedure
Results
Copy Steps with Calculations and Exception Aggregation
For copy steps and cross-model copy steps in SAP Analytics Cloud, source members for copy rules can be accounts and measures that are calculated or that use exception aggregation. Take note of these considerations, though.
-
You can’t add one of these accounts as a source member for a copy rule if any of its ascendants or descendants in the hierarchy are also source members.
-
You can’t select source members from different hierarchies of the same dimension.
-
For cross-model copy steps, if the dimension has parent-child hierarchies, you must choose source members from the same hierarchy used to filter that dimension in the data action. If you haven’t filtered the dimension, you must use the default hierarchy.
-
The data action may take longer to execute.
If one of these problems occurs, a message will identify the cause of the problem.