When calling a function module which returns exceptions you normally give them sequential numbers like this:
CALL FUNCTION 'GO_BUT_PLEASE_COME_BACK' EXPORTING ali = 'To the moon' EXCEPTIONS NOT_FOUND = 1 GOT_LOST = 2 OTHERS = 3.
But Code Inspector may be configured to report a warning if afterwards you are not careful to add an IF or a CASE to look at SY-SUBRC,
Ler o resto do artigo! »