Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_CATIMESHEETMGR_INSERT

Former Member
0 Kudos

Hi All,

I need to automate the recording of time, its approval and updation of the HR infotypes.

The steps to be done are -

1. CAT2 Tcode which I have tested with BAPI - BAPI_CATIMESHEETMGR_INSERT and this works.

2. CAT4 Tcode - approval by supervisor

3. Transfer of data to relevant infotypes.

I am trying to perform the step 2 by using the same BAPI - BAPI_CATIMESHEETMGR_INSERT but I am encountering some errors. I was wondering if there is another way to achieve step 2.

Also for step3, I found that if we check a parameter in CAT4 - Immediate transfer to HR, this can be done. I havent found a relevant field in the above BAPI.

Looking forward to your suggestions.. thanks for your help in advance!

Liz

1 ACCEPTED SOLUTION

franois_henrotte
Active Contributor
0 Kudos

step 2 : BAPI_CATIMESHEETMGR_CHANGE (you just have to change the status of CATSDB records to 30)

step 3 : submit report RPTEXTPT

2 REPLIES 2

franois_henrotte
Active Contributor
0 Kudos

step 2 : BAPI_CATIMESHEETMGR_CHANGE (you just have to change the status of CATSDB records to 30)

step 3 : submit report RPTEXTPT

0 Kudos

I have used BAPI- CATS_APPROVAL0 for second step and HR_INFOTYPE_OPERATION for the third. Issue resolved