It is problem with payslip design i feel, Go to PE51 - Single fields - go to deduction window and check BETRG field value for deductions total according to requirement and screen shot *** ID IN02 should be assigned over there then accordingly it works.
Regards
Venkatesh