How to use ‘LOOP AT’ IN SAP ABAP

LOOP AT is used to read more than one data record in an internal table. The Data record is assigned to a local work area or field symbol. DATA lt_contact TYPE TABLE OF ztt_db_table2. DATA ls_contact TYPE ztt_db_table2. SELECT *FROM ztt_db_table2 INTO TABLE lt_contact. LOOP AT lt_contact INTO ls_contact.               WRITE:/ ls_contact-contact_id. ENDLOOP. The performance …

How to use ‘LOOP AT’ IN SAP ABAP Read More »