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: 

Not able to change the leaves using BAPI_ABSENCE_CHANGE

Former Member
0 Kudos
162

Dear Experts,

I have created a Leave for Employee for dates 25.09.2010 - 26.09.2010. Now i want to change the dates, i.e. only want to take leave for 25.09.2010.

I am doing it using BAPI_ABSENCE_CHANGE, but it is not working.

Anybody have any idea on this.

Regards,

B.S.

2 REPLIES 2

former_member195402
Active Contributor
0 Kudos
70

Hi,

please have a look at SAP note

Note 141912 - Information on BO ABSENCE

Regards,

Klaus

0 Kudos
70

Hi

And what I can use to update infotype 2001 (absence) record?

In note 141912 is BAPI_PTMGRATTABS_MNGCHANGE? but I don't know how use it.

When I try use hr_infotype_operation (operation = 'MOD') I give error (number 009)

You can give example code how can I update absence?

Thank you