ABAP

How to use Table Expressions to modify internal table

              It is much similar to the READ TABLE technique. The table expressions can be used from ABAP 7.40 SP02 version. Particular data record is assigned to the field symbol. The pointers refers to the respective line of record in the internal table. DATA lt_internal_table TYPE TABLE OF ztt_db_table2. FIELD-SYMBOLS <ls_record> TYPE ztt_db_table2. SELECT *FROM …

How to use Table Expressions to modify internal table Read More »

How to Delete records from the internal table in SAP ABAP

The Data records present in the internal table can be deleted in following ways. Key or work area (structure) WHERE conditions. Index From Index TO Index Clean, Refresh, free DATA lt_internal_table TYPE TABLE OF ztt_db_table2. DATA ls_structure TYPE ztt_db_table2. SELECT *FROM ztt_db_Table2 INTO TABLE lt_internal_table.               ls_structure – contact_id = 102.               ls_structure – contact_name …

How to Delete records from the internal table in SAP ABAP Read More »