* Commit work on table using UPDATE statement.*
This is Anil . I have problem regarding Commit work and Wait up to 2 seconds.
I am using Commit work on one Update table statement but it is not working . While doing debugging it is working
(means it is updating Table.) but while running the transaction directly it is not updating the table.
Check the statements :
Some Select stmt on <table>.
Update <table > statement.
if sy-subrc EQ 0.
Commit work . ( This is not working while running transaction mean it is not updating table. While debuggint it it updating table.)
wait up to 2 seconds.
Will that above Commit work causing any problem or what is the reason it is not updating table.
Please give some suggestion in this case.
Use the statement commit work and wait. This will solve your issue.