SELECT * FROM lfa1 INTO TABLE lt_tab WHERE mcod1 LIKE '______%'. "( 6 underscores '_' followed by % ).