Programme SAP HVECBON0 - Dynamic action routine for vacation premium payment

Description
External routine of the dynamic measure used to generate the leavebonus payment.
When you create an absences entry in the Absences infotype (IT2001),whose subtype is 0200 for Annual Leave, this program allows you tocheck whether in the Quotas infotype (IT2006) there is a correspondingentry for the 04 quota of the Leave Bonus.
Therefore, if there is a quota and it has not been paid, you create anentry in the Quota Compensation infotype (IT0416), to enable the leavebonus to be compensated.

Output
Entry of the Quota Compensation infotype (IT0416).