Skip to Content
Former Member
Oct 27, 2009 at 02:18 PM

Manager not able to approve leave of the employee on the MSS


Hi There,

When the manager execute the work item on the portal, a run time error occurs on SAP and as discribed on ST22, is caused by function module HR_HK_DIFF_BT_2_DATES which returns a CX_SY_ARITHMETIC_OVERFLOW exception. I Think that this function is supposed to return the difference between the start date of the leave and the end date of the leave. but on the trace, it looks like it is not receiving the end date of the leave. I cannot manage to simmulate the problem in development.

Some managers are able to approve and some can't however they have the same roles and their recored are same on HR.

Can you help me to track the real cause of this problem?

Best regards,