Condition Evaluation 
Schedule conditions are used within action determination. Start conditions are checked before actions are executed. An action is only executed if the start condition is fulfilled.
If you want to implement schedule conditions or start conditions, you can use either the workflow condition editor or the Business Add-Ins EVAL_SCHEDCOND_PPF and EVAL_STARTCOND_PPF.
The method EVALUATE_SCHEDULE_CONDITION of the BAdI EVAL_SCHEDCOND_PPF, and the method EVALUATE_START_CONDITION of the BAdI EVAL_STARTCOND_PPF both have the following interface:
Parameter End of the example. |
Meaning |
IO_CONTEXT |
Business object |
IP_PROTOCOL |
Application log |
IP_TTYPE |
Action name |
FLT_VAL |
Filter value |
II_CONTAINER |
Container |
EP_RC |
Return code (0 = condition fulfilled, <> 0 = condition not fulfilled) |
You create an implementation of the relevant BAdI using transaction SE19 (Business Add-Ins: Initial Implementation Maintenance Screen) assigning a filter value. You enter this filter value as the schedule condition or start condition in Customizing. The BAdI is then executed for every action with this condition.