10-15-2008 3:51 PM
10-15-2008 10:40 PM
Hello Aravindh
Of course you can update a Z-table within a BAdI but - you must not do this.
Why?
A BAdI implementation is always called within a transaction where the COMMIT happens at the end of the transaction (SAVE = commit, CANCEL = rollback). Thus, a premature COMMIT would spoil the running transaction.
Technically it would be possible to trigger the DB update using a fm call IN UPDATE TASK but it is still weird logic.
Regards
Uwe
10-16-2008 3:47 PM
thank u for u r reply .....
I have a requirement , where i have to update a Z table at the end of MIRO transaction ..... how to implement it ...
thank u
10-16-2008 8:59 PM
Do not explicity COMMIT after updating z table. Let standard COMMIT at the end of transaction do it.
Thanks,
SKJ