Skip to Content
0
Former Member
Oct 08, 2013 at 07:43 AM

strange behaviors for same table updated in 2 sessions in debug mode

19 Views

I got the strange issue. Now i have 2 similar programs .They are all to insert data records to a same Z table.

I execute as below steps , and got the strange issue.

1. I run the program 1 to insert record 1 to the Z table, and it stop at the breakpoint which is set at the next line codes of insert command in debug mode. At this time, i check the table in SE11 ,i didn't see the records in the Z table, because i didn't use commit work.

2. Then i run the program 2 to insert record 2 to the Z table, and it also stoped at the breakpoint which is set at the next line codes of insert command in debug mode. At this time, i check the table in SE11 ,to my surprise, i found that the record 2 have been inserted into the table.

It's strange, i have not run the program completely or use the commit work to update the table. why it has been updated in database.

But ,when i run program 2 separately, when it stoped at the breakpoint, i checked the Z table, and didn't find the new added record.

Why? Is there anyone could help that?

Thanks.