report ztz0202. tables ztxlfa1. select * from ztxlfa1 where lifnr like 'W%'. write / ztxlfa1-lifnr. endselect.

if sy-subrc <> 0. write / 'no records found'. endif.

Sign up to vote on this title
UsefulNot useful