When building a scenario user can define Master Data variables (key/value pairs) at the scenario level. Variable keys are used on underlying flows and their value is extracted/resolved at runtime.
Example
Scenario “Quotation to Order“ contains several flows. Three of them have “Sales Organization” and “Distribution Channel” fields, meaning if there is a change these values have to be maintained for each of the flows.
In order to centralize the maintenance Master Data variables can be defined and maintained at the scenario level.
Procedure
Step 1: Define Master Data variables at the scenario level
To define and maintain Master Data variables please follow the steps below:
Select your scenario and go to the Variables tab;
Click Add button and define variable Key and variable Value for each of the variables;
Click Save after adding a variable.
You can also do the bulk-edit Master Data key/values by clicking Bulk Edit button.
In our example we will define:
SalesOrg=1000
DistrChannel=10
Step 2: Maintain the variables in the Data sets
Now we need to make sure that Master Data variables will be used when running a scenario. The configuration of the variables has to be done on a flow level for each flow where it will be used.
Go to the Flow;
Open the Data Set tab and select the target Data Set (it’s suggested to Duplicate existing Data set and create a Scenario specific one);
Double click on the cell of the parameter, where you want to reuse the value from the Master Data variable and type the following formula:
${Variable_Key}
Where:
Variable_Key - is a key of the Master Data variable at a scenario level
Examples:
${SalesOrg}
${DistrChannel}
Comments
0 comments
Please sign in to leave a comment.