Thou shalt not use CHECKs directly in user-exits
2014-11-10
![images/thumbnail.jpg - Thumbnail](/en/2014/11/nao-usaras-checks-directamente-em-user-exits/images/thumbnail_hu47e5a2801c8263e7f84ba639bff6d446_11549_300x0_resize_q75_box.jpg)
User-exits (and enhancements) are usually crowded with CHECKs. The tragic consequence is that, if the check fails, nothing else after it will run. Not even the standard code. Always try to correct these. Encapsulating the code inside a routine (ideally a method) is enough to render it harmless.