Application Development and Automation 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: 
Read only

BAPI_CATIMESHEETMGR_CHANGE problem

Former Member
0 Likes
732

Hi All,

I am facing a problem while calling BAPI_CATIMESHEETMGR_CHANGE.

My requirement is given below;

1. User records Clock In time during the starting of his/her shift.

2. User records Clock Out time when his/her shift is finished.

For second point, I am using BAPI 'BAPI_CATIMESHEETMGR_CHANGE' to change the timesheet of that particular day.

It successfully changes the record by entering Clock Out time for a particular day, but it changes the status as well for that day.

It changes the status from 'Released for Approval' to 'Approved'.

Ideally it should not do that.

Please help.

Regards,

Aviral

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
0 Likes
610

Did you use parameter RELEASE_DATA when calling the BAPI ?

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
611

Did you use parameter RELEASE_DATA when calling the BAPI ?

Read only

0 Likes
610

Yes

Read only

0 Likes
610

If you set this parameter to 'X' or use a profile which trigger "release on saving", the behavior is correct. So set it to space AND use a profile that don't trigger release.