‎2007 Jul 11 2:43 PM
Hi experts,
A strange problem. I use a FM for DB updating of table EANL an EANLH, after the FM, data is updated to the table, but when the commit work is executed, the changes to table EANL is gone. Does any1 have any idea about this weird problem?
Points will be rewarded.
Thx in advance.
Vincent.
‎2007 Jul 11 3:00 PM
Hi Vincent,
Use COMMIT WORK only if you're using the new updated values in the program immediately. Otherwise, the statement is not needed as the data will be automaticallly commited.
If you're using BAPI to update use FM BAPI_TRANSACTION_COMMIT to commit the work.
Reward helpful answers.
Regards,
Siddhesh Sanghvi.
‎2007 Jul 11 2:51 PM
‎2007 Jul 11 3:05 PM
‎2007 Jul 11 3:11 PM
‎2007 Jul 11 3:12 PM
hi
there is no need of using the commit statement in your program.
‎2007 Jul 11 3:00 PM
Hi Vincent,
Use COMMIT WORK only if you're using the new updated values in the program immediately. Otherwise, the statement is not needed as the data will be automaticallly commited.
If you're using BAPI to update use FM BAPI_TRANSACTION_COMMIT to commit the work.
Reward helpful answers.
Regards,
Siddhesh Sanghvi.