!--a11y-->
Dismissal Protection 
This command allows the system to check whether an employee is protected against dismissal at the employment contract termination moment. This command can be totally customized.
To check whether an employee has dismissal protection (or employment stability), first it is necessary to define how many protection reasons will be considered in the verification process via the creation of a list containing the reasons and with a description for each type of protection (the standard system offers the Dismissal Protection infotype – IT0598).
The system will then check all features attributed to the protection reasons (such as effective date) to determine, at the moment of termination, whether or not the employee is protected. If the employee is protected, the system issues an error message when the payroll is run.
Since this command can be totally customized, it is necessary to configure all IMG steps (Payroll ® Dismissal Protection) in order to use the Dismissal Protection according to your company’s practice.
Customization:
· Protection types are customized through the V_T799L0 view, in IMG step Payroll ® Dismissal Protection ® Derive master data. The master data, such as protection commencement and end, are derived through a function module (in the standard, HR99L00_DISMPROT_DATA_EXT in the HR99L00_DISMPROT function grouping).

To create your own function module, use the HR99L00_DISMPROT_DATA_EXT function module as an example. Indicate the beginning and the end dates for the protection types.
In this same step, you define the organizational grouping indicating a payroll feature (standard offers LADPG). To create your own feature, use IMG step Payroll ® Dismissal Protection ® Group Organizations.
In this step, you also define the type of message that will be issued if the employee is protected: error, message or info.
· Events: you define the measure types and the relationship between a dismissal measure and a group of measures to allow, or not, depending on the event, several types of dismissal protection verifications. For example, in each case of dismissal with just cause, none of the dismissal protection verifications will be considered valid. The events are customized in IMG steps: Payroll ® Dismissal Protection ® Update measure grouping codes and Determine measure grouping.
· Dismissal Protection Norms: you indicate the dismissal protection norms that are applied in your company in IMG step: Payroll ® Dismissal Protection ® Update dismissal protection norms, and define the norm features based on the protection reasons in the organizational grouping and in the measure grouping in IMG step: Payroll ® Dismissal Protection ® Define dismissal protection norm features
· Dismissal protection evaluation rules: you define the rules that will validate the dismissal protection norms. The rules contain the conditions to be considered, such as the dismissal measure date and/or the organization the employee belongs to. The rules are customized in IMG step: Payroll ® Dismissal Protection ® Define rules to evaluate the dismissal protection.
· Rule grouping you define the relationship between a norm and its rules in IMG step: Payroll ® Dismissal Protection ® Group rules to evaluate the dismissal protection. The norm will only be validated if all rules are considered true.
