I have a requirement for HCM which requires abap development. under infotype 2001, there are three options(subtypes) for maternity leave,
where employees over 3 years get 100% pay , from 1 to 3 years get 50 percent and less than one year get nothing. the requirement is in pa30 if the user wants to create leave and for ex selects an employee who has been employed for less than a year and selects the subtype for 100 percent (which is supposed to be for 3+ years) then an error message is displayed and user is returned back to the initial screen. is this possible through enhancements?