Skip to Content
0
Former Member
Jan 15, 2008 at 12:55 PM

COMMIT at HR_INFOTYPE_OPERATION

1617 Views

Hi everyone,

I'm facing a little problem: I must update a group of abscences at infotype 2001 for an employee. So, what I want to do is a "none or everything" operation, I mean, if a update in one of the abscences was wrong, roolback the modifications for that employee.

I've tried to use the HR_INFOTYPE_OPERATION within a LOOP, with the NOCOMMIT parameter set = 'X', and use a COMMIT WORK or a ROOLBACK outside, in my program. But I found out that it is not working like I've imagined.

Someone have an idea? I don't want to use UPDATE command directly, because for infotypes it's not recommended.

Thanks in advance!

Raphael