Find yourself making the same types of changes to your model data each planning cycle? In SAP Analytics Cloud, you can set up structured planning activities using data actions, enabling you to define repeatable steps centrally for you and other users to run or schedule. When you create a new data action, make sure that you provide a name and optional description that will help your colleagues identify the process they’re looking for.
You’ll also need to define a default model, which will be used as the source, the target, or both for the associated steps. You can save the data action publicly to make it available to other users. Data actions support a range of step types, including Copy Steps, Cross-Model Copy Steps, Allocation Steps, Embedded Data Action Steps, Currency Conversion Steps, and Advanced Formulas Steps.
One or more steps can be added in whichever order is appropriate for your planning activities and are then executed in sequence when the data action is run, with the next data action step calculated based on the results of the previous step. You can reorder steps if required. If your data action contains multiple steps, keep in mind that that a data action runs as a single transaction.
This means that if any individual step fails when the action is run, any previous steps will be rolled back. If you want to revert the changes, you will revert all steps. To avoid these limitations, you can also set up data actions to run in sequence using multi actions, which are covered in the How to Plan Using Multi Actions video.
To make your data actions easy to reuse, you can create parameters that enable other users to change the values of key elements. A default parameter for Target Version is automatically added to each data action. This parameter enables users to specify which version should be the target when data is copied, allocated, or converted as part of a data action step.
You can create your own parameters for any other variables that you might want to be able to change when your data action is reused, such as numeric values like interest rates or specific measures or dimension members. For example, you can create parameters that support selection of a specific month from the time hierarchy, and then use them to enable other users to specify the start and end dates for data operations. Once your parameters are defined, you can add steps to your data action.
The most common step is a simple Copy Step, which copies data within a model from one period, version, or dimension member to another. As with the overall data action, the name and optional description you define will signal to other users what the step will do. The data source for the Copy Step is already defined based on the overall data source for the data action.
This model will be both the source and the target of the copy action. You also need to apply filters to ensure that correct the data will be copied. By default, the Target Version parameter is selected for this, meaning that users will be prompted to choose a version when the data action is run.
Since, in this case, you want to copy from Actuals every time, you can choose the appropriate version instead of the parameter. You can also add other filters that will limit the data to be copied, such as choosing specific measures or accounts. By default, copied data will match the distribution of the source data.
If you want to change that behavior, you can aggregate the data to a specific member of a dimension, such as the unassigned member, for future distribution. Finally, you can define a copy rule, which dictates the periods the values are copied from and to. To enable users to change the periods when the data action is run, you can use the parameters previously created.
You can also choose whether to append or overwrite values when the data action is run. Once you’ve saved your changes, the data action is complete. However, you have the option to add other steps, if desired.
The settings for each step differ depending on the type. Cross Model Copy Steps are used to copy data from one planning model to another. Here, the default model becomes the target.
You must specify a different model as the source, and then ensure that the appropriate dimensions and measures are correctly mapped to copy values from one model to another. Allocation Steps enable you to allocate values across dimension members based on driving dimensions or by direct assignment. In the step definition, you can use an existing allocation process, or you can specify a target version and then define the source, driver, and target for as many allocation rules as are required.
Embedded Data Action Steps are existing data actions that are repurposed in the current flow. Here, you just need to select the data action to be embedded. Keep in mind that the embedded data action must be based on the same target model.
You can use multi-actions to execute data actions that use different models in sequence. Currency Conversion Steps allow you to copy values across measures that are stored in different currencies. You can choose any relevant filters and then define the conversion rules by specifying which accounts values will be copied from and to.
Advanced Formulas Steps enable you to build formulas using scripting or a visual tool for actions more complex that those covered in the other step types. Advanced formulas are covered in the How to Plan Using Advanced Formulas Steps in Data Actions video. For more information on how to use data actions for your planning activities in SAP Analytics Cloud, check out the help topic links in the description and the other videos about data actions, and try it for yourself today!