ztt_db_table2 is the Database table name
Parameter | OPEN-SQL MODIFY | INTERNAL TABLE – MODIFY |
structure | MODIFY ztt_db_table2 FROM ls_structure | a) MODIFY lt_internal_table FROM ls_structure TRANSPORTING contact_address WHERE contact_id = 102 b) MODIFY lt_internal_table FROM ls_structure INDEX 2 TRANSPORTING contact_name contact_address |
Internal table | MODIFY ztt_db_table2 FROM TABLE lt_internal_table | ——- |
Note: if the database table name and internal table name are same, then it will consider it as internal table. It will access the records of the internal table instead of the database table name