$ 0 0 Hi, try to use construction SELECT .... FROM...WHERE...ENDSELECT. IF SY-SUBRC eq 0. ELSE. ENDIF.