Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

* Commit work on table using UPDATE statement.*

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.

Tags:
replied

Anil,

Use the statement commit work and wait. This will solve your issue.

Regards

Farzan

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question