on 10-28-2009 12:01 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
User | Count |
---|---|
99 | |
9 | |
9 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.