on 10-14-2014 7:40 PM
Hi experts,
I have been reading regarding the Variables, and I have understood that they behave like Context, but the only thing that they cant do is to be use as Preconditions for the rules within a Ruleset.
What else should be considered to define a parameters at context level or at variable level?
Many thanks,
Mario
Have you considered using XML schema within the rules?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is described in SAP Library:
Variables
If you need to exchange additional data between the function assigned to a ruleset and the rules inside of the ruleset, you can extend the ruleset's signature by adding variables to it. You can use any of the data objects available in the application as variables. Inside of the ruleset, the variables are treated very much like context elements and can therefore be accessed by most of the context-related actions like Assign Value to Context or Initialize Context. The near relationship between context data and variables is also illustrated by the fact that for a ruleset, the Context Overview function displays not only the context data objects of the assigned functions but also the ruleset variables.
Note
Although variables can be used similarly to context data objects, it is not possible to define a ruleset precondition based on variables. For a ruleset precondition, it is mandatory to refer to context data objects. In contrast to this, it is perfectly allowed to define a ruleset exit condition based on variables.
There are many reasons to introduce variables:
Best Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.