Skip to Content
0

BAPI_CATIMESHEETMGR_INSERT does not perform contingent check

Jul 09, 2017 at 05:31 AM

42

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers