Skip to Content
avatar image
Former Member

BAPI_CATIMESHEETMGR_INSERT does not perform contingent check

When I try to add a new absence for an employee via transation CAT2 I get the following error: HRTIM00REC014 (Contingent for vacation/absence exhausted). The message is correct.

When I try to add the same absence via BAPI_CATIMESHEETMGR_INSERT, CAT entry is booked without any error message. When I check with CAT2 transaction afterwards w/o modifying anything I hit save again and get the message HRTIM00REC014. So currently BAPI_CATIMESHEETMGR_INSERT allows booking of inconsistent data.

How to enable contingent check for the BAPI as well?

I am developing in ABAP for already 15 years. I have never seen something like that. Is that a new concept that BAPI behaves different than the corresponding standard transaction?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers