Dear all,
I wrote a simple program to test the data update:
DATA: line TYPE ZDATA,
flag TYPE I VALUE 1.
line-data1 = '1'.
line-data2 = 'abc'.
INSERT INTO zdata VALUES line.
WHILE flag EQ 1.
flag = 1.
ENDWHILE.
COMMIT WORK.
After the program enters the endless loop, I checked the DB table content and found the data "1" and "abc" has already been written into the table. But here the COMMIT WORK statement has not been executed yet. Can anybody clarify this issue?
Thanks + Best Regards
Jerome