MODIFY or UPDATE + with/without Commit Work
I am modifyng a ztable using Modify Ztable within a subroutine.(not using any workarea or internal table).
Sometimes it doesn't modify the ztable.I think it is because I am not using the Commit work
after the modify statement.
ADD 1 TO zmff-fileno. g_fno = zmff-fileno. "zmff is the ztable MODIFY zmff.
Now,my question is
1.can we avoid this kind of issue without using COMMIT WORK and WAIT ?
2.Instead of Modify if I use UPDATE can I avoid such kind of issues ?
3.As I am using this within a subroutine using COMMIT is a MUST ? (read in one of the threads in SDN)