Skip to Content
1
Former Member
Sep 23, 2008 at 05:41 AM

* Commit work on table using UPDATE statement.*

1440 Views

HI,

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 :

Commit work.

Some Select stmt on <table>.

IF <condition.>

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.

endif.

endif.

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.

Regards,

Anilreddy.