Skip to Content
Former Member
Sep 20, 2006 at 06:03 PM

change sy-subrc value


Hello there,

in the program that I am working on, I would like to read things from an itab and do something if such record exisits and do something else if it does not. However, after each time it gets processed, I am hoping that sy-subrc will be resetted to 0 so that I can continue to work on some further data processing without getting an error. May I know that would sy-subrc gets resetted to 0 once I am out of the Read Table statement? If not, how can I reset it?

Thanks a lot!