You cannot add a RUNTIMESUBVARS section to the script of an Essbase business rule in Calculation Manager. Rule level runtime prompt variables that are created in Calculation Manager are converted into RUNTIMESUBVARS only when you deploy Essbase applications.
If you launch a business rule with runtime prompts in Administration Services, MaxL, or any component that can launch a calc script, the runtime prompts in that business rule must have default values.
You can enter or edit values for runtime prompt variables when you are validating, debugging, deploying, analyzing, and launching Planning business rules. You can also enter or edit runtime prompt variables when you are validating and deploying business rulesets.
To enter values for runtime prompt variables:
- When you validate, debug, deploy, analyze, or launch a business rule, or validate or deploy a business ruleset, if there are no errors, the Enter RTP Values dialog box is displayed.
When you validate, debug, deploy, or analyze a business rule, or validate or deploy a business ruleset, the Enter RTP Values dialog is displayed only if there are missing values for one or more of the runtime prompt variables the business rule (or business ruleset) is using. If all runtime prompt variables have values, then Enter RTP Values dialog is not displayed.
When you launch a business rule, the Enter RTP Values dialog is displayed each time, regardless of whether the runtime prompt variables have values. If there are values, those values are displayed by default in the Enter RTP Values dialog.
- For each of the runtime prompts listed, enter a value or select one .
- Optional: if you are working with a business rule, select the Apply values to the rule check box so the values you provide are dynamically updated in the variable's value and visible in the Value column of the Variables tab within the Rule Designer.
This check box is not available if you are validating a business rule from the System View.
- Click OK.
- If there are validation errors, fix them, and repeat the task for which you want to enter runtime prompt variable values.