I've a scenario in which based on the evaluation of conditions in a decision table, I need to execute a set of function modules in a specified sequence. Though this could be partially modeled with a Call Procedure Action with Follow up actions activated, it doesn't solve the problems stated below.
Let's consider the decision table below.
Condition 1
Condition 2
Action
A
B
Call Function F1
Call Function F2
X
Y
Call Function F1
Call Function F3
I want to allow the end users to model / add any new rules in the decision table and re-use the modular functions F1, F2 , F3. Say for example, the user should be able to create a new rule in decision table with Condition 1 = C, Condition 2 = D and Action = Call F1, F2 and F3. I would like to pre-deliver each of the call procedure actions independently and allow the end users to specify the right set of functions to call with the sequence. How to achieve this?
Creating a call procedure action and defining the follow up actions doesn't solve this as links / dependency between the procedures gets hardbound and doesn't provide the modularity to invoke each of the call procedure actions independently. How to solve this? Is there any other elegant way to handle this scenario?
Also would like to model the actions in such a way that only if the preceding function call was successful then the subsequent function calls should get executed. I couldn't model the above mentioned decision table in BRF+!
Any pointers on this would be highly appreciated.