‎2006 Aug 17 2:58 AM
Hello,
I am using FM- HR_INFOTYPE_OPERATION to update the infotype but i dont want to commit the changes till i do the explicit commit to handle logical unit of work. Though i am passing the NOCOMMIT = 'X', still it commiting on its own. Could anyone help on this same.
Thanks & Regards,
Raja
‎2006 Aug 17 3:18 AM
Hi,
The parameter you are passing is correct. And if NO_COMMIT is X, then FM wont do Commit.
It seems after the FM is called, you are using some DDL statement, which is doing auto commit. Check whether any DDL statement is used immediately after FM HR_INFOTYPE_OPERATION.
Best regards,
Prashant
‎2006 Aug 17 3:18 AM
Hi,
The parameter you are passing is correct. And if NO_COMMIT is X, then FM wont do Commit.
It seems after the FM is called, you are using some DDL statement, which is doing auto commit. Check whether any DDL statement is used immediately after FM HR_INFOTYPE_OPERATION.
Best regards,
Prashant
‎2006 Aug 17 4:42 AM
Prashant,
I am not using any DDL statements FM HR_INFOTYPE_OPERATION and I am using BAPI_TRANSACTION_ROLLBACK to Roll back the work which is not happening.
Raja T
‎2006 Aug 17 5:35 AM
Even I face the same problem with HR_INFOTYPE_OPERATION .
So, I went for FM HR_MAINTAIN_MASTERDATA, the interface is a little different...but, it works...
‎2006 Aug 18 6:26 PM
Surya kiran,
I used HR_MAINTAIN_MASTERDATA to save without Commit, still SAP is committing. Could you add your comments?
Thanks & Regards,
Raja T
‎2006 Aug 17 7:00 AM
Hi raja,
1. HR_INFOTYPE_OPERATION
won't work on the logical unit of work concept.
2. So its better to use this FM,
AT THE LAST.
3. When u are sure everything has gone allright,
and u want to finally do explicit COMMIT WORK,
just before that,
use this FM,
(without nocommit)
regards,
amit m.