Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Commit Work Issue

Former Member
0 Likes
720

Hi.

I am modifing a ztable in a user exit, but this ztable gets updated in production server only 70-80 percent.

But i haven't written any commit work after modify statement.

Not writing COMMIT WORK after modify, is the reason why ztable doesn't update in some occassions.

1 ACCEPTED SOLUTION
Read only

madhu_vadlamani
Active Contributor
0 Likes
687

HI,

Why commit statement to update ztable.

Regards,

Madhu.

5 REPLIES 5
Read only

Former Member
0 Likes
687

Hi,

COMMIT WORK is not necessary for Modifying ZTables. check any conditions are involved for modifying Ztable.

Read only

madhu_vadlamani
Active Contributor
0 Likes
688

HI,

Why commit statement to update ztable.

Regards,

Madhu.

Read only

0 Likes
687

I have had scenario where I had to update My Z table . This updation was to be followed by a refresh and re-display of this table.

Initially , I had not written any commit statement.

And after some time, It started showing errors. The data never got re displayed properly as the data was not getting updated. We tried debugging and it was working fine then. So we could not identify the problem. Then we wrote COMMIT WORK and also called WAIT UP TO 2 secs. That solved my issue. So , since then I was under the impression that custom table changes need to be Committed too. Please share if you have some information regarding the same.

Suzie

Read only

Former Member
0 Likes
687

thanks

Read only

lijisusan_mathews
Active Contributor
0 Likes
687

IF you modify Database Records, you have to commit to write the changes . It can give error cases situations otherwise