* Loop LOOP AT itab. MOVE itab TO wa_itab. AT LAST. * here wa_itab is the last record (itab is *****) ENDAT. ENDLOOP.