BRFplus
Business Rules Framework plus (BRFplus) provides a comprehensive application programming interface (API) and user interface (UI) for defining and processing business rules. It allows you to model rules in an intuitive way and also allows you to reuse these rules in different applications.
Note
Applications use BRFplus in the following scenarios:
Validation of data and detection of invalid data and states
Matching responsibilities, suitable products and locations
Calculation of costs, overhead and risks
BRFplus as a technical configuration engine

BRFplus components include application, function, catalog, expression, action, data object. The rule interface is called a function. Rules are implemented in the application as expressions. The three modes of operation available in BRFplus to process the function are:
- Functional mode
- Event mode
- Functional and Event mode
The rule input is known as a context and the rule output is called a result. Context and result consist of elements, structures and tables. BRFplus supports features including:
- simulation
- trace
- transport
- XML export and import
Labor Activities
Using labor activities instead of external process steps and work step sequences for the normal time determination has several advantages. For example, the external process step for all picking tasks is PICK. In contrast, you can define different labor activities to distinguish between picking in different activity areas or between case picking and pallet picking.
With labor activities you can structure the planned and executed workloads without changing the external processes steps that may already exist, and you can (together with evaluation types and labor activity groups) monitor planning and execution. You can also use them for reporting purposes.
To use labor activities, you must define a labor activity catalog, which is a list containing all the labor activities you can use in your warehouses. To use labor activities from the catalog, you must activate the labor activities at warehouse level. Evaluation types are used to classify the working time of labor activities. Evaluation types are mandatory and they must be defined before you define labor activities. Labor activity groups are optional and are used for reporting purposes.

Labor activities can be determined in two ways:
Directly:
This is used if there is a 1:1 relationship between a labor activity and an external process step. This is always used for indirect labor, for example, changing a battery.
Using a decision service in BRFplus:
If there is no 1:1 relationship between a labor activity and an external process step, for example, in the case of picking or staging, a decision service in BRFplus determines the labor activity at runtime. It does this by considering context-dependent information such as external process step, activity area, material group, location, or reference document data (such as a warehouse order).
Decision Services
The BRFplus decision services define the interfaces between EWM and BRFplus and enable data exchange between EWM and BRFplus at runtime using:
Context (parameter) to pass data from EWM to BRFplus.
Result (parameter) to return the result of a decision from BRFplus to EWM.
EWM provides several decision services (functions) in the BRFplus system application Labor Activity Service (/SCWM/LM_LA_SYS). You can replace the predefined decision services for the labor activity determination with your own decision services, without implementing a Business Add-In (BAdI). You need to assign your own decision service to the decision service context in Customizing for Extended Warehouse Management, under Labor Management → Assign BRFplus App. and Function to Decision Service Context.
Additionally, there are several BAdIs available for creating enhancements for each context, for example, if you want the labor activity determination in BRFplus to consider additional information.
Rulesets, Rules, and Decision Tables
In most cases, you need to define your own business rulesets, business rules, and expressions for each decision service provided by EWM. You also need to register your own business rulesets to the decision services provided by EWM in the BRFplus workbench at design time. A business ruleset contains a set of business rules. A business rule is defined again by a set of expressions, such as decision table, decision tree, case expression, and Boolean expression. You can use the Customizing application Labor Activity Service Contents (/SCWM/LM_LA_CUST) provided by EWM as an example for your own business rule definitions. You can use the example application /SCWM/LM_LA_CUST if it is suitable for your warehouse processes. To do so, you must first add and activate its contents to the corresponding decision tables in the BRFplus workbench.
Note

