cancel
Showing results for 
Search instead for 
Did you mean: 

Reg.commit work with HR_MAINTAIN_MASTERDATA

Former Member
0 Kudos

hi all,

i have 2 custom function modules.

the changes in the first Fm should be updated only whn the second Fm is succesful, otherwise it should rollback the work.

here in the first Fm i am modifying an infotype and using HR_MAINTAIN_MASTERDATA to insert the data in other infotype.

Now can anyone pls tell me how can i run the 1st FM in the nocommit mode. i mean should i need to take a parameter or anything else.

Also pls let me know will HR_MAINTAIN_MASTERDATA does an implicit commit.

Thanks,

Durga

Accepted Solutions (1)

Accepted Solutions (1)

suresh_datti
Active Contributor
0 Kudos

By default the LUW_MODE parameter is set to '1' & forces an implicit COMMIT. You can set it to space in the function call and check it out.

~Suresh

Former Member
0 Kudos

in ECC6.0, the commit and rollback doesn't seem to work.

I have the same situation.

Update IT0000 and then IT0001. If both 0 and 1 are successfully, commit else rollback.

THis is a simple request. But this FM doesn't work !

I tried LUW mode 0, space, 1, and so on.

Rollback work. - doesn't rollback

pernr 1 and pernr 2

1. pernr 1 0000 - ok

2. pernr 1 0001 - not ok

3. rollback work.

4. pernr 2 0000 - ok

5. pernr 2 0001 - ok

6. commit. guess what, both pernr 1 and pernr 2 are loaded in it0000.

is it just me or is this FM bad?

Answers (0)